Index: include/core/SkBitmap.h |
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
index b36a1fd3fddc59b211c21be88efd367af01bfb53..0752e2a669f71448d59fa0acae01ca6bc5303d24 100644 |
--- a/include/core/SkBitmap.h |
+++ b/include/core/SkBitmap.h |
@@ -198,6 +198,14 @@ public: |
*/ |
void setIsVolatile(bool); |
+ /** Returns true if the bitmap contains a 3D lut. |
+ */ |
+ bool is3DLut() const; |
+ |
+ /** Specify whether this bitmap contains a 3D lut. Bitmaps are not 3D luts by default. |
+ */ |
+ void setIs3DLut(bool); |
+ |
/** Reset the bitmap to its initial state (see default constructor). If we are a (shared) |
owner of the pixels, that ownership is decremented. |
*/ |
@@ -748,6 +756,7 @@ private: |
*/ |
kHasHardwareMipMap_Flag = 0x08, |
#endif |
+ kIs3DLut_Flag = 0x10, |
}; |
SkImageInfo fInfo; |