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

Issue 2125663003: Add gm that tests shaded stroked rectangles. (Closed)

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

Description

Add gm that tests shaded stroked rectangles. Fix GPU handling of previously untested cases. Move rect->path fallback from SkGpuDevice to GrDrawContext. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2125663003 Committed: https://skia.googlesource.com/skia/+/a7d85ba138ee09739defbd277b04c479fdef82a6

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 24

Patch Set 3 : Address comments #

Patch Set 4 : Address more comments #

Total comments: 3

Patch Set 5 : Make test create factory only use miter join #

Patch Set 6 : fix windows double->scalar warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -102 lines) Patch
A gm/stroke_rect_shader.cpp View 1 2 3 4 5 1 chunk +61 lines, -0 lines 0 comments Download
M include/core/SkPaint.h View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M src/gpu/GrDrawContext.cpp View 1 2 3 2 chunks +44 lines, -21 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 chunk +2 lines, -17 lines 0 comments Download
M src/gpu/batches/GrAAStrokeRectBatch.h View 1 chunk +1 line, -7 lines 0 comments Download
M src/gpu/batches/GrAAStrokeRectBatch.cpp View 3 chunks +21 lines, -29 lines 0 comments Download
M src/gpu/batches/GrNonAAStrokeRectBatch.h View 2 chunks +3 lines, -8 lines 0 comments Download
M src/gpu/batches/GrNonAAStrokeRectBatch.cpp View 1 2 3 4 2 chunks +20 lines, -15 lines 0 comments Download
M src/gpu/batches/GrRectBatchFactory.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrDashingEffect.cpp View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 27 (13 generated)
bsalomon
4 years, 5 months ago (2016-07-06 02:46:18 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2125663003/20001
4 years, 5 months ago (2016-07-06 02:47:41 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/9530)
4 years, 5 months ago (2016-07-06 02:53:52 UTC) #8
robertphillips
https://codereview.chromium.org/2125663003/diff/20001/gm/stroke_rect_shader.cpp File gm/stroke_rect_shader.cpp (right): https://codereview.chromium.org/2125663003/diff/20001/gm/stroke_rect_shader.cpp#newcode1 gm/stroke_rect_shader.cpp:1: /* What's up with the naming of this file? ...
4 years, 5 months ago (2016-07-06 15:01:48 UTC) #9
bsalomon
https://codereview.chromium.org/2125663003/diff/20001/gm/stroke_rect_shader.cpp File gm/stroke_rect_shader.cpp (right): https://codereview.chromium.org/2125663003/diff/20001/gm/stroke_rect_shader.cpp#newcode1 gm/stroke_rect_shader.cpp:1: /* On 2016/07/06 15:01:47, robertphillips wrote: > What's up ...
4 years, 5 months ago (2016-07-06 15:57:54 UTC) #10
robertphillips
lgtm https://codereview.chromium.org/2125663003/diff/60001/src/gpu/batches/GrNonAAStrokeRectBatch.cpp File src/gpu/batches/GrNonAAStrokeRectBatch.cpp (right): https://codereview.chromium.org/2125663003/diff/60001/src/gpu/batches/GrNonAAStrokeRectBatch.cpp#newcode246 src/gpu/batches/GrNonAAStrokeRectBatch.cpp:246: SkScalar strokeWidth = random->nextBool() ? 0.0f : 1.0f; ...
4 years, 5 months ago (2016-07-06 17:08:30 UTC) #11
bsalomon
https://codereview.chromium.org/2125663003/diff/60001/src/gpu/batches/GrNonAAStrokeRectBatch.cpp File src/gpu/batches/GrNonAAStrokeRectBatch.cpp (right): https://codereview.chromium.org/2125663003/diff/60001/src/gpu/batches/GrNonAAStrokeRectBatch.cpp#newcode246 src/gpu/batches/GrNonAAStrokeRectBatch.cpp:246: SkScalar strokeWidth = random->nextBool() ? 0.0f : 1.0f; On ...
4 years, 5 months ago (2016-07-06 17:13:40 UTC) #12
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/2125663003/60001
4 years, 5 months ago (2016-07-06 17:13:52 UTC) #14
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/2125663003/80001
4 years, 5 months ago (2016-07-06 17:23:25 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/9589)
4 years, 5 months ago (2016-07-06 17:34:58 UTC) #20
bsalomon
https://codereview.chromium.org/2125663003/diff/60001/src/gpu/batches/GrNonAAStrokeRectBatch.cpp File src/gpu/batches/GrNonAAStrokeRectBatch.cpp (right): https://codereview.chromium.org/2125663003/diff/60001/src/gpu/batches/GrNonAAStrokeRectBatch.cpp#newcode246 src/gpu/batches/GrNonAAStrokeRectBatch.cpp:246: SkScalar strokeWidth = random->nextBool() ? 0.0f : 1.0f; On ...
4 years, 5 months ago (2016-07-06 17:40:50 UTC) #21
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/2125663003/30011
4 years, 5 months ago (2016-07-06 17:43:32 UTC) #24
commit-bot: I haz the power
Committed patchset #6 (id:30011) as https://skia.googlesource.com/skia/+/a7d85ba138ee09739defbd277b04c479fdef82a6
4 years, 5 months ago (2016-07-06 18:55:03 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 18:55:06 UTC) #27
Message was sent while issue was closed.
CQ bit was unchecked.

Powered by Google App Engine
This is Rietveld 408576698