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

Issue 262113003: update unittest EmptyPath -- do not inverse-stroke a path (Closed)

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

Description

update unittest EmptyPath -- do not inverse-stroke a path BUG=skia:2222

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M tests/EmptyPathTest.cpp View 4 chunks +6 lines, -4 lines 2 comments Download

Messages

Total messages: 11 (0 generated)
yunchao
6 years, 7 months ago (2014-05-04 06:14:48 UTC) #1
bsalomon
https://codereview.chromium.org/262113003/diff/1/tests/EmptyPathTest.cpp File tests/EmptyPathTest.cpp (right): https://codereview.chromium.org/262113003/diff/1/tests/EmptyPathTest.cpp#newcode83 tests/EmptyPathTest.cpp:83: bool shouldDraw = path.isInverseFillType() && what about kStrokeAndFill? Shouldn't ...
6 years, 7 months ago (2014-05-05 13:47:49 UTC) #2
yunchao
https://codereview.chromium.org/262113003/diff/1/tests/EmptyPathTest.cpp File tests/EmptyPathTest.cpp (right): https://codereview.chromium.org/262113003/diff/1/tests/EmptyPathTest.cpp#newcode83 tests/EmptyPathTest.cpp:83: bool shouldDraw = path.isInverseFillType() && On 2014/05/05 13:47:49, bsalomon ...
6 years, 7 months ago (2014-05-05 15:01:42 UTC) #3
bsalomon
On 2014/05/05 15:01:42, Richard Ho wrote: > https://codereview.chromium.org/262113003/diff/1/tests/EmptyPathTest.cpp > File tests/EmptyPathTest.cpp (right): > > https://codereview.chromium.org/262113003/diff/1/tests/EmptyPathTest.cpp#newcode83 ...
6 years, 7 months ago (2014-05-05 17:53:19 UTC) #4
yunchao
On 2014/05/05 17:53:19, bsalomon wrote: > On 2014/05/05 15:01:42, Richard Ho wrote: > > https://codereview.chromium.org/262113003/diff/1/tests/EmptyPathTest.cpp ...
6 years, 7 months ago (2014-05-05 23:44:18 UTC) #5
bsalomon
On 2014/05/05 23:44:18, Richard Ho wrote: > On 2014/05/05 17:53:19, bsalomon wrote: > > On ...
6 years, 7 months ago (2014-05-06 13:22:51 UTC) #6
yunchao
On 2014/05/06 13:22:51, bsalomon wrote: > On 2014/05/05 23:44:18, Richard Ho wrote: > > On ...
6 years, 7 months ago (2014-05-06 13:44:38 UTC) #7
yunchao
On 2014/05/06 13:44:38, Richard Ho wrote: > On 2014/05/06 13:22:51, bsalomon wrote: > > On ...
6 years, 7 months ago (2014-05-08 13:28:19 UTC) #8
bsalomon
After talking with Mike today I think the plan is to remove kStrokeAndFill.
6 years, 7 months ago (2014-05-08 18:31:12 UTC) #9
yunchao
On 2014/05/08 18:31:12, bsalomon wrote: > After talking with Mike today I think the plan ...
6 years, 7 months ago (2014-05-09 05:20:36 UTC) #10
yunchao
6 years, 7 months ago (2014-05-12 06:06:05 UTC) #11
On 2014/05/09 05:20:36, Richard Ho wrote:
> On 2014/05/08 18:31:12, bsalomon wrote:
> > After talking with Mike today I think the plan is to remove kStrokeAndFill.
> 
> Wow, this is a big change. It may be not difficult, but will impact lots of
> code. I can help on this if you begin to do this. 
> I think it can be done by 2 steps: 
> 1) make sure there are no callers use kStrokeAndFill style. use stroke then
fill
> instead if necessary. 
> 2) remove path rasterization code and other corresponding implementation code
> for kStrokeAndFill in all backends(sw-raster, gpu, etc).
> 
> Well, this plan will not affect this small CL. Because we should not
> inverse-fill if it is not fill style(It is stroke style if no kStrokeAndFill
> style).

Brian, what about this CL? If it is OK, I will land this CL
https://codereview.chromium.org/183683010/ again. I have update the unit test in
that CL too. That CL broke unit test EmptyPath, but I think It is this unit test
EmptyPath that doesn't obey the rule: we should not inverse-stroke.

Powered by Google App Engine
This is Rietveld 408576698