diff options
author | Riley Andrews <riandrews@google.com> | 2014-09-04 16:19:44 -0700 |
---|---|---|
committer | Riley Andrews <riandrews@google.com> | 2014-09-09 19:41:32 +0000 |
commit | d15ef27f9b13727fa7358e3c09572f66bb1e0668 (patch) | |
tree | 114aa1f44b0ea45551930ab6c451c995fe57f7f9 /include/gui | |
parent | edb86f9f681e082a64a670814ee4d73ccf39942a (diff) | |
download | frameworks_native-d15ef27f9b13727fa7358e3c09572f66bb1e0668.zip frameworks_native-d15ef27f9b13727fa7358e3c09572f66bb1e0668.tar.gz frameworks_native-d15ef27f9b13727fa7358e3c09572f66bb1e0668.tar.bz2 |
Update ScreenshotClient to take advantage of rotation in surfaceflinger's screencap api
Change-Id: I836649d9d5cd5958ce34e47f26f4a36d2d05d24c
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/SurfaceComposerClient.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gui/SurfaceComposerClient.h b/include/gui/SurfaceComposerClient.h index c73ef70..4cbfc09 100644 --- a/include/gui/SurfaceComposerClient.h +++ b/include/gui/SurfaceComposerClient.h @@ -209,6 +209,10 @@ public: Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ, bool useIdentityTransform); + status_t update(const sp<IBinder>& display, + Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, + uint32_t minLayerZ, uint32_t maxLayerZ, + bool useIdentityTransform, uint32_t rotation); sp<CpuConsumer> getCpuConsumer() const; |