summaryrefslogtreecommitdiffstats
path: root/include/gui/ISurfaceComposer.h
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2014-02-14 15:03:43 -0800
committerDan Stoza <stoza@google.com>2014-02-14 23:10:42 +0000
commitc701401f8cec2e5309f8b57e2b97baced5093274 (patch)
treee79551fa95d634d1d83beda68a431e53adde43d4 /include/gui/ISurfaceComposer.h
parent87c01edaf6921bcf39537418fa146dafd927b74b (diff)
downloadframeworks_native-c701401f8cec2e5309f8b57e2b97baced5093274.zip
frameworks_native-c701401f8cec2e5309f8b57e2b97baced5093274.tar.gz
frameworks_native-c701401f8cec2e5309f8b57e2b97baced5093274.tar.bz2
Allow disabling layer rotation during screenshots
Add the ability to ignore layers' transformation matrices during screenshot capture, which will allow the window manager to capture unrotated images for recents during the device rotation animation. Bug: 11805195 Change-Id: I854d87bc84ca06ef9a054a454af1c080ee66fbb8
Diffstat (limited to 'include/gui/ISurfaceComposer.h')
-rw-r--r--include/gui/ISurfaceComposer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gui/ISurfaceComposer.h b/include/gui/ISurfaceComposer.h
index 5c3c99c..35dcd4e 100644
--- a/include/gui/ISurfaceComposer.h
+++ b/include/gui/ISurfaceComposer.h
@@ -120,7 +120,8 @@ public:
virtual status_t captureScreen(const sp<IBinder>& display,
const sp<IGraphicBufferProducer>& producer,
uint32_t reqWidth, uint32_t reqHeight,
- uint32_t minLayerZ, uint32_t maxLayerZ) = 0;
+ uint32_t minLayerZ, uint32_t maxLayerZ,
+ bool useIdentityTransform) = 0;
};
// ----------------------------------------------------------------------------