Reset all GrContext state on Android in ScopedGpuRaster
This fixes rendering glitches in pages with videos in them on Android WebView. I do not yet understand why the GL state is being changed without going through the gpu command buffer, but this seems to be happening with Android WebView on pages that have video elements. This is a quick fix to resolve A release-blocking regression. Further investigation will be a part of follow-up work: crbug.com/832810 BUG=826636 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Id9b620ffcf74fd674d53a2eadc6efc932e9505d8 Reviewed-on: https://chromium-review.googlesource.com/1012517Reviewed-by:danakj <danakj@chromium.org> Commit-Queue: Justin Novosad <junov@chromium.org> Cr-Commit-Position: refs/heads/master@{#551039}
Showing
Please register or sign in to comment