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

Issue 803913005: Remove SkCanvas::isDrawingToLayer (Closed)

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

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : moar cleanup #

Total comments: 3

Patch Set 3 : moar moar cleanup #

Total comments: 1

Patch Set 4 : init fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -139 lines) Patch
M experimental/PdfViewer/SkNulCanvas.h View 1 chunk +0 lines, -1 line 0 comments Download
M include/core/SkCanvas.h View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M include/utils/SkDeferredCanvas.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M src/core/SkCanvas.cpp View 1 2 4 chunks +0 lines, -11 lines 0 comments Download
M src/core/SkPictureRecord.h View 1 2 2 chunks +0 lines, -5 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 1 2 4 chunks +0 lines, -12 lines 0 comments Download
M src/core/SkRecorder.h View 1 2 chunks +0 lines, -3 lines 0 comments Download
M src/core/SkRecorder.cpp View 1 3 chunks +2 lines, -16 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 1 2 5 chunks +0 lines, -18 lines 0 comments Download
M src/utils/SkDeferredCanvas.cpp View 1 2 3 9 chunks +20 lines, -5 lines 0 comments Download
M tests/CanvasTest.cpp View 2 chunks +0 lines, -35 lines 0 comments Download
M tests/RecorderTest.cpp View 1 chunk +0 lines, -26 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
Justin Novosad
PTAL
6 years ago (2014-12-15 17:16:53 UTC) #2
mtklein
https://codereview.chromium.org/803913005/diff/1/src/core/SkRecorder.cpp File src/core/SkRecorder.cpp (left): https://codereview.chromium.org/803913005/diff/1/src/core/SkRecorder.cpp#oldcode347 src/core/SkRecorder.cpp:347: return fSaveLayerCount > 0; Mind removing fSaveLayerCount and fSaveIsSaveLayer ...
6 years ago (2014-12-15 17:21:03 UTC) #4
Justin Novosad
On 2014/12/15 17:21:03, mtklein wrote: > Mind removing fSaveLayerCount and fSaveIsSaveLayer entirely? Done
6 years ago (2014-12-15 17:27:47 UTC) #5
mtklein
Duh, I should have looked harder at the other files last time. I think we've ...
6 years ago (2014-12-15 17:33:34 UTC) #6
reed1
https://codereview.chromium.org/803913005/diff/1/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/803913005/diff/1/include/core/SkCanvas.h#newcode1248 include/core/SkCanvas.h:1248: int fSaveLayerCount; // number of successful saveLayer calls I ...
6 years ago (2014-12-15 18:05:30 UTC) #7
Justin Novosad
On 2014/12/15 17:33:34, mtklein wrote: > Duh, I should have looked harder at the other ...
6 years ago (2014-12-15 18:39:18 UTC) #8
Justin Novosad
New Patch
6 years ago (2014-12-15 18:59:29 UTC) #9
reed1
looks yummy to me lgtm
6 years ago (2014-12-15 19:03:38 UTC) #10
mtklein
lgtm too https://codereview.chromium.org/803913005/diff/40001/src/utils/SkDeferredCanvas.cpp File src/utils/SkDeferredCanvas.cpp (right): https://codereview.chromium.org/803913005/diff/40001/src/utils/SkDeferredCanvas.cpp#newcode691 src/utils/SkDeferredCanvas.cpp:691: if (fFirstSaveLayerIndex == kNoSaveLayerIndex) { It was ...
6 years ago (2014-12-15 19:05:25 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/803913005/40001
6 years ago (2014-12-15 19:06:55 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-Shared-Trybot/builds/1187)
6 years ago (2014-12-15 19:14:55 UTC) #15
Justin Novosad
On 2014/12/15 19:14:55, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years ago (2014-12-15 19:22:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/803913005/60001
6 years ago (2014-12-15 19:24:26 UTC) #18
commit-bot: I haz the power
6 years ago (2014-12-15 19:34:11 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/3fcc125c776c837aa858598ce385f5c6f8f01795

Powered by Google App Engine
This is Rietveld 408576698