diff options
author | Mathias Agopian <mathias@google.com> | 2010-12-10 16:22:31 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-12-10 16:22:31 -0800 |
commit | bf2c6a6c8f1df40ac94e28b948754bb9739daaca (patch) | |
tree | 0883b00fef8abc4f97161c9875fd6fe99d52f777 /include/surfaceflinger | |
parent | 4f9da642af5e66f65156260d8b500ada3c3b4b2e (diff) | |
download | frameworks_native-bf2c6a6c8f1df40ac94e28b948754bb9739daaca.zip frameworks_native-bf2c6a6c8f1df40ac94e28b948754bb9739daaca.tar.gz frameworks_native-bf2c6a6c8f1df40ac94e28b948754bb9739daaca.tar.bz2 |
[3258939] Need snapshot to limit which layers are included
Change-Id: Id7351a0e3f53dde99b291cffba553d89fd4d7ca9
Diffstat (limited to 'include/surfaceflinger')
-rw-r--r-- | include/surfaceflinger/ISurfaceComposer.h | 3 | ||||
-rw-r--r-- | include/surfaceflinger/SurfaceComposerClient.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/surfaceflinger/ISurfaceComposer.h b/include/surfaceflinger/ISurfaceComposer.h index 382cbda..693fbfb 100644 --- a/include/surfaceflinger/ISurfaceComposer.h +++ b/include/surfaceflinger/ISurfaceComposer.h @@ -121,7 +121,8 @@ public: virtual status_t captureScreen(DisplayID dpy, sp<IMemoryHeap>* heap, uint32_t* width, uint32_t* height, PixelFormat* format, - uint32_t reqWidth, uint32_t reqHeight) = 0; + uint32_t reqWidth, uint32_t reqHeight, + uint32_t minLayerZ, uint32_t maxLayerZ) = 0; virtual status_t turnElectronBeamOff(int32_t mode) = 0; virtual status_t turnElectronBeamOn(int32_t mode) = 0; diff --git a/include/surfaceflinger/SurfaceComposerClient.h b/include/surfaceflinger/SurfaceComposerClient.h index a80832d..25b2ebf 100644 --- a/include/surfaceflinger/SurfaceComposerClient.h +++ b/include/surfaceflinger/SurfaceComposerClient.h @@ -183,6 +183,8 @@ public: // frees the previous screenshot and capture a new one status_t update(); status_t update(uint32_t reqWidth, uint32_t reqHeight); + status_t update(uint32_t reqWidth, uint32_t reqHeight, + uint32_t minLayerZ, uint32_t maxLayerZ); // release memory occupied by the screenshot void release(); |