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

Issue 80483002: add convex and concave polygons GM test (Closed)

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

Description

Non-rect polygons are not covered in GM cases, such as triangle, trapezoid, diamond, polygons with lots of edges, concave polygons, etc, especially for stroke-style and stroke-and-fill style painters. So add a GM case to avoid potential rendering errors. Committed: http://code.google.com/p/skia/source/detail?r=12413

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : avoid totally transparent effect #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -0 lines) Patch
A gm/polygons.cpp View 1 2 3 4 5 6 1 chunk +167 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
yunchao
7 years, 1 month ago (2013-11-21 11:11:26 UTC) #1
robertphillips
https://codereview.chromium.org/80483002/diff/60001/gm/polygons.cpp File gm/polygons.cpp (right): https://codereview.chromium.org/80483002/diff/60001/gm/polygons.cpp#newcode13 gm/polygons.cpp:13: I think you should remove this (SkOnce) and just ...
7 years, 1 month ago (2013-11-21 13:59:01 UTC) #2
yunchao
On 2013/11/21 13:59:01, robertphillips wrote: > https://codereview.chromium.org/80483002/diff/60001/gm/polygons.cpp > File gm/polygons.cpp (right): > > https://codereview.chromium.org/80483002/diff/60001/gm/polygons.cpp#newcode13 > ...
7 years, 1 month ago (2013-11-22 07:02:04 UTC) #3
robertphillips
Looking good - just 2 more nits. Could you e-mail us (Brian & me) an ...
7 years, 1 month ago (2013-11-22 13:27:04 UTC) #4
yunchao
On 2013/11/22 13:27:04, robertphillips wrote: > Looking good - just 2 more nits. Could you ...
7 years, 1 month ago (2013-11-22 15:22:26 UTC) #5
yunchao
Hi Brian and Rob, do you know why the trybot failed?
7 years ago (2013-11-25 17:41:52 UTC) #6
robertphillips
polygons.cpp(35): error C2146: syntax error : missing ';' before identifier 'override' [C:\0\Test-Win7-ShuttleA-HD2000-x86-Release-ANGLE-Trybot\build\skia\out\gyp\SampleApp.vcxproj] polygons.cpp(35): error C2182: ...
7 years ago (2013-11-25 18:00:51 UTC) #7
robertphillips
On 2013/11/25 18:00:51, robertphillips wrote: > polygons.cpp(35): error C2146: syntax error : missing ';' before ...
7 years ago (2013-11-25 18:02:11 UTC) #8
yunchao
On 2013/11/25 18:02:11, robertphillips wrote: > On 2013/11/25 18:00:51, robertphillips wrote: > > polygons.cpp(35): error ...
7 years ago (2013-11-26 05:13:57 UTC) #9
robertphillips
lgtm
7 years ago (2013-11-26 15:50:16 UTC) #10
robertphillips
We are (hopefully) going to review/update/formalize all the permissions & how to get those permissions ...
7 years ago (2013-11-26 15:51:44 UTC) #11
yunchao
On 2013/11/26 15:51:44, robertphillips wrote: > We are (hopefully) going to review/update/formalize all the permissions ...
7 years ago (2013-11-26 15:53:57 UTC) #12
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/80483002/260001
7 years ago (2013-11-27 00:58:48 UTC) #13
commit-bot: I haz the power
Change committed as 12413
7 years ago (2013-11-27 01:24:56 UTC) #14
bungeman-skia
See also follow-up https://code.google.com/p/skia/source/detail?r=12418 which replaces 'cos' and 'sin' with 'SkScalarCos' and 'SkScalarSin'.
7 years ago (2013-11-27 16:30:22 UTC) #15
yunchao
7 years ago (2013-11-28 01:12:03 UTC) #16
Message was sent while issue was closed.
On 2013/11/27 16:30:22, bungeman1 wrote:
> See also follow-up https://code.google.com/p/skia/source/detail?r=12418 which
> replaces 'cos' and 'sin' with 'SkScalarCos' and 'SkScalarSin'.

Thank you, I will be aware of this.

Powered by Google App Engine
This is Rietveld 408576698