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

Issue 269693003: SkClipStack::Element tweaks. (Closed)

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

Description

SkClipStack::Element tweaks. ( This is intended to facilitate efficient kMatrix_SaveFlags emulation on restore(): * collect all clip stack elements for the current save count into a side clip stack * canvas.restore(everything) * replay the collected clip ops to restore the initial clip state => we restored the matrix but the clip state is unchanged ) Two main changes: * expose the save count for SkClipStack::Element * expose a replay method for the same (logic relocated from SkCanvas::replayClips) The SkCanvas::ClipVisitor shuffling is to enable forward decl in SkClipStack.h (cannot fwdecl a nested class). R=robertphillips@google.com TBR=reed@google.com Committed: https://skia.googlesource.com/skia/+/c3b589a24eb4d567a906189f882c259ecf5c2f58

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -25 lines) Patch
M include/core/SkCanvas.h View 1 3 chunks +9 lines, -8 lines 0 comments Download
M include/core/SkClipStack.h View 3 chunks +9 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 chunks +2 lines, -16 lines 0 comments Download
M src/core/SkClipStack.cpp View 2 chunks +21 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
f(malita)
6 years, 7 months ago (2014-05-02 01:15:25 UTC) #1
f(malita)
This is a WIP as the Android change is not ironed out yet. I'm guessing ...
6 years, 7 months ago (2014-05-02 01:52:50 UTC) #2
robertphillips
lgtm https://codereview.chromium.org/269693003/diff/1/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/269693003/diff/1/include/core/SkCanvas.h#newcode1500 include/core/SkCanvas.h:1500: I know this isn't due to this CL ...
6 years, 7 months ago (2014-05-02 12:35:38 UTC) #3
f(malita)
https://codereview.chromium.org/269693003/diff/1/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/269693003/diff/1/include/core/SkCanvas.h#newcode1500 include/core/SkCanvas.h:1500: On 2014/05/02 12:35:38, robertphillips wrote: > I know this ...
6 years, 7 months ago (2014-05-02 12:59:26 UTC) #4
f(malita)
The CQ bit was checked by fmalita@chromium.org
6 years, 6 months ago (2014-06-04 23:25:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/fmalita@chromium.org/269693003/20001
6 years, 6 months ago (2014-06-04 23:26:36 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-04 23:26:39 UTC) #7
commit-bot: I haz the power
Presubmit check for 269693003-20001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 6 months ago (2014-06-04 23:26:39 UTC) #8
f(malita)
The CQ bit was checked by fmalita@chromium.org
6 years, 6 months ago (2014-06-05 19:09:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/fmalita@chromium.org/269693003/20001
6 years, 6 months ago (2014-06-05 19:09:35 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 19:09:43 UTC) #11
commit-bot: I haz the power
Presubmit check for 269693003-20001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 6 months ago (2014-06-05 19:09:46 UTC) #12
reed1
lgtm
6 years, 6 months ago (2014-06-05 19:16:23 UTC) #13
f(malita)
The CQ bit was checked by fmalita@chromium.org
6 years, 6 months ago (2014-06-05 19:18:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/fmalita@chromium.org/269693003/20001
6 years, 6 months ago (2014-06-05 19:19:20 UTC) #15
commit-bot: I haz the power
6 years, 6 months ago (2014-06-05 19:40:16 UTC) #16
Message was sent while issue was closed.
Change committed as c3b589a24eb4d567a906189f882c259ecf5c2f58

Powered by Google App Engine
This is Rietveld 408576698