summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2010-01-22 16:30:39 -0800
committerChih-Chung Chang <chihchung@google.com>2010-01-22 16:30:39 -0800
commit5994a330ac949e7706540f22cd73d76d9f2a96cb (patch)
tree46250601cda14ac8a44572be4566a8ac0869701d /include
parent32f6863e218e19f8a3daab7e345bb4ae6587865a (diff)
downloadframeworks_native-5994a330ac949e7706540f22cd73d76d9f2a96cb.zip
frameworks_native-5994a330ac949e7706540f22cd73d76d9f2a96cb.tar.gz
frameworks_native-5994a330ac949e7706540f22cd73d76d9f2a96cb.tar.bz2
Add support for 180/270 degrees rotation.
Diffstat (limited to 'include')
-rw-r--r--include/ui/ISurface.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ui/ISurface.h b/include/ui/ISurface.h
index b37a8ac..c7f181c 100644
--- a/include/ui/ISurface.h
+++ b/include/ui/ISurface.h
@@ -55,8 +55,11 @@ public:
class BufferHeap {
public:
enum {
- /* rotate source image 90 degrees */
+ /* rotate source image */
+ ROT_0 = 0,
ROT_90 = HAL_TRANSFORM_ROT_90,
+ ROT_180 = HAL_TRANSFORM_ROT_180,
+ ROT_270 = HAL_TRANSFORM_ROT_270,
};
BufferHeap();