summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/Transform.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-09-23 18:34:53 -0700
committerMathias Agopian <mathias@google.com>2009-09-23 18:55:02 -0700
commit44cac134655d5c3b2eeab2e42792c70a7aa8b92f (patch)
tree517d1519e56a14c4ebec42037af458c09b0c2b28 /libs/surfaceflinger/Transform.h
parent8434c5369304e639efe8eab368ca410c589d87c2 (diff)
downloadframeworks_base-44cac134655d5c3b2eeab2e42792c70a7aa8b92f.zip
frameworks_base-44cac134655d5c3b2eeab2e42792c70a7aa8b92f.tar.gz
frameworks_base-44cac134655d5c3b2eeab2e42792c70a7aa8b92f.tar.bz2
fix [2142193] disable GL_LINEAR when not needed
Diffstat (limited to 'libs/surfaceflinger/Transform.h')
-rw-r--r--libs/surfaceflinger/Transform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/surfaceflinger/Transform.h b/libs/surfaceflinger/Transform.h
index 4c4528e..78f5c19 100644
--- a/libs/surfaceflinger/Transform.h
+++ b/libs/surfaceflinger/Transform.h
@@ -50,6 +50,14 @@ public:
ROT_INVALID = 0x80000000
};
+ enum type_mask {
+ IDENTITY = 0,
+ TRANSLATE = 0x1,
+ SCALE = 0x2,
+ AFFINE = 0x4,
+ PERSPECTIVE = 0x8
+ };
+
bool transformed() const;
int32_t getOrientation() const;
bool preserveRects() const;