summaryrefslogtreecommitdiffstats
path: root/include/camera
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-03-12 18:42:23 -0700
committerMathias Agopian <mathias@google.com>2013-03-12 18:42:23 -0700
commit99617adda9bc46c43f511f0940bc735c73de61de (patch)
tree67b71170ce74451ec384346407629d54cd7e403f /include/camera
parent3eca0ac4428aa74f197a2a498d84490c4e30f11d (diff)
downloadframeworks_av-99617adda9bc46c43f511f0940bc735c73de61de.zip
frameworks_av-99617adda9bc46c43f511f0940bc735c73de61de.tar.gz
frameworks_av-99617adda9bc46c43f511f0940bc735c73de61de.tar.bz2
remove uses of Surface in favor or IGraphicBufferProducer
Change-Id: I13d7a9553aa335bca790a3a59d389d7533c83d57
Diffstat (limited to 'include/camera')
-rw-r--r--include/camera/Camera.h3
-rw-r--r--include/camera/ICamera.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/include/camera/Camera.h b/include/camera/Camera.h
index 71c66ce..37626a4 100644
--- a/include/camera/Camera.h
+++ b/include/camera/Camera.h
@@ -74,9 +74,6 @@ public:
status_t lock();
status_t unlock();
- // pass the buffered Surface to the camera service
- status_t setPreviewDisplay(const sp<Surface>& surface);
-
// pass the buffered IGraphicBufferProducer to the camera service
status_t setPreviewTexture(const sp<IGraphicBufferProducer>& bufferProducer);
diff --git a/include/camera/ICamera.h b/include/camera/ICamera.h
index eccaa41..2236c1f 100644
--- a/include/camera/ICamera.h
+++ b/include/camera/ICamera.h
@@ -46,9 +46,6 @@ public:
// allow other processes to use this ICamera interface
virtual status_t unlock() = 0;
- // pass the buffered Surface to the camera service
- virtual status_t setPreviewDisplay(const sp<Surface>& surface) = 0;
-
// pass the buffered IGraphicBufferProducer to the camera service
virtual status_t setPreviewTexture(
const sp<IGraphicBufferProducer>& bufferProducer) = 0;