Loading
SF rounded corners: include geometry when reordering
Bug: 184729207 Bug: 163076219 Test: TODO In Id721cd451209ab50e5cd8badf5f3e0917506e728, we started updating geometry if we had an override buffer, or if the last frame did. Also do so for a peekThroughLayer, since its blend mode changes. In addition, the z has changed for layers starting with the peekThroughLayer, so update geometry for those, too. Move isPeekingThrough to a local variable and parameter. It does not need the lifetime of overrideInfo. Add it and zIsOverridden to writeStateToHWC to ensure we restore the order in HWC when the peekThroughLayer is no longer needed. Change-Id: I4b2dda504dc52ec06795a2d2b6236b0472702880