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

Issue 190723004: flag to make kClipToLayer_SaveFlag the default behavior (Closed)

Created:
6 years, 9 months ago by reed1
Modified:
6 years, 9 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

flag to make kClipToLayer_SaveFlag the default behavior #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG to get the old behavior The goal is to remove the feature of saveLayer that allows the canvas to draw outside of the top-most layer. R=robertphillips@google.com, scroggo@google.com Committed: https://code.google.com/p/skia/source/detail?r=13730

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : officially ignore the gm that was exercising this (now removed) feature #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -2 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M gm/canvasstate.cpp View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M include/core/SkCanvas.h View 1 2 3 4 5 2 chunks +11 lines, -1 line 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M tests/CanvasStateTest.cpp View 1 2 3 5 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
reed1
This one is tricky, since we want to catch callers who *didn't* specify the flag.
6 years, 9 months ago (2014-03-07 19:36:06 UTC) #1
robertphillips
lgtm
6 years, 9 months ago (2014-03-07 19:46:01 UTC) #2
scroggo
lgtm https://codereview.chromium.org/190723004/diff/20001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/190723004/diff/20001/include/core/SkCanvas.h#newcode331 include/core/SkCanvas.h:331: kClipToLayer_SaveFlag = 0x10, Maybe add a comment here? ...
6 years, 9 months ago (2014-03-07 19:52:31 UTC) #3
reed1
https://codereview.chromium.org/190723004/diff/20001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/190723004/diff/20001/include/core/SkCanvas.h#newcode331 include/core/SkCanvas.h:331: kClipToLayer_SaveFlag = 0x10, On 2014/03/07 19:52:31, scroggo wrote: > ...
6 years, 9 months ago (2014-03-07 20:02:41 UTC) #4
reed1
I *think* this is a non-issue for Chrome, but maybe tricky for android...
6 years, 9 months ago (2014-03-07 20:03:59 UTC) #5
reed1
I expect the canvas-layer-state gm to fail, as I've basically killed that gm.
6 years, 9 months ago (2014-03-07 20:05:00 UTC) #6
scroggo
On 2014/03/07 20:03:59, reed1 wrote: > I *think* this is a non-issue for Chrome, but ...
6 years, 9 months ago (2014-03-07 20:08:32 UTC) #7
scroggo
On 2014/03/07 20:05:00, reed1 wrote: > I expect the canvas-layer-state gm to fail, as I've ...
6 years, 9 months ago (2014-03-07 20:09:10 UTC) #8
reed1
The CQ bit was checked by reed@google.com
6 years, 9 months ago (2014-03-10 18:21:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/190723004/90001
6 years, 9 months ago (2014-03-10 18:21:51 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-10 19:36:46 UTC) #11
commit-bot: I haz the power
Failed to apply patch for expectations/gm/ignored-tests.txt: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-10 19:36:46 UTC) #12
reed1
6 years, 9 months ago (2014-03-10 19:48:03 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 manually as r13730 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698