summaryrefslogtreecommitdiff
path: root/libs/hwui/GradientCache.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2017-02-27 11:00:04 -0800
committer Romain Guy <romainguy@google.com> 2017-03-06 19:33:25 -0800
commitefb4b06493fe7b1604c762a448b13c7af2845a8d (patch)
tree310d40716decb7686065339226534dac0bb35faa /libs/hwui/GradientCache.h
parent4f357c081260c5bb36498169eb698adf7089899c (diff)
Add ColorSpace information on Bitmap
This is the first step toward interpreting color spaces at render time. Bug: 32984164 Test: BitmapColorSpaceTest in CtsGraphicsTestCases Change-Id: I0164a18f1ed74a745874fe5229168042afe27a04
Diffstat (limited to 'libs/hwui/GradientCache.h')
-rw-r--r--libs/hwui/GradientCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/GradientCache.h b/libs/hwui/GradientCache.h
index 5e35435ed64c..f299a40e994f 100644
--- a/libs/hwui/GradientCache.h
+++ b/libs/hwui/GradientCache.h
@@ -170,7 +170,7 @@ private:
GLint mMaxTextureSize;
bool mUseFloatTexture;
bool mHasNpot;
- bool mHasSRGB;
+ bool mHasLinearBlending;
mutable Mutex mLock;
}; // class GradientCache