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

Issue 1533953002: change signature for virtual related to saveLayer, passing SaveLayerRec (Closed)

Created:
5 years ago by reed1
Modified:
5 years ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

change signature for virtual related to saveLayer, passing SaveLayerRec BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1533953002 NOTREECHECKS=True Committed: https://skia.googlesource.com/skia/+/4960eeec4a1f2a772654883d7f3615d47bcd5dc3

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 16

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 6

Patch Set 8 : #

Total comments: 2

Patch Set 9 : remove assert #

Patch Set 10 : #

Total comments: 2

Patch Set 11 : update comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -150 lines) Patch
M include/core/SkCanvas.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +39 lines, -8 lines 0 comments Download
M include/private/SkRecords.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M include/utils/SkDumpCanvas.h View 1 chunk +1 line, -1 line 0 comments Download
M include/utils/SkLuaCanvas.h View 1 chunk +1 line, -1 line 0 comments Download
M include/utils/SkNWayCanvas.h View 1 chunk +1 line, -1 line 0 comments Download
M include/utils/SkNoSaveLayerCanvas.h View 1 2 3 4 5 6 1 chunk +2 lines, -3 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 5 6 9 chunks +54 lines, -27 lines 0 comments Download
M src/core/SkPictureFlat.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 chunk +9 lines, -2 lines 0 comments Download
M src/core/SkPictureRecord.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 1 2 3 4 6 chunks +17 lines, -16 lines 0 comments Download
M src/core/SkRecordDraw.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkRecorder.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkRecorder.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M src/core/SkRemote.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkRemote.cpp View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -9 lines 0 comments Download
M src/pipe/SkGPipeRead.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 2 chunks +9 lines, -10 lines 0 comments Download
M src/utils/SkDumpCanvas.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
M src/utils/SkLuaCanvas.cpp View 1 chunk +6 lines, -7 lines 0 comments Download
M src/utils/SkNWayCanvas.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M src/utils/debugger/SkDebugCanvas.h View 1 chunk +1 line, -1 line 0 comments Download
M src/utils/debugger/SkDebugCanvas.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M src/utils/debugger/SkDrawCommand.h View 2 chunks +6 lines, -7 lines 0 comments Download
M src/utils/debugger/SkDrawCommand.cpp View 1 chunk +14 lines, -15 lines 0 comments Download
M src/utils/debugger/SkObjectParser.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/utils/debugger/SkObjectParser.cpp View 1 2 3 4 5 1 chunk +5 lines, -8 lines 0 comments Download
M tests/PictureTest.cpp View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 64 (28 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/1
5 years ago (2015-12-17 18:57:22 UTC) #3
reed1
prepares us to add more state to SaveLayerRec in the future (e.g. backdrop)
5 years ago (2015-12-17 18:57:55 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot/builds/3191) Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on ...
5 years ago (2015-12-17 18:58:14 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/20001
5 years ago (2015-12-17 19:06:44 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Mips-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Mips-Debug-Android-Trybot/builds/4140)
5 years ago (2015-12-17 19:07:28 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/40001
5 years ago (2015-12-17 19:13:45 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/4903)
5 years ago (2015-12-17 19:15:46 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/60001
5 years ago (2015-12-17 19:18:16 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/4839)
5 years ago (2015-12-17 19:29:41 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/60001
5 years ago (2015-12-17 19:30:44 UTC) #22
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years ago (2015-12-17 19:30:45 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/60001
5 years ago (2015-12-17 19:30:53 UTC) #25
f(malita)
https://codereview.chromium.org/1533953002/diff/60001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/1533953002/diff/60001/include/core/SkCanvas.h#newcode397 include/core/SkCanvas.h:397: }; Since we don't really refer to the SaveLayerFlags ...
5 years ago (2015-12-17 19:40:49 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/80001
5 years ago (2015-12-17 19:45:14 UTC) #29
reed1
https://codereview.chromium.org/1533953002/diff/60001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/1533953002/diff/60001/include/core/SkCanvas.h#newcode1341 include/core/SkCanvas.h:1341: kDontSaveClip_PrivateSaveLayerFlag = 1 << 30, On 2015/12/17 19:40:49, f(malita) ...
5 years ago (2015-12-17 19:49:19 UTC) #30
reed1
https://codereview.chromium.org/1533953002/diff/60001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/1533953002/diff/60001/include/core/SkCanvas.h#newcode397 include/core/SkCanvas.h:397: }; On 2015/12/17 19:40:49, f(malita) wrote: > Since we ...
5 years ago (2015-12-17 19:53:27 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/100001
5 years ago (2015-12-17 19:53:44 UTC) #33
robertphillips
https://codereview.chromium.org/1533953002/diff/60001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/1533953002/diff/60001/include/core/SkCanvas.h#newcode1349 include/core/SkCanvas.h:1349: // These must not overlap the public flags. ?? ...
5 years ago (2015-12-17 19:53:57 UTC) #34
f(malita)
On 2015/12/17 19:49:19, reed1 wrote: > https://codereview.chromium.org/1533953002/diff/60001/include/core/SkCanvas.h > File include/core/SkCanvas.h (right): > > https://codereview.chromium.org/1533953002/diff/60001/include/core/SkCanvas.h#newcode1341 > ...
5 years ago (2015-12-17 19:57:43 UTC) #36
f(malita)
On 2015/12/17 19:57:43, f(malita) wrote: > On 2015/12/17 19:49:19, reed1 wrote: > > https://codereview.chromium.org/1533953002/diff/60001/include/core/SkCanvas.h > ...
5 years ago (2015-12-17 20:18:26 UTC) #37
reed1
https://codereview.chromium.org/1533953002/diff/60001/include/utils/SkNoSaveLayerCanvas.h File include/utils/SkNoSaveLayerCanvas.h (right): https://codereview.chromium.org/1533953002/diff/60001/include/utils/SkNoSaveLayerCanvas.h#newcode23 include/utils/SkNoSaveLayerCanvas.h:23: protected: On 2015/12/17 19:53:57, robertphillips wrote: > rm virtual ...
5 years ago (2015-12-17 20:22:31 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/120001
5 years ago (2015-12-17 20:23:27 UTC) #40
reed1
ptal https://codereview.chromium.org/1533953002/diff/60001/src/core/SkPictureFlat.h File src/core/SkPictureFlat.h (right): https://codereview.chromium.org/1533953002/diff/60001/src/core/SkPictureFlat.h#newcode79 src/core/SkPictureFlat.h:79: On 2015/12/17 19:53:57, robertphillips wrote: > This seems ...
5 years ago (2015-12-17 20:23:46 UTC) #41
f(malita)
https://codereview.chromium.org/1533953002/diff/120001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/1533953002/diff/120001/include/core/SkCanvas.h#newcode1245 include/core/SkCanvas.h:1245: kCallLegacyMethod_SaveLayerStrategy, // TEMPORARY until we can remove legacy willSaveLayer ...
5 years ago (2015-12-17 20:48:59 UTC) #42
reed1
https://codereview.chromium.org/1533953002/diff/120001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/1533953002/diff/120001/include/core/SkCanvas.h#newcode1245 include/core/SkCanvas.h:1245: kCallLegacyMethod_SaveLayerStrategy, // TEMPORARY until we can remove legacy willSaveLayer ...
5 years ago (2015-12-17 20:53:00 UTC) #43
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/140001
5 years ago (2015-12-17 20:53:22 UTC) #45
robertphillips
lgtm % question https://codereview.chromium.org/1533953002/diff/140001/src/core/SkRemote.cpp File src/core/SkRemote.cpp (right): https://codereview.chromium.org/1533953002/diff/140001/src/core/SkRemote.cpp#newcode177 src/core/SkRemote.cpp:177: fEncoder->saveLayer(this->id(path), this->commonIDs(*paint), rec.fSaveLayerFlags); So we're just ...
5 years ago (2015-12-17 20:59:52 UTC) #46
reed1
5 years ago (2015-12-17 21:06:19 UTC) #47
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/160001
5 years ago (2015-12-17 21:06:32 UTC) #49
reed1
https://codereview.chromium.org/1533953002/diff/140001/src/core/SkRemote.cpp File src/core/SkRemote.cpp (right): https://codereview.chromium.org/1533953002/diff/140001/src/core/SkRemote.cpp#newcode177 src/core/SkRemote.cpp:177: fEncoder->saveLayer(this->id(path), this->commonIDs(*paint), rec.fSaveLayerFlags); On 2015/12/17 20:59:52, robertphillips wrote: > ...
5 years ago (2015-12-17 21:07:32 UTC) #50
f(malita)
lgtm
5 years ago (2015-12-17 21:22:00 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/160001
5 years ago (2015-12-17 21:24:12 UTC) #55
f(malita)
https://codereview.chromium.org/1533953002/diff/180001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/1533953002/diff/180001/include/core/SkCanvas.h#newcode1254 include/core/SkCanvas.h:1254: virtual SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) { While reviewing the Chromium ...
5 years ago (2015-12-17 22:23:28 UTC) #58
reed1
https://codereview.chromium.org/1533953002/diff/180001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/1533953002/diff/180001/include/core/SkCanvas.h#newcode1254 include/core/SkCanvas.h:1254: virtual SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) { On 2015/12/17 22:23:28, f(malita) ...
5 years ago (2015-12-17 22:29:40 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533953002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533953002/200001
5 years ago (2015-12-18 14:55:17 UTC) #62
commit-bot: I haz the power
5 years ago (2015-12-18 15:09:23 UTC) #64
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://skia.googlesource.com/skia/+/4960eeec4a1f2a772654883d7f3615d47bcd5dc3

Powered by Google App Engine
This is Rietveld 408576698