diff options
author | 2016-04-07 13:51:07 -0700 | |
---|---|---|
committer | 2016-04-07 15:02:39 -0700 | |
commit | 04d46eb69fb4f4c4c332c36c6ae845da3b2ae848 (patch) | |
tree | e6a598b4e1d29bf25ec139a07e8a0867b8b745d9 /libs/hwui/FrameBuilder.cpp | |
parent | f2cf5987a6aea262187208ad269ceb1534955704 (diff) |
Support replace op in new pipeline
bug:26562461
Change-Id: Ie48d2da30f5e9d9abe88a5cd973dfb26e38abf63
Diffstat (limited to 'libs/hwui/FrameBuilder.cpp')
-rw-r--r-- | libs/hwui/FrameBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/FrameBuilder.cpp b/libs/hwui/FrameBuilder.cpp index 0401f2d44776..f12e52325af1 100644 --- a/libs/hwui/FrameBuilder.cpp +++ b/libs/hwui/FrameBuilder.cpp @@ -462,7 +462,7 @@ void FrameBuilder::deferRenderNodeOpImpl(const RenderNodeOp& op) { int count = mCanvasState.save(SaveFlags::MatrixClip); // apply state from RecordedOp (clip first, since op's clip is transformed by current matrix) - mCanvasState.writableSnapshot()->mutateClipArea().applyClip(op.localClip, + mCanvasState.writableSnapshot()->applyClip(op.localClip, *mCanvasState.currentSnapshot()->transform); mCanvasState.concatMatrix(op.localMatrix); |