[go: nahoru, domu]

cc: Guard GrContext access for upload tasks in the GPU image cache.

The RasterInterface should be notified when accessing the GrContext, so
it can make sure any state tracked in the implementation is reset if it
could be modified by using the GrContext. We are already doing this for
raster tasks in GpuRasterBufferProvider, also do this in upload tasks
which use the GrContext for uploading images.

R=ericrk@chromium.org

Bug: 870317
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I2b5039f2a2f64fb6986181639b81597c741103a5
Reviewed-on: https://chromium-review.googlesource.com/1175415
Commit-Queue: Khushal <khushalsagar@chromium.org>
Reviewed-by: Eric Karl <ericrk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583188}
4 files changed