DescriptionWork around broken GL_TEXTURE_BINDING_EXTERNAL_OES query
glGetIntegerv(GL_TEXTURE_BINDING_EXTERNAL_OES, &texture_id) returns
GL_INVALID_ENUM on older Android NVIDIA drivers.
The reason for the query is to restore correct texture bindings,
since SurfaceTexture.updateTexImage() implies a call to glBindTexture().
Since we now only call this before drawing, we can just set the correct
active texture unit (which gets restored after draw).
BUG=305526, 283053
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229254
Patch Set 1 #Patch Set 2 : #Patch Set 3 : rebase #
Messages
Total messages: 3 (0 generated)
|