From cdb4ed7743f5abfa4e9a785b14a50ca25c906f3f Mon Sep 17 00:00:00 2001 From: John Reck Date: Thu, 4 Feb 2021 13:39:33 -0500 Subject: Add plumbing for sending stretch effect to SF Bug: 179047472 Test: builds & boots, doesn't do anything yet Change-Id: Ib8cccdde518f0591c2f2ee3416684442f37a1e06 --- libs/gui/LayerState.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libs/gui/LayerState.cpp') diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp index fff33056e1..f053372cb0 100644 --- a/libs/gui/LayerState.cpp +++ b/libs/gui/LayerState.cpp @@ -167,6 +167,9 @@ status_t layer_state_t::write(Parcel& output) const SAFE_PARCEL(output.writeInt32, region.right); SAFE_PARCEL(output.writeInt32, region.bottom); } + + SAFE_PARCEL(output.write, stretchEffect); + return NO_ERROR; } @@ -290,6 +293,9 @@ status_t layer_state_t::read(const Parcel& input) SAFE_PARCEL(input.readInt32, ®ion.bottom); blurRegions.push_back(region); } + + SAFE_PARCEL(input.read, stretchEffect); + return NO_ERROR; } -- cgit v1.2.3-59-g8ed1b