SharedImageStub: pass needs_gl = false to MakeCurrent.
For non-GL backends, shared image backings doesn't need GL API, so call MakeCurrent with needs_gl = false. For GL backend, MakeCurrent() will ignore needs_gl, and always make the context current. Bug: None Change-Id: I95ab79f0bb332122d7243f2a7361c6ff07e85407 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2230327 Auto-Submit: Peng Huang <penghuang@chromium.org> Reviewed-by:Jonathan Backer <backer@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#775165}
Showing
Please register or sign in to comment