diff options
author | Mathias Agopian <mathias@google.com> | 2010-12-10 16:30:46 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-12-10 16:30:46 -0800 |
commit | 0cfb45a4232f8ccb58b8136ff8628d9978582154 (patch) | |
tree | 7adfd6771bb1bacd0d68e2d44c5765e93932738b /include | |
parent | 54ca4587872c46ba7dfc4925e1e35061119ddcbf (diff) | |
parent | 3dd25a6bf71bd535bf9dbbe16234229ff45414a0 (diff) | |
download | frameworks_base-0cfb45a4232f8ccb58b8136ff8628d9978582154.zip frameworks_base-0cfb45a4232f8ccb58b8136ff8628d9978582154.tar.gz frameworks_base-0cfb45a4232f8ccb58b8136ff8628d9978582154.tar.bz2 |
Merge "[3258939] Need snapshot to limit which layers are included"
Diffstat (limited to 'include')
-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(); |