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

Issue 6852044: Add a conservativelyContainsRect function to SkPath. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by bsalomon
Modified:
11 years, 8 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Add a conservativelyContainsRect function to SkPath. Committed: https://code.google.com/p/skia/source/detail?r=6411

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 3

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+310 lines, -1 line) Patch
M bench/PathBench.cpp View 1 2 3 4 2 chunks +94 lines, -0 lines 0 comments Download
M include/core/SkPath.h View 1 2 3 4 2 chunks +9 lines, -1 line 0 comments Download
M src/core/SkPath.cpp View 1 2 3 4 1 chunk +80 lines, -0 lines 0 comments Download
M tests/PathTest.cpp View 1 2 3 4 2 chunks +127 lines, -0 lines 0 comments Download

Messages

Total messages: 9
bsalomon
11 years, 8 months ago (2012-11-13 16:24:56 UTC) #1
reed1
The unit test seems very daunting to review for correctness. Can it be 1. more ...
11 years, 8 months ago (2012-11-13 16:43:59 UTC) #2
reed1
1. make a utility for now, so as not to expose it to chrome/android yet? ...
11 years, 8 months ago (2012-11-13 16:45:31 UTC) #3
reed1
the edge_cross-rect code is very clever and fast looking. nice job.
11 years, 8 months ago (2012-11-13 16:46:03 UTC) #4
reed1
https://codereview.appspot.com/6852044/diff/1004/include/core/SkPath.h File include/core/SkPath.h (right): https://codereview.appspot.com/6852044/diff/1004/include/core/SkPath.h#newcode306 include/core/SkPath.h:306: * will ever return true for single convex contour ...
11 years, 8 months ago (2012-11-13 16:48:20 UTC) #5
bsalomon
On 2012/11/13 16:43:59, reed1 wrote: > The unit test seems very daunting to review for ...
11 years, 8 months ago (2012-11-13 17:40:24 UTC) #6
bsalomon
On 2012/11/13 16:48:20, reed1 wrote: > https://codereview.appspot.com/6852044/diff/1004/include/core/SkPath.h > File include/core/SkPath.h (right): > > https://codereview.appspot.com/6852044/diff/1004/include/core/SkPath.h#newcode306 > ...
11 years, 8 months ago (2012-11-13 17:42:02 UTC) #7
bsalomon
Added benches, rewrote unit test, updated comments. In the oval bench roughly 15% of the ...
11 years, 8 months ago (2012-11-13 21:22:57 UTC) #8
reed1
11 years, 8 months ago (2012-11-13 21:47:19 UTC) #9
lgtm
Sign in to reply to this message.

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