summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/LayerBase.cpp
diff options
context:
space:
mode:
author Chih-Chung Chang <chihchung@google.com> 2010-01-21 17:31:06 -0800
committer Chih-Chung Chang <chihchung@google.com> 2010-01-21 20:20:08 -0800
commite1ceec234c618729cc7bd35fecb11744b52c1cc8 (patch)
treed478c2160bfb90b429f13089a92d182ddf0b62e0 /libs/surfaceflinger/LayerBase.cpp
parent177b580f56e91bc5519b8772e696b14f8b5757e2 (diff)
Add an orientation parameter for overlay, so we can do camera preview in portrait mode.
Diffstat (limited to 'libs/surfaceflinger/LayerBase.cpp')
-rw-r--r--libs/surfaceflinger/LayerBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaceflinger/LayerBase.cpp b/libs/surfaceflinger/LayerBase.cpp
index 8003d22daa8b..17db6f457397 100644
--- a/libs/surfaceflinger/LayerBase.cpp
+++ b/libs/surfaceflinger/LayerBase.cpp
@@ -809,7 +809,7 @@ void LayerBaseClient::Surface::unregisterBuffers()
}
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;
};