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

Issue 60203002: use quads for mixed radius rrects (Closed)

Created:
7 years, 1 month ago by caryclark
Modified:
7 years, 1 month ago
Reviewers:
robertphillips, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

use quads for mixed radius rrects Create a specialized version of adding a pair of corner quads that avoids the overhead of the full arc machinery. This is on the way to changing Chrome to calling Skia directly to create fully general round rects rather than rolling their own. Committed: http://code.google.com/p/skia/source/detail?r=12190

Patch Set 1 #

Total comments: 4

Patch Set 2 : consolidate add round rect paths #

Patch Set 3 : remove stale comment #

Total comments: 5

Patch Set 4 : add disable direction check #

Total comments: 2

Patch Set 5 : remove float slop; add test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -113 lines) Patch
M src/core/SkPath.cpp View 1 2 3 4 5 chunks +149 lines, -113 lines 1 comment Download
M tests/PathTest.cpp View 1 2 3 4 3 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
caryclark
Rob, please review to see if a) this looks understandable and maintainable and b) it ...
7 years, 1 month ago (2013-11-05 16:25:17 UTC) #1
robertphillips
I think this looks reasonable. Two questions inline. https://codereview.chromium.org/60203002/diff/1/src/core/SkPath.cpp File src/core/SkPath.cpp (right): https://codereview.chromium.org/60203002/diff/1/src/core/SkPath.cpp#newcode1011 src/core/SkPath.cpp:1011: */ ...
7 years, 1 month ago (2013-11-05 16:47:56 UTC) #2
caryclark
https://codereview.chromium.org/60203002/diff/1/src/core/SkPath.cpp File src/core/SkPath.cpp (right): https://codereview.chromium.org/60203002/diff/1/src/core/SkPath.cpp#newcode1011 src/core/SkPath.cpp:1011: */ On 2013/11/05 16:47:56, robertphillips wrote: > Would it ...
7 years, 1 month ago (2013-11-05 20:29:54 UTC) #3
caryclark
this CL is ready for formal review
7 years, 1 month ago (2013-11-06 12:51:59 UTC) #4
robertphillips
lgtm modulo a possible issue (the #ifdef protection) & a question. https://codereview.chromium.org/60203002/diff/90001/src/core/SkPath.cpp File src/core/SkPath.cpp (right): ...
7 years, 1 month ago (2013-11-06 13:31:58 UTC) #5
caryclark
https://codereview.chromium.org/60203002/diff/90001/src/core/SkPath.cpp File src/core/SkPath.cpp (right): https://codereview.chromium.org/60203002/diff/90001/src/core/SkPath.cpp#newcode1099 src/core/SkPath.cpp:1099: this->addOval(bounds, dir); On 2013/11/06 13:31:58, robertphillips wrote: > I ...
7 years, 1 month ago (2013-11-06 13:39:55 UTC) #6
caryclark
https://codereview.chromium.org/60203002/diff/90001/src/core/SkPath.cpp File src/core/SkPath.cpp (right): https://codereview.chromium.org/60203002/diff/90001/src/core/SkPath.cpp#newcode1108 src/core/SkPath.cpp:1108: SkAutoPathBoundsUpdate apbu(this, bounds); On 2013/11/06 13:39:55, caryclark wrote: > ...
7 years, 1 month ago (2013-11-06 13:58:27 UTC) #7
caryclark
7 years, 1 month ago (2013-11-08 13:59:07 UTC) #8
reed1
lgtm w/ unit-test-reference suggestion https://codereview.chromium.org/60203002/diff/150001/src/core/SkPath.cpp File src/core/SkPath.cpp (right): https://codereview.chromium.org/60203002/diff/150001/src/core/SkPath.cpp#newcode1021 src/core/SkPath.cpp:1021: // and the convex cross ...
7 years, 1 month ago (2013-11-08 14:04:31 UTC) #9
caryclark
https://codereview.chromium.org/60203002/diff/150001/src/core/SkPath.cpp File src/core/SkPath.cpp (right): https://codereview.chromium.org/60203002/diff/150001/src/core/SkPath.cpp#newcode1021 src/core/SkPath.cpp:1021: // and the convex cross product sign equality test. ...
7 years, 1 month ago (2013-11-08 15:22:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/caryclark@google.com/60203002/240001
7 years, 1 month ago (2013-11-08 15:43:05 UTC) #11
reed1
https://codereview.chromium.org/60203002/diff/240001/src/core/SkPath.cpp File src/core/SkPath.cpp (right): https://codereview.chromium.org/60203002/diff/240001/src/core/SkPath.cpp#newcode1020 src/core/SkPath.cpp:1020: SkScalar midPtX = rx - rx * (SK_Scalar1 + ...
7 years, 1 month ago (2013-11-08 15:46:39 UTC) #12
commit-bot: I haz the power
7 years, 1 month ago (2013-11-08 15:51:15 UTC) #13
Message was sent while issue was closed.
Change committed as 12190

Powered by Google App Engine
This is Rietveld 408576698