summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2017-04-13 07:12:51 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-04-13 07:12:56 +0000
commit7dcda8011de1753b0d9f4bf640733f83db601cec (patch)
tree0bb8b9b8a614059aafdc821ef007dfaeced3f042 /libs/gui/LayerState.cpp
parenta30e1cbfcca82951eae9f6a83f630c6bc3b9cfc8 (diff)
parentdb66e627ad8904491e384c64f82fc77a939b9705 (diff)
Merge "SurfaceFlinger: Add parent-less relative layering." into oc-dev
Diffstat (limited to 'libs/gui/LayerState.cpp')
-rw-r--r--libs/gui/LayerState.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp
index 2461cba152..9b06e63610 100644
--- a/libs/gui/LayerState.cpp
+++ b/libs/gui/LayerState.cpp
@@ -44,6 +44,7 @@ status_t layer_state_t::write(Parcel& output) const
output.writeUint64(frameNumber);
output.writeInt32(overrideScalingMode);
output.writeStrongBinder(IInterface::asBinder(barrierGbp));
+ output.writeStrongBinder(relativeLayerHandle);
output.write(transparentRegion);
return NO_ERROR;
}
@@ -75,6 +76,7 @@ status_t layer_state_t::read(const Parcel& input)
overrideScalingMode = input.readInt32();
barrierGbp =
interface_cast<IGraphicBufferProducer>(input.readStrongBinder());
+ relativeLayerHandle = input.readStrongBinder();
input.read(transparentRegion);
return NO_ERROR;
}