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

Issue 2257023003: Plumb drawArc to SkDevice (Closed)

Created:
4 years, 4 months ago by bsalomon
Modified:
4 years, 4 months ago
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@distance
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Plumb drawArc to SkDevice. Plumbs the drawArc canvas method down to SkDevice without converting to a path. Plumbs through the various recording canvas classes. BUG=skia:5227 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2257023003 Committed: https://skia.googlesource.com/skia/+/ac3aa245acc7b469aa2f0d0078e53401d78ac8b9

Patch Set 1 #

Patch Set 2 : cargo cult #

Patch Set 3 : compiling #

Patch Set 4 : working #

Total comments: 7

Patch Set 5 : cleanup #

Total comments: 5

Patch Set 6 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -16 lines) Patch
M include/core/SkCanvas.h View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M include/core/SkDevice.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M include/private/SkRecords.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M include/utils/SkDumpCanvas.h View 2 chunks +2 lines, -0 lines 0 comments Download
M include/utils/SkLuaCanvas.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M include/utils/SkNWayCanvas.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M include/utils/SkPaintFilterCanvas.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 5 2 chunks +24 lines, -9 lines 0 comments Download
M src/core/SkDevice.cpp View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M src/core/SkLiteDL.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkLiteDL.cpp View 1 2 3 3 chunks +21 lines, -2 lines 0 comments Download
M src/core/SkLiteRecorder.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkLiteRecorder.cpp View 1 1 chunk +5 lines, -1 line 0 comments Download
M src/core/SkPictureFlat.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M src/core/SkPictureRecord.h View 1 4 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M src/core/SkRecordDraw.cpp View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M src/core/SkRecorder.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkRecorder.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/utils/SkDeferredCanvas.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/utils/SkDeferredCanvas.cpp View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/utils/SkDumpCanvas.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M src/utils/SkLuaCanvas.cpp View 1 1 chunk +10 lines, -0 lines 0 comments Download
M src/utils/SkNWayCanvas.cpp View 1 1 chunk +8 lines, -0 lines 0 comments Download
M src/utils/SkPaintFilterCanvas.cpp View 1 1 chunk +8 lines, -0 lines 0 comments Download
M src/utils/SkShadowPaintFilterCanvas.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/utils/SkShadowPaintFilterCanvas.cpp View 1 1 chunk +8 lines, -0 lines 0 comments Download
M tools/android/SkAndroidSDKCanvas.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M tools/android/SkAndroidSDKCanvas.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M tools/debugger/SkDebugCanvas.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/debugger/SkDebugCanvas.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M tools/debugger/SkDrawCommand.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M tools/debugger/SkDrawCommand.cpp View 1 2 2 chunks +61 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 17 (8 generated)
bsalomon
More canvas classes please!
4 years, 4 months ago (2016-08-19 15:19:29 UTC) #4
reed1
https://codereview.chromium.org/2257023003/diff/60001/include/core/SkDrawFilter.h File include/core/SkDrawFilter.h (right): https://codereview.chromium.org/2257023003/diff/60001/include/core/SkDrawFilter.h#newcode36 include/core/SkDrawFilter.h:36: kArc_Type, Is this necessary, given that we're trying to ...
4 years, 4 months ago (2016-08-19 15:55:30 UTC) #5
mtklein
All the recording stuff (anything that says picture,lite,record,etc.) looked good to me as I watched ...
4 years, 4 months ago (2016-08-19 15:59:08 UTC) #6
reed1
lgtm
4 years, 4 months ago (2016-08-19 16:07:53 UTC) #7
robertphillips
lgtm https://codereview.chromium.org/2257023003/diff/80001/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/2257023003/diff/80001/src/core/SkCanvas.cpp#newcode2278 src/core/SkCanvas.cpp:2278: const SkPaint& paint) { drawArc -> onDrawArc ? ...
4 years, 4 months ago (2016-08-19 16:13:52 UTC) #9
bsalomon
https://codereview.chromium.org/2257023003/diff/60001/include/core/SkDrawFilter.h File include/core/SkDrawFilter.h (right): https://codereview.chromium.org/2257023003/diff/60001/include/core/SkDrawFilter.h#newcode36 include/core/SkDrawFilter.h:36: kArc_Type, On 2016/08/19 15:55:30, reed1 wrote: > Is this ...
4 years, 4 months ago (2016-08-19 16:14:34 UTC) #10
bsalomon
https://codereview.chromium.org/2257023003/diff/60001/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/2257023003/diff/60001/src/core/SkCanvas.cpp#newcode3103 src/core/SkCanvas.cpp:3103: TRACE_EVENT0("disabled-by-default-skia", "SkCanvas::drawArc()"); On 2016/08/19 16:14:34, bsalomon wrote: > On ...
4 years, 4 months ago (2016-08-19 16:37:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2257023003/100001
4 years, 4 months ago (2016-08-19 17:56:29 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 18:25:24 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/ac3aa245acc7b469aa2f0d0078e53401d78ac8b9

Powered by Google App Engine
This is Rietveld 408576698