Rewrite GrTextureMaker to disentangle bitmap case from base class and give GPU object...
authorbsalomon <bsalomon@google.com>
Tue, 20 Oct 2015 14:58:01 +0000 (07:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 20 Oct 2015 14:58:01 +0000 (07:58 -0700)
commit045802dbb7202b52f5fd2758d725f39c156a6165
tree49cdef8c087b3c674928e2428a4761fb15f777b4
parent4beb5c117b355599e2fd26b8b3d19de99512cb69
Rewrite GrTextureMaker to disentangle bitmap case from base class and give GPU object a say in what copying needs to be done.

Committed: https://skia.googlesource.com/skia/+/fcffaf22d697f06f903c3193308f9dc54a959f79

Committed: https://skia.googlesource.com/skia/+/1a197ea31e0aac7ea312e9a6c0d9f5df626b0350

Review URL: https://codereview.chromium.org/1409163002
14 files changed:
gyp/gpu.gypi
include/gpu/GrResourceKey.h
include/gpu/SkGr.h
src/core/SkImageCacherator.cpp
src/core/SkImageCacherator.h
src/gpu/GrGpu.cpp
src/gpu/GrGpu.h
src/gpu/GrTextureMaker.h [deleted file]
src/gpu/GrTextureParamsAdjuster.cpp [new file with mode: 0644]
src/gpu/GrTextureParamsAdjuster.h [new file with mode: 0644]
src/gpu/SkGr.cpp
src/gpu/SkGrPriv.h
src/image/SkImage_Gpu.cpp
src/image/SkImage_Raster.cpp