diff options
| author | 2017-11-10 16:16:12 -0800 | |
|---|---|---|
| committer | 2017-11-27 15:05:00 -0800 | |
| commit | 7206d49b2963ce2e926a5f25fe94aca9c06471e6 (patch) | |
| tree | e367f2b65cc3dfe972908a6b2f4cba04b79c8345 /libs/gui/ConsumerBase.cpp | |
| parent | 3d04ada8cde8f1dec2790fa0018c07e584dc59bf (diff) | |
Add additional parameters for the captureLayer functions.
1. Added new captureLayers function that will return a GraphicBuffer
instead of storing into a Surface.
2. Added crop to captureLayers function.
3. Added frameScale to allow captures to scale.
4. Removed rotation parameter from captureLayers since it will always be
in the correct orientation.
Test: Transaction_test ScreenCaptureTest.CaptureCrop, .CaptureSize
Change-Id: Ib16d8575cf0c103126b9427ad32e2d28d568ea61
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions