DescriptionMerge 229254 "Work around broken GL_TEXTURE_BINDING_EXTERNAL_OES..."
> Work 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
>
> Review URL: https://codereview.chromium.org/26921004
TBR=sievers@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230734
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|