Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Issue 549143003: Fix bug in layer hoisting transition to SkRecord backend (Closed)

Created:
6 years, 3 months ago by robertphillips
Modified:
6 years, 3 months ago
Reviewers:
mtklein, bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Fix bug in layer hoisting transition to SkRecord backend Care must be taken when setting up the initial CTM matrix for partial SkRecord playbacks b.c. all the setMatrix calls will concatenate with the initial matrix (which may be different then the CTM that is required to draw correctly). Committed: https://skia.googlesource.com/skia/+/4815fe5a0a497b676677fb4e4a0f05c511855490

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : More cleanup #

Patch Set 4 : update to ToT #

Patch Set 5 : Split out other two bugs into their own CL #

Patch Set 6 : cleanup #

Total comments: 2

Patch Set 7 : Address code review comments and update to ToT #

Patch Set 8 : Fix rebase error #

Patch Set 9 : Update to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -36 lines) Patch
M src/core/SkRecordDraw.h View 1 2 3 4 5 6 3 chunks +12 lines, -5 lines 0 comments Download
M src/core/SkRecordDraw.cpp View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -2 lines 0 comments Download
M src/gpu/GrLayerCache.h View 1 2 3 7 chunks +16 lines, -6 lines 0 comments Download
M src/gpu/GrLayerCache.cpp View 1 2 3 1 chunk +7 lines, -4 lines 0 comments Download
M src/gpu/GrLayerHoister.cpp View 1 2 3 4 5 6 7 8 3 chunks +16 lines, -2 lines 0 comments Download
M src/gpu/GrPictureUtils.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrPictureUtils.cpp View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M tests/GpuLayerCacheTest.cpp View 1 2 3 5 chunks +12 lines, -7 lines 0 comments Download
M tests/PictureTest.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M tests/RecordDrawTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
bsalomon
lgtm
6 years, 3 months ago (2014-09-08 17:52:54 UTC) #2
mtklein
https://codereview.chromium.org/549143003/diff/100001/src/core/SkRecordDraw.h File src/core/SkRecordDraw.h (right): https://codereview.chromium.org/549143003/diff/100001/src/core/SkRecordDraw.h#newcode36 src/core/SkRecordDraw.h:36: explicit Draw(SkCanvas* canvas) Would slightly prefer Draw(SkCanvas* canvas, const ...
6 years, 3 months ago (2014-09-08 18:41:24 UTC) #3
robertphillips
https://codereview.chromium.org/549143003/diff/100001/src/core/SkRecordDraw.h File src/core/SkRecordDraw.h (right): https://codereview.chromium.org/549143003/diff/100001/src/core/SkRecordDraw.h#newcode36 src/core/SkRecordDraw.h:36: explicit Draw(SkCanvas* canvas) On 2014/09/08 18:41:23, mtklein wrote: > ...
6 years, 3 months ago (2014-09-15 18:33:19 UTC) #4
mtklein
On 2014/09/15 18:33:19, robertphillips wrote: > https://codereview.chromium.org/549143003/diff/100001/src/core/SkRecordDraw.h > File src/core/SkRecordDraw.h (right): > > https://codereview.chromium.org/549143003/diff/100001/src/core/SkRecordDraw.h#newcode36 > ...
6 years, 3 months ago (2014-09-15 19:15:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/549143003/160001
6 years, 3 months ago (2014-09-16 17:24:54 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-16 17:32:48 UTC) #8
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as 4815fe5a0a497b676677fb4e4a0f05c511855490

Powered by Google App Engine
This is Rietveld 408576698