Reset GL state
GLES2DecoderImpl hooks into GLStateRestorer for virtual context switching. These hooks work even without enabling virtual contexts and are used in DirectContextProvider::SetGLRendererCopierRequiredState. GLES2DecoderPassthroughImpl does not have any state restoration hooks. This CL explicitly sets state used by GLRendererCopier, GLScaler, and GLI420Converter. Bug: 1016833 Change-Id: I7ebead5148411677765b3d4635871873b7af0018 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1912907Reviewed-by:kylechar <kylechar@chromium.org> Commit-Queue: Jonathan Backer <backer@chromium.org> Cr-Commit-Position: refs/heads/master@{#714733}
Showing
Please register or sign in to comment