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

Issue 23712005: Add bevel-stroke support in GrAARectRenderer (Closed)

Created:
7 years, 3 months ago by yunchao
Modified:
7 years, 1 month ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Add bevel-stroke support in GrAARectRenderer Committed: http://code.google.com/p/skia/source/detail?r=12082 Committed: http://code.google.com/p/skia/source/detail?r=12148

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 7

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 15

Patch Set 8 : remove changes for GM/rects.cpp, and revised the code according to Brian and Rob's suggestions #

Total comments: 1

Patch Set 9 : fix small bugs #

Patch Set 10 : fix small bugs #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -66 lines) Patch
M include/gpu/GrContext.h View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -5 lines 0 comments Download
M src/gpu/GrAARectRenderer.h View 1 2 3 4 5 6 7 6 chunks +12 lines, -7 lines 0 comments Download
M src/gpu/GrAARectRenderer.cpp View 1 2 3 4 5 6 7 8 9 11 chunks +159 lines, -40 lines 1 comment Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -4 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -10 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
yunchao
This can benefit bevel-stroke rasterization through HW-acceleration. Take bench case draw_stroke_rect_bevel for example, the improvement ...
7 years, 3 months ago (2013-09-13 09:22:44 UTC) #1
yunchao
On 2013/09/13 09:22:44, yunchao wrote: Any suggestion about this?
7 years, 3 months ago (2013-09-17 14:20:11 UTC) #2
yunchao
On 2013/09/13 09:22:44, yunchao wrote: Any suggestion about this?
7 years, 3 months ago (2013-09-17 14:20:15 UTC) #3
bsalomon
Do we have GMs that handle interesting mitered rect cases? (e.g. small mitered rects, wide ...
7 years, 3 months ago (2013-09-17 14:40:20 UTC) #4
bsalomon
https://codereview.chromium.org/23712005/diff/16001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/23712005/diff/16001/src/gpu/SkGpuDevice.cpp#newcode642 src/gpu/SkGpuDevice.cpp:642: bool usePath = doStroke && width > 0 && ...
7 years, 3 months ago (2013-09-17 14:43:48 UTC) #5
bsalomon
https://codereview.chromium.org/23712005/diff/16001/src/gpu/GrAARectRenderer.cpp File src/gpu/GrAARectRenderer.cpp (right): https://codereview.chromium.org/23712005/diff/16001/src/gpu/GrAARectRenderer.cpp#newcode400 src/gpu/GrAARectRenderer.cpp:400: gpu->createIndexBuffer(miterStroke ? I don't think this is right. This ...
7 years, 3 months ago (2013-09-17 15:03:47 UTC) #6
yunchao
https://codereview.chromium.org/23712005/diff/16001/include/gpu/GrContext.h File include/gpu/GrContext.h (right): https://codereview.chromium.org/23712005/diff/16001/include/gpu/GrContext.h#newcode404 include/gpu/GrContext.h:404: bool miterStroke = true); On 2013/09/17 14:40:20, bsalomon wrote: ...
7 years, 3 months ago (2013-09-22 08:36:37 UTC) #7
yunchao
On 2013/09/22 08:36:37, yunchao wrote: > https://codereview.chromium.org/23712005/diff/16001/include/gpu/GrContext.h > File include/gpu/GrContext.h (right): > > https://codereview.chromium.org/23712005/diff/16001/include/gpu/GrContext.h#newcode404 > ...
7 years, 3 months ago (2013-09-25 08:55:36 UTC) #8
bsalomon
I'd like to see a GM that exercises this code path in various ways: opaque, ...
7 years, 2 months ago (2013-09-25 15:26:24 UTC) #9
yunchao
On 2013/09/25 15:26:24, bsalomon wrote: > I'd like to see a GM that exercises this ...
7 years, 2 months ago (2013-10-23 08:54:26 UTC) #10
yunchao
Hi, all, any suggestions about this?
7 years, 1 month ago (2013-10-30 06:54:37 UTC) #11
yunchao
On 2013/10/30 06:54:37, yunchao wrote: > Hi, all, any suggestions about this? Should I separate ...
7 years, 1 month ago (2013-10-30 10:05:54 UTC) #12
bsalomon
On 2013/10/30 10:05:54, yunchao wrote: > On 2013/10/30 06:54:37, yunchao wrote: > > Hi, all, ...
7 years, 1 month ago (2013-10-30 14:12:51 UTC) #13
bsalomon
https://codereview.chromium.org/23712005/diff/39001/src/gpu/GrAARectRenderer.cpp File src/gpu/GrAARectRenderer.cpp (right): https://codereview.chromium.org/23712005/diff/39001/src/gpu/GrAARectRenderer.cpp#newcode391 src/gpu/GrAARectRenderer.cpp:391: GrIndexBuffer* GrAARectRenderer::aaStrokeRectIndexBuffer(GrGpu* gpu, this can stay as one line ...
7 years, 1 month ago (2013-10-30 14:13:01 UTC) #14
robertphillips
Overall lgtm. I would like a big comment somewhere talking about the geometry used for ...
7 years, 1 month ago (2013-10-30 14:36:08 UTC) #15
robertphillips
Do you have any performance information?
7 years, 1 month ago (2013-10-30 14:36:36 UTC) #16
yunchao
I revised the CL according to your suggestions, thank you! https://codereview.chromium.org/23712005/diff/39001/src/gpu/GrAARectRenderer.cpp File src/gpu/GrAARectRenderer.cpp (right): https://codereview.chromium.org/23712005/diff/39001/src/gpu/GrAARectRenderer.cpp#newcode360 ...
7 years, 1 month ago (2013-10-31 07:47:22 UTC) #17
yunchao
On 2013/10/30 14:36:36, robertphillips wrote: > Do you have any performance information? Hi, According to ...
7 years, 1 month ago (2013-10-31 07:53:18 UTC) #18
bsalomon
lgtm https://codereview.chromium.org/23712005/diff/179001/src/gpu/GrAARectRenderer.cpp File src/gpu/GrAARectRenderer.cpp (right): https://codereview.chromium.org/23712005/diff/179001/src/gpu/GrAARectRenderer.cpp#newcode370 src/gpu/GrAARectRenderer.cpp:370: * 4 7 nice!
7 years, 1 month ago (2013-10-31 13:13:50 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/yunchao.he@intel.com/23712005/179001
7 years, 1 month ago (2013-11-01 12:31:31 UTC) #20
commit-bot: I haz the power
Change committed as 12082
7 years, 1 month ago (2013-11-01 15:23:22 UTC) #21
robertphillips
This was reverted in r12091. This CL caused the following GM tests to fail: thinstrokerects ...
7 years, 1 month ago (2013-11-01 19:27:32 UTC) #22
f(malita)
There've also been a bunch of Mac & Win perf bot crashes around this CL, ...
7 years, 1 month ago (2013-11-01 21:10:22 UTC) #23
yunchao
On 2013/11/01 19:27:32, robertphillips wrote: > This was reverted in r12091. > > This CL ...
7 years, 1 month ago (2013-11-04 09:50:09 UTC) #24
yunchao
Hi, Brian and Rob, the bug of GM difference and crash problem are fixed, They ...
7 years, 1 month ago (2013-11-05 04:58:30 UTC) #25
robertphillips
lgtm
7 years, 1 month ago (2013-11-05 13:52:11 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/yunchao.he@intel.com/23712005/379001
7 years, 1 month ago (2013-11-06 01:19:29 UTC) #27
commit-bot: I haz the power
7 years, 1 month ago (2013-11-06 10:08:24 UTC) #28
Message was sent while issue was closed.
Change committed as 12148

Powered by Google App Engine
This is Rietveld 408576698