commit | 52e7200b6e020bba978c36e3a928493a3f2c8a92 | [log] [tgz] |
---|---|---|
author | Chih-Chung Chang <chihchung@google.com> | Thu Jan 21 17:31:06 2010 -0800 |
committer | Chih-Chung Chang <chihchung@google.com> | Thu Jan 21 20:20:08 2010 -0800 |
tree | 9c752d7d277ba2dfb9789763369a7373888557a2 | |
parent | d28d5be75b41fe48f486f9b83ae8685496983f5a [diff] [blame] |
Add an orientation parameter for overlay, so we can do camera preview in portrait mode.
diff --git a/libs/surfaceflinger/Transform.h b/libs/surfaceflinger/Transform.h index 78f5c19..ddab404 100644 --- a/libs/surfaceflinger/Transform.h +++ b/libs/surfaceflinger/Transform.h
@@ -38,6 +38,7 @@ public: Transform(); Transform(const Transform& other); + Transform(int32_t flags); ~Transform(); enum orientation_flags {