diff options
Diffstat (limited to 'libs/hwui/Texture.h')
-rw-r--r-- | libs/hwui/Texture.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/hwui/Texture.h b/libs/hwui/Texture.h index b8397ccade9c..ce9d4dc234a8 100644 --- a/libs/hwui/Texture.h +++ b/libs/hwui/Texture.h @@ -128,6 +128,11 @@ public: } /** + * Returns true if this texture uses a linear encoding format. + */ + bool isLinear() const; + + /** * Generation of the backing bitmap, */ uint32_t generation = 0; |