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 | 3dd25a6bf71bd535bf9dbbe16234229ff45414a0 (patch) | |
tree | 16194108cb3fdc84bd42631d81eaf1a518cfecb9 /services/surfaceflinger/SurfaceFlinger.h | |
parent | 957d85ec046651a8b0549b62021079ddcc0b8f53 (diff) | |
download | frameworks_base-3dd25a6bf71bd535bf9dbbe16234229ff45414a0.zip frameworks_base-3dd25a6bf71bd535bf9dbbe16234229ff45414a0.tar.gz frameworks_base-3dd25a6bf71bd535bf9dbbe16234229ff45414a0.tar.bz2 |
[3258939] Need snapshot to limit which layers are included
Change-Id: Id7351a0e3f53dde99b291cffba553d89fd4d7ca9
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.h')
-rw-r--r-- | services/surfaceflinger/SurfaceFlinger.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.h b/services/surfaceflinger/SurfaceFlinger.h index c0e5acd..ca7d27d 100644 --- a/services/surfaceflinger/SurfaceFlinger.h +++ b/services/surfaceflinger/SurfaceFlinger.h @@ -192,13 +192,13 @@ public: virtual status_t unfreezeDisplay(DisplayID dpy, uint32_t flags); virtual int setOrientation(DisplayID dpy, int orientation, uint32_t flags); virtual void signal() const; - virtual status_t captureScreen(DisplayID dpy, - sp<IMemoryHeap>* heap, - uint32_t* width, - uint32_t* height, - PixelFormat* format, - uint32_t reqWidth, - uint32_t reqHeight); + + virtual status_t captureScreen(DisplayID dpy, + sp<IMemoryHeap>* heap, + uint32_t* width, uint32_t* height, + PixelFormat* format, uint32_t reqWidth, uint32_t reqHeight, + uint32_t minLayerZ, uint32_t maxLayerZ); + virtual status_t turnElectronBeamOff(int32_t mode); virtual status_t turnElectronBeamOn(int32_t mode); @@ -313,7 +313,8 @@ private: status_t captureScreenImplLocked(DisplayID dpy, sp<IMemoryHeap>* heap, uint32_t* width, uint32_t* height, PixelFormat* format, - uint32_t reqWidth = 0, uint32_t reqHeight = 0); + uint32_t reqWidth, uint32_t reqHeight, + uint32_t minLayerZ, uint32_t maxLayerZ); status_t turnElectronBeamOffImplLocked(int32_t mode); status_t turnElectronBeamOnImplLocked(int32_t mode); |