Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv
authorRobert Phillips <robertphillips@google.com>
Tue, 4 Apr 2017 20:50:22 +0000 (16:50 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 5 Apr 2017 11:55:35 +0000 (11:55 +0000)
commitfb0bd98a43fa11e09705837418167dd72bb4a361
tree67579cf4663c41d4b9ec36bbd61020aa3ccbe57f
parentbe5387b9308ad0b92a48a1272b618b6eaa08a771
Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv

This is in service of: https://skia-review.googlesource.com/c/11125/ (Add parallel proxyID to StencilOps & RenderTargetOpList) where I want a better choke point for texture creation to improve discard handling.

Change-Id: If57a7de47edc0853dae7bc61337d9acdc03d63b0
Reviewed-on: https://skia-review.googlesource.com/11200
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
29 files changed:
include/gpu/GrContext.h
include/gpu/GrProcessorUnitTest.h
include/gpu/GrSurface.h
src/gpu/GrContext.cpp
src/gpu/GrContextPriv.h
src/gpu/GrRenderTargetContext.cpp
src/gpu/GrResourceProvider.cpp
src/gpu/GrResourceProvider.h
src/gpu/GrSurface.cpp
src/gpu/GrSurfaceProxy.cpp
src/gpu/GrTextureContext.cpp
src/gpu/SkGr.cpp
src/gpu/effects/GrTextureStripAtlas.cpp
src/image/SkImage_Gpu.cpp
tests/BlendTest.cpp
tests/FloatingPointTextureTest.cpp
tests/GLProgramsTest.cpp
tests/GrSurfaceTest.cpp
tests/ImageFilterCacheTest.cpp
tests/ImageStorageTest.cpp
tests/IntTextureTest.cpp
tests/PackedConfigsTextureTest.cpp
tests/ProcessorTest.cpp
tests/ProxyTest.cpp
tests/ReadPixelsTest.cpp
tests/ReadWriteAlphaTest.cpp
tests/ResourceCacheTest.cpp
tests/SRGBReadWritePixelsTest.cpp
tests/VkUploadPixelsTests.cpp