diff options
| author | 2019-03-05 20:18:10 +0000 | |
|---|---|---|
| committer | 2019-03-05 20:18:10 +0000 | |
| commit | d38d88765aca51fd08c258a395d1fc3d88fcedf5 (patch) | |
| tree | bbd2c589a902306a1d32287c752bd65fa61715c7 /libs/gui/LayerState.cpp | |
| parent | 7d171b0728975a14c07c6bdba09668352a599255 (diff) | |
| parent | c502cb751508dd2008ee5e0601d4aae31cbaf6ca (diff) | |
Merge "[SurfaceFlinger] Add setColorSpaceAgnostic API."
Diffstat (limited to 'libs/gui/LayerState.cpp')
| -rw-r--r-- | libs/gui/LayerState.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp index 962d2630bc..84ba64494f 100644 --- a/libs/gui/LayerState.cpp +++ b/libs/gui/LayerState.cpp @@ -100,6 +100,7 @@ status_t layer_state_t::write(Parcel& output) const output.writeFloat(bgColorAlpha); output.writeUint32(static_cast<uint32_t>(bgColorDataspace)); + output.writeBool(colorSpaceAgnostic); return NO_ERROR; } @@ -177,6 +178,7 @@ status_t layer_state_t::read(const Parcel& input) bgColorAlpha = input.readFloat(); bgColorDataspace = static_cast<ui::Dataspace>(input.readUint32()); + colorSpaceAgnostic = input.readBool(); return NO_ERROR; } |