• Jonathan Backer's avatar
    Reset GL state · be49447a
    Jonathan Backer authored
    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: default avatarkylechar <kylechar@chromium.org>
    Commit-Queue: Jonathan Backer <backer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#714733}
    be49447a
direct_context_provider.cc 12.6 KB