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

Issue 267293007: Fix rendering artifacts in pull-saveLayers-forward mode (Closed)

Created:
6 years, 7 months ago by robertphillips
Modified:
6 years, 7 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fix rendering artifacts in pull-saveLayers-forward mode This CL fixes 2 bugs in the pre-rendering of saveLayers: 1) The drawBitmapRect call wasn't occurring in device space so could sometimes be double transformed 2) The BBH op skipping in SkPicturePlayback could sometimes mess up the SkPictureStateTree's state It also reduces the number of layers that are pre-rendered when a BBH is not in use. Committed: http://code.google.com/p/skia/source/detail?r=14650 Committed: http://code.google.com/p/skia/source/detail?r=14659

Patch Set 1 #

Patch Set 2 : Fix comments #

Patch Set 3 : Fix more comments #

Patch Set 4 : Fix bug & add comment #

Total comments: 2

Patch Set 5 : Improved comment #

Patch Set 6 : Update to ToT #

Patch Set 7 : Fix bug in unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -73 lines) Patch
M src/core/SkPicturePlayback.h View 1 2 3 4 5 6 2 chunks +3 lines, -4 lines 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 2 3 4 5 6 2 chunks +24 lines, -9 lines 0 comments Download
M src/core/SkPictureStateTree.h View 1 2 3 4 5 6 1 chunk +0 lines, -15 lines 0 comments Download
M src/core/SkPictureStateTree.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -29 lines 0 comments Download
M src/gpu/GrPictureUtils.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrPictureUtils.cpp View 1 2 3 4 5 6 1 chunk +1 line, -10 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 6 1 chunk +10 lines, -3 lines 0 comments Download
M tests/PictureTest.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
robertphillips
6 years, 7 months ago (2014-05-07 22:35:46 UTC) #1
bsalomon
lgtm https://codereview.chromium.org/267293007/diff/60001/src/core/SkPicturePlayback.cpp File src/core/SkPicturePlayback.cpp (right): https://codereview.chromium.org/267293007/diff/60001/src/core/SkPicturePlayback.cpp#newcode926 src/core/SkPicturePlayback.cpp:926: // Convert nested saveLayers into saves ?
6 years, 7 months ago (2014-05-08 13:50:45 UTC) #2
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 7 months ago (2014-05-08 16:49:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/267293007/80001
6 years, 7 months ago (2014-05-08 16:50:32 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 16:50:35 UTC) #5
commit-bot: I haz the power
Failed to apply patch for src/core/SkPicturePlayback.cpp: While running patch -p0 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-08 16:50:35 UTC) #6
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 7 months ago (2014-05-08 17:06:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/267293007/100001
6 years, 7 months ago (2014-05-08 17:07:57 UTC) #8
commit-bot: I haz the power
Change committed as 14650
6 years, 7 months ago (2014-05-08 18:13:11 UTC) #9
robertphillips
This was reverted in r14654 due to unit test failures. https://codereview.chromium.org/267293007/diff/60001/src/core/SkPicturePlayback.cpp File src/core/SkPicturePlayback.cpp (right): https://codereview.chromium.org/267293007/diff/60001/src/core/SkPicturePlayback.cpp#newcode926 ...
6 years, 7 months ago (2014-05-08 18:45:41 UTC) #10
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 7 months ago (2014-05-08 23:15:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/267293007/120001
6 years, 7 months ago (2014-05-08 23:17:26 UTC) #12
commit-bot: I haz the power
6 years, 7 months ago (2014-05-08 23:24:09 UTC) #13
Message was sent while issue was closed.
Change committed as 14659

Powered by Google App Engine
This is Rietveld 408576698