aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureParamsAdjuster.h
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-07-15 06:59:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-15 06:59:48 -0700
commit428036621e1667b504051872869ac38cf6fac9c8 (patch)
tree95859bcb00a66b47508925ee461b8293e156f5cb /src/gpu/GrTextureParamsAdjuster.h
parent6e21efd842f42eedcbc4ed08f833682fbdae6d9f (diff)
Add getColorSpace to GrTextureProducer
Diffstat (limited to 'src/gpu/GrTextureParamsAdjuster.h')
-rw-r--r--src/gpu/GrTextureParamsAdjuster.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrTextureParamsAdjuster.h b/src/gpu/GrTextureParamsAdjuster.h
index 08d71c4563..7513eb4d2f 100644
--- a/src/gpu/GrTextureParamsAdjuster.h
+++ b/src/gpu/GrTextureParamsAdjuster.h
@@ -108,6 +108,8 @@ protected:
*/
virtual void didCacheCopy(const GrUniqueKey& copyKey) = 0;
+ virtual SkColorSpace* getColorSpace() = 0;
+
private:
const int fWidth;
const int fHeight;