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/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; };