Set need need_context_state_reset when GrContext accessed
When we access RasterDecoderContextState::gr_context, the RasterDecoderImpl::context_state may become inconsistent with actual GL context state and we should set need_context_state_reset Bug: 910274 Change-Id: I834ce6e4cf9b5fe549de432b3bc6c06fa2a6ccbd Reviewed-on: https://chromium-review.googlesource.com/c/1355438 Commit-Queue: Jonathan Backer <backer@chromium.org> Reviewed-by:Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#612332}
Showing
Please register or sign in to comment