When binding an image to a texture, make sure the texture is bound.
The the passthrough command decoder did deferred image bindings, it didn't ensure that the correct GL texture was bound first. This caused canvas -> WebGL copies to fail when they are using IOSurface backed canvases. BUG=990368 TBR=true Change-Id: I5d555c7a715d0f47382053840c3db78576dc4e82 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1819520 Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by:Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Geoff Lang <geofflang@chromium.org> Cr-Commit-Position: refs/heads/master@{#701645}
Showing
Please register or sign in to comment