diff options
author | Michael Wright <michaelwr@google.com> | 2014-06-26 16:01:02 -0700 |
---|---|---|
committer | Michael Lentine <mlentine@google.com> | 2014-07-30 11:23:44 -0700 |
commit | 1f6078aef71b1d3f080cd565adbec350c71088dd (patch) | |
tree | c5dbb3eb6ee45d28e6e30a6b0230a23143ec1500 /include/private | |
parent | 99c7dc596adeef45604a596075043e1f37daf7ca (diff) | |
download | frameworks_native-1f6078aef71b1d3f080cd565adbec350c71088dd.zip frameworks_native-1f6078aef71b1d3f080cd565adbec350c71088dd.tar.gz frameworks_native-1f6078aef71b1d3f080cd565adbec350c71088dd.tar.bz2 |
Have VirtualDisplays send SF resize messages when resizing
Change-Id: I76d15b22099a659450ec875836c9bf2b6584838f
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/gui/LayerState.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/private/gui/LayerState.h b/include/private/gui/LayerState.h index 5584fb1..2fa6ff9 100644 --- a/include/private/gui/LayerState.h +++ b/include/private/gui/LayerState.h @@ -113,7 +113,8 @@ struct DisplayState { enum { eSurfaceChanged = 0x01, eLayerStackChanged = 0x02, - eDisplayProjectionChanged = 0x04 + eDisplayProjectionChanged = 0x04, + eDisplaySizeChanged = 0x08 }; uint32_t what; @@ -123,6 +124,7 @@ struct DisplayState { uint32_t orientation; Rect viewport; Rect frame; + uint32_t width, height; status_t write(Parcel& output) const; status_t read(const Parcel& input); }; |