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

Issue 164823003: Improve saveLayer handling in SkMatrixClipStateMgr (Closed)

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

Description

This CL improves saveLayer handling in the SkMatrixClipStateMgr by: 1) no longer storing the clip skip offsets in the stack (since saveLayers can force multiple clip states to be open at one time) 2) writing out only the clips that are relative to the saveLayer's clip state 3) updates the testing harness to accept a save/restore bracketing a saveLayer/restore (since clips have to be applied to the saveLayer's result upon restore) Committed: http://code.google.com/p/skia/source/detail?r=13497

Patch Set 1 #

Patch Set 2 : Minor cleanup #

Patch Set 3 : Fix bug #

Patch Set 4 : Disabled MC collapse #

Patch Set 5 : Fix compiler complaint #

Patch Set 6 : Fix another compiler issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -127 lines) Patch
M src/core/SkMatrixClipStateMgr.h View 1 2 3 4 8 chunks +19 lines, -32 lines 0 comments Download
M src/core/SkMatrixClipStateMgr.cpp View 1 2 3 4 5 12 chunks +101 lines, -61 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M tests/MatrixClipCollapseTest.cpp View 1 2 3 4 8 chunks +44 lines, -33 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
robertphillips
6 years, 10 months ago (2014-02-18 16:01:59 UTC) #1
bsalomon
On 2014/02/18 16:01:59, robertphillips wrote: (mostly rubberstamp) lgtm
6 years, 10 months ago (2014-02-18 16:37:44 UTC) #2
robertphillips
committed as r13488
6 years, 10 months ago (2014-02-18 17:29:08 UTC) #3
epoger
Looks like this broke some compilers. From http://108.170.219.164:10117/builders/Build-Ubuntu13-GCC4.8-x86_64-Debug/builds/1854/steps/BuildSkiaLib/logs/stdio : [09:42:03.012014] make[1]: Entering directory `/home/chrome-bot/buildbot/skiabot-shuttle-ubuntu13-000/buildbot/third_party/chromium_buildbot/slave/Build-Ubuntu13-GCC4_8-x86_64-Debug/build/skia/out' [09:42:03.012032] ...
6 years, 10 months ago (2014-02-18 17:46:42 UTC) #4
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 10 months ago (2014-02-19 13:33:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/164823003/190001
6 years, 10 months ago (2014-02-19 13:33:42 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-19 13:41:52 UTC) #7
commit-bot: I haz the power
Retried try job too often on Build-Mac10.7-Clang-x86-Release-Trybot for step(s) BuildBench, BuildEverything http://108.170.219.164:10117/buildstatus?builder=Build-Mac10.7-Clang-x86-Release-Trybot&number=1542
6 years, 10 months ago (2014-02-19 13:41:53 UTC) #8
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 10 months ago (2014-02-19 14:04:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/164823003/360001
6 years, 10 months ago (2014-02-19 14:04:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/164823003/360001
6 years, 10 months ago (2014-02-19 14:40:41 UTC) #11
commit-bot: I haz the power
6 years, 10 months ago (2014-02-19 15:11:26 UTC) #12
Message was sent while issue was closed.
Change committed as 13497

Powered by Google App Engine
This is Rietveld 408576698