diff options
| author | 2014-02-20 00:56:34 +0000 | |
|---|---|---|
| committer | 2014-02-20 00:56:34 +0000 | |
| commit | da03fe4bfcc5f6626d38798e4d9def8596fd869c (patch) | |
| tree | 560ea71efc14b19d598d2984bea738646a9a7a3e /include/gui/SurfaceComposerClient.h | |
| parent | 79aa621330e1fefcfc7ccf7c14ef51a8d0ea8c9c (diff) | |
| parent | c701401f8cec2e5309f8b57e2b97baced5093274 (diff) | |
Merge "Allow disabling layer rotation during screenshots"
Diffstat (limited to 'include/gui/SurfaceComposerClient.h')
| -rw-r--r-- | include/gui/SurfaceComposerClient.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/gui/SurfaceComposerClient.h b/include/gui/SurfaceComposerClient.h index e982bcde91..350b9878c7 100644 --- a/include/gui/SurfaceComposerClient.h +++ b/include/gui/SurfaceComposerClient.h @@ -164,7 +164,8 @@ public: const sp<IBinder>& display, const sp<IGraphicBufferProducer>& producer, uint32_t reqWidth, uint32_t reqHeight, - uint32_t minLayerZ, uint32_t maxLayerZ); + uint32_t minLayerZ, uint32_t maxLayerZ, + bool useIdentityTransform); private: mutable sp<CpuConsumer> mCpuConsumer; @@ -177,12 +178,14 @@ public: ~ScreenshotClient(); // frees the previous screenshot and capture a new one - status_t update(const sp<IBinder>& display); + status_t update(const sp<IBinder>& display, bool useIdentityTransform); status_t update(const sp<IBinder>& display, - uint32_t reqWidth, uint32_t reqHeight); + uint32_t reqWidth, uint32_t reqHeight, + bool useIdentityTransform); status_t update(const sp<IBinder>& display, uint32_t reqWidth, uint32_t reqHeight, - uint32_t minLayerZ, uint32_t maxLayerZ); + uint32_t minLayerZ, uint32_t maxLayerZ, + bool useIdentityTransform); sp<CpuConsumer> getCpuConsumer() const; |