diff options
| author | 2014-02-14 15:03:43 -0800 | |
|---|---|---|
| committer | 2014-02-14 23:10:42 +0000 | |
| commit | c701401f8cec2e5309f8b57e2b97baced5093274 (patch) | |
| tree | e79551fa95d634d1d83beda68a431e53adde43d4 /services/surfaceflinger/DisplayDevice.cpp | |
| parent | 87c01edaf6921bcf39537418fa146dafd927b74b (diff) | |
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 'services/surfaceflinger/DisplayDevice.cpp')
| -rw-r--r-- | services/surfaceflinger/DisplayDevice.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/surfaceflinger/DisplayDevice.cpp b/services/surfaceflinger/DisplayDevice.cpp index e5ecf07780..d7bbf5c973 100644 --- a/services/surfaceflinger/DisplayDevice.cpp +++ b/services/surfaceflinger/DisplayDevice.cpp @@ -194,6 +194,8 @@ void DisplayDevice::flip(const Region& dirty) const eglSetSwapRectangleANDROID(dpy, surface, b.left, b.top, b.width(), b.height()); } +#else + (void) dirty; // Eliminate unused parameter warning #endif mPageFlipCount++; |