commit | e1ceec234c618729cc7bd35fecb11744b52c1cc8 | [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 | d478c2160bfb90b429f13089a92d182ddf0b62e0 | |
parent | 177b580f56e91bc5519b8772e696b14f8b5757e2 [diff] [blame] |
Add an orientation parameter for overlay, so we can do camera preview in portrait mode.
diff --git a/libs/surfaceflinger/LayerBase.cpp b/libs/surfaceflinger/LayerBase.cpp index 8003d22..17db6f4 100644 --- a/libs/surfaceflinger/LayerBase.cpp +++ b/libs/surfaceflinger/LayerBase.cpp
@@ -809,7 +809,7 @@ } sp<OverlayRef> LayerBaseClient::Surface::createOverlay( - uint32_t w, uint32_t h, int32_t format) + uint32_t w, uint32_t h, int32_t format, int32_t orientation) { return NULL; };