diff options
| author | 2016-11-22 13:52:43 -0500 | |
|---|---|---|
| committer | 2017-01-24 10:59:40 -0500 | |
| commit | 6cf6af0299f7e48bc5bcdcd6a6c0f5a8725e9411 (patch) | |
| tree | 9570c8effb020bad764b3e5f88339a60ea77543f /libs/gui/LayerState.cpp | |
| parent | 146abf38c2442b77dc78a0565ad010376c9d1b69 (diff) | |
VR: Add API to plumb surface type and owner through to SurfaceFlinger
This is a cherry-pick of
https://googleplex-android-review.git.corp.google.com/c/1648886/
Test: None
Bug: None
Change-Id: I338c84c2576ab85fa4f6d8e759c9e7ce912cdd61
Diffstat (limited to 'libs/gui/LayerState.cpp')
| -rw-r--r-- | libs/gui/LayerState.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp index d1c576e4c5..3949186f2b 100644 --- a/libs/gui/LayerState.cpp +++ b/libs/gui/LayerState.cpp @@ -42,6 +42,8 @@ status_t layer_state_t::write(Parcel& output) const output.writeStrongBinder(handle); output.writeUint64(frameNumber); output.writeInt32(overrideScalingMode); + output.writeUint32(type); + output.writeUint32(appid); output.write(transparentRegion); return NO_ERROR; } @@ -70,6 +72,8 @@ status_t layer_state_t::read(const Parcel& input) handle = input.readStrongBinder(); frameNumber = input.readUint64(); overrideScalingMode = input.readInt32(); + type = input.readUint32(); + appid = input.readUint32(); input.read(transparentRegion); return NO_ERROR; } |