commit | 1d465af5fce0678c1d269f626f61178da72602bc | [log] [tgz] |
---|---|---|
author | Yiwei Zhang <zzyiwei@google.com> | Tue Aug 21 15:15:42 2018 -0700 |
committer | Yiwei Zhang <zzyiwei@google.com> | Tue Aug 21 19:49:57 2018 -0700 |
tree | c0f37c18f402e612e86f9f57b72a9a5ce43b345f | |
parent | f4e02874b260f85acb7eba2d61fe9af37e290c0f [diff] [blame] |
Add getDisplayViewport for screenrecord tool Bug: b/112869712 Test: adb shell screenrecord Change-Id: I9f3f99de1a5bafc5318b24484f1916d28dcdfaa7 Merged-In: I9f3f99de1a5bafc5318b24484f1916d28dcdfaa7
diff --git a/services/surfaceflinger/SurfaceFlinger.h b/services/surfaceflinger/SurfaceFlinger.h index 8f724e9..0148ab6 100644 --- a/services/surfaceflinger/SurfaceFlinger.h +++ b/services/surfaceflinger/SurfaceFlinger.h
@@ -429,6 +429,7 @@ const Rect& sourceCrop, float frameScale, bool childrenOnly); virtual status_t getDisplayStats(const sp<IBinder>& display, DisplayStatInfo* stats); + virtual status_t getDisplayViewport(const sp<IBinder>& display, Rect* outViewport); virtual status_t getDisplayConfigs(const sp<IBinder>& display, Vector<DisplayInfo>* configs); virtual int getActiveConfig(const sp<IBinder>& display);