diff options
author | Mathias Agopian <mathias@google.com> | 2013-03-12 18:42:23 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-03-12 18:42:23 -0700 |
commit | 33da402287605e40e189289b11a08b8f5d515818 (patch) | |
tree | 440b60a701b5d4e4d93293732cf5a4a8bef3727c /include/camera | |
parent | b05526fc3c0ccc9f9310830074e863212af433e0 (diff) | |
download | frameworks_av-33da402287605e40e189289b11a08b8f5d515818.zip frameworks_av-33da402287605e40e189289b11a08b8f5d515818.tar.gz frameworks_av-33da402287605e40e189289b11a08b8f5d515818.tar.bz2 |
remove uses of Surface in favor or IGraphicBufferProducer
Change-Id: I13d7a9553aa335bca790a3a59d389d7533c83d57
Diffstat (limited to 'include/camera')
-rw-r--r-- | include/camera/Camera.h | 3 | ||||
-rw-r--r-- | include/camera/ICamera.h | 3 |
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; |