Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1506)

Issue 4552047: GrPathUtils::worstCasePointCount() returning wrong count (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by Stephen White
Modified:
13 years, 7 months ago
Reviewers:
reed, bsalomon
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

GrPathUtils::worstCasePointCount() is sometimes returning a lower value than the number of points subsequently generated by the path renderers. This is because it constructs the SkPath::Iter with forceClose set to "false", while the path renderers use one with forceClose set to "true". They should both be the same, and since we're filling paths, I think it should be set "true".

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
gpu/src/GrPathUtils.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
Stephen White
13 years, 7 months ago (2011-05-17 18:25:51 UTC) #1
Stephen White
PTAL
13 years, 7 months ago (2011-05-17 18:26:32 UTC) #2
bsalomon
LGTM On 2011/05/17 18:26:32, Stephen White wrote: > PTAL
13 years, 7 months ago (2011-05-17 18:27:48 UTC) #3
Stephen White
13 years, 7 months ago (2011-05-17 18:29:45 UTC) #4
Landed as r1353; closing.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b