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

Issue 2259323003: GPU implementation of drawArc. (Closed)

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

Description

GPU implementation of drawArc. This adds analytic shaders for filled arcs and butt-cap stroked arcs where the center point is not used. BUG=skia:5227 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2259323003 Committed: https://skia.googlesource.com/skia/+/4f3a0ca85d28a8fc7fcc1ac5c4a1864c66bdea14

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : filled use center #

Patch Set 4 : new approach, with aa #

Patch Set 5 : update #

Patch Set 6 : cleanup #

Patch Set 7 : rebase #

Patch Set 8 : minor #

Total comments: 14

Patch Set 9 : Address comments and windows double->scalar warning #

Patch Set 10 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+445 lines, -97 lines) Patch
M include/gpu/GrDrawContext.h View 1 2 3 4 5 6 7 1 chunk +23 lines, -1 line 0 comments Download
M src/gpu/GrDrawContext.cpp View 1 2 3 4 5 6 1 chunk +38 lines, -0 lines 0 comments Download
M src/gpu/GrOvalRenderer.h View 2 chunks +11 lines, -4 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 1 2 3 4 5 6 7 8 9 20 chunks +352 lines, -92 lines 0 comments Download
M src/gpu/SkGpuDevice.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (7 generated)
bsalomon
4 years, 4 months ago (2016-08-22 16:41:51 UTC) #5
robertphillips
https://codereview.chromium.org/2259323003/diff/160001/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (right): https://codereview.chromium.org/2259323003/diff/160001/src/gpu/GrOvalRenderer.cpp#newcode668 src/gpu/GrOvalRenderer.cpp:668: batch->fClipPlane = true; space before '>' ? https://codereview.chromium.org/2259323003/diff/160001/src/gpu/GrOvalRenderer.cpp#newcode676 src/gpu/GrOvalRenderer.cpp:676: ...
4 years, 4 months ago (2016-08-22 19:02:52 UTC) #6
bsalomon
https://codereview.chromium.org/2259323003/diff/160001/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (right): https://codereview.chromium.org/2259323003/diff/160001/src/gpu/GrOvalRenderer.cpp#newcode668 src/gpu/GrOvalRenderer.cpp:668: batch->fClipPlane = true; On 2016/08/22 19:02:52, robertphillips wrote: > ...
4 years, 4 months ago (2016-08-22 19:18:27 UTC) #7
robertphillips
other than possible batch-bound issue, lgtm. https://codereview.chromium.org/2259323003/diff/160001/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (right): https://codereview.chromium.org/2259323003/diff/160001/src/gpu/GrOvalRenderer.cpp#newcode591 src/gpu/GrOvalRenderer.cpp:591: case SkStrokeRec::kStrokeAndFill_Style: results ...
4 years, 4 months ago (2016-08-22 19:43:34 UTC) #8
bsalomon
https://codereview.chromium.org/2259323003/diff/160001/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (right): https://codereview.chromium.org/2259323003/diff/160001/src/gpu/GrOvalRenderer.cpp#newcode591 src/gpu/GrOvalRenderer.cpp:591: case SkStrokeRec::kStrokeAndFill_Style: On 2016/08/22 19:43:34, robertphillips wrote: > results ...
4 years, 4 months ago (2016-08-22 19:46:40 UTC) #9
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/2259323003/200001
4 years, 4 months ago (2016-08-22 19:46:50 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-22 20:14:30 UTC) #14
Message was sent while issue was closed.
Committed patchset #10 (id:200001) as
https://skia.googlesource.com/skia/+/4f3a0ca85d28a8fc7fcc1ac5c4a1864c66bdea14

Powered by Google App Engine
This is Rietveld 408576698