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

Issue 311183002: Push dash checks into GrContext. (Closed)

Created:
6 years, 6 months ago by egdaniel
Modified:
6 years, 6 months ago
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Push dash checks into GrContext. Add class to hold stroke and dash info. R=bsalomon@google.com Committed: https://skia.googlesource.com/skia/+/d58a0ba9cff9fcefe5047e88ccb4a6e76c591c40

Patch Set 1 #

Patch Set 2 : Fix merge issue with bounder #

Total comments: 8

Patch Set 3 : Changes from reviewers comments #

Total comments: 35

Patch Set 4 : Move intervals into GrStrokeInfo and NITS #

Total comments: 6

Patch Set 5 : Fix cpy ctor and do setDashInfo in ctor #

Patch Set 6 : Merge issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -61 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M include/gpu/GrContext.h View 1 2 3 6 chunks +16 lines, -10 lines 0 comments Download
M src/gpu/GrAARectRenderer.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/GrBitmapTextContext.cpp View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 12 chunks +64 lines, -17 lines 0 comments Download
M src/gpu/GrDistanceFieldTextContext.cpp View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
A src/gpu/GrStrokeInfo.h View 1 2 3 4 5 1 chunk +88 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 14 chunks +53 lines, -26 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
egdaniel
This patch will depend on my previous cl (https://codereview.chromium.org/314623004/) to land first. This cl basically ...
6 years, 6 months ago (2014-06-04 18:57:36 UTC) #1
bsalomon
Adding Rob and Jim since this is a fairly big change to the GrContext API ...
6 years, 6 months ago (2014-06-04 19:05:04 UTC) #2
tfarina
I have updated the CL description. Please, for future patches, remember that the first line ...
6 years, 6 months ago (2014-06-04 19:10:38 UTC) #3
mtklein
On 2014/06/04 19:10:38, tfarina wrote: > I have updated the CL description. > > Please, ...
6 years, 6 months ago (2014-06-04 19:27:08 UTC) #4
robertphillips
https://codereview.chromium.org/311183002/diff/20001/src/gpu/GrPaintStyle.h File src/gpu/GrPaintStyle.h (right): https://codereview.chromium.org/311183002/diff/20001/src/gpu/GrPaintStyle.h#newcode14 src/gpu/GrPaintStyle.h:14: class GrPaintStyle { I also find PaintStyle less then ...
6 years, 6 months ago (2014-06-04 19:33:00 UTC) #5
egdaniel
https://codereview.chromium.org/311183002/diff/20001/src/gpu/GrPaintStyle.h File src/gpu/GrPaintStyle.h (right): https://codereview.chromium.org/311183002/diff/20001/src/gpu/GrPaintStyle.h#newcode14 src/gpu/GrPaintStyle.h:14: class GrPaintStyle { On 2014/06/04 19:05:05, bsalomon wrote: > ...
6 years, 6 months ago (2014-06-04 19:34:29 UTC) #6
bsalomon
On 2014/06/04 19:34:29, egdaniel wrote: > https://codereview.chromium.org/311183002/diff/20001/src/gpu/GrPaintStyle.h > File src/gpu/GrPaintStyle.h (right): > > https://codereview.chromium.org/311183002/diff/20001/src/gpu/GrPaintStyle.h#newcode14 > ...
6 years, 6 months ago (2014-06-04 19:39:01 UTC) #7
tfarina
On 2014/06/04 19:27:08, mtklein wrote: > Woah, Thiago, do not edit other people's CLs like ...
6 years, 6 months ago (2014-06-04 19:48:58 UTC) #8
egdaniel
https://codereview.chromium.org/311183002/diff/20001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): https://codereview.chromium.org/311183002/diff/20001/src/gpu/GrContext.cpp#newcode797 src/gpu/GrContext.cpp:797: if (SkDashPath::FilterDashPath(effectPath.init(), path, stroke, cullRect, *info)) { On 2014/06/04 ...
6 years, 6 months ago (2014-06-05 17:18:16 UTC) #9
robertphillips
https://codereview.chromium.org/311183002/diff/40001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.chromium.org/311183002/diff/40001/include/gpu/GrContext.h#newcode455 include/gpu/GrContext.h:455: * @param paint describes how to color pixels. strokeInfo ...
6 years, 6 months ago (2014-06-05 18:28:03 UTC) #10
robertphillips
6 years, 6 months ago (2014-06-05 18:28:03 UTC) #11
egdaniel
https://codereview.chromium.org/311183002/diff/40001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.chromium.org/311183002/diff/40001/include/gpu/GrContext.h#newcode455 include/gpu/GrContext.h:455: * @param paint describes how to color pixels. On ...
6 years, 6 months ago (2014-06-05 19:07:25 UTC) #12
bsalomon
https://codereview.chromium.org/311183002/diff/40001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): https://codereview.chromium.org/311183002/diff/40001/src/gpu/GrContext.cpp#newcode780 src/gpu/GrContext.cpp:780: const GrStrokeInfo* strokeInfo, Why does this take a StrokeRec* ...
6 years, 6 months ago (2014-06-05 19:22:54 UTC) #13
egdaniel
https://codereview.chromium.org/311183002/diff/40001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): https://codereview.chromium.org/311183002/diff/40001/src/gpu/GrContext.cpp#newcode780 src/gpu/GrContext.cpp:780: const GrStrokeInfo* strokeInfo, On 2014/06/05 19:22:54, bsalomon wrote: > ...
6 years, 6 months ago (2014-06-05 20:18:17 UTC) #14
egdaniel
ptal
6 years, 6 months ago (2014-06-05 20:31:37 UTC) #15
bsalomon
https://codereview.chromium.org/311183002/diff/80001/src/gpu/GrStrokeInfo.h File src/gpu/GrStrokeInfo.h (right): https://codereview.chromium.org/311183002/diff/80001/src/gpu/GrStrokeInfo.h#newcode27 src/gpu/GrStrokeInfo.h:27: fDashInfo = src.fDashInfo; Don't you have to copy the ...
6 years, 6 months ago (2014-06-05 20:43:32 UTC) #16
egdaniel
https://codereview.chromium.org/311183002/diff/80001/src/gpu/GrStrokeInfo.h File src/gpu/GrStrokeInfo.h (right): https://codereview.chromium.org/311183002/diff/80001/src/gpu/GrStrokeInfo.h#newcode27 src/gpu/GrStrokeInfo.h:27: fDashInfo = src.fDashInfo; On 2014/06/05 20:43:32, bsalomon wrote: > ...
6 years, 6 months ago (2014-06-05 21:12:09 UTC) #17
bsalomon
lgtm
6 years, 6 months ago (2014-06-05 21:18:58 UTC) #18
egdaniel
The CQ bit was checked by egdaniel@google.com
6 years, 6 months ago (2014-06-11 17:18:37 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/egdaniel@google.com/311183002/120001
6 years, 6 months ago (2014-06-11 17:19:03 UTC) #20
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 17:30:09 UTC) #21
Message was sent while issue was closed.
Change committed as d58a0ba9cff9fcefe5047e88ccb4a6e76c591c40

Powered by Google App Engine
This is Rietveld 408576698