summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/Transform.h
diff options
context:
space:
mode:
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;