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

Issue 6923058: make RRect and Oval first-class drawing primitives in SkCanvas. (Closed)

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

Description

make RRect and Oval first-class drawing primitives in SkCanvas. add RRect as a first-class clip primitive. Committed: https://code.google.com/p/skia/source/detail?r=6762

Patch Set 1 #

Patch Set 2 : #

Total comments: 18

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+468 lines, -59 lines) Patch
M include/core/SkCanvas.h View 1 2 3 3 chunks +36 lines, -11 lines 0 comments Download
M include/core/SkPath.h View 2 chunks +6 lines, -0 lines 0 comments Download
M include/core/SkPicture.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M include/core/SkRRect.h View 1 2 3 4 5 6 chunks +42 lines, -1 line 0 comments Download
M include/utils/SkDeferredCanvas.h View 2 chunks +5 lines, -2 lines 0 comments Download
M include/utils/SkDumpCanvas.h View 3 chunks +6 lines, -1 line 0 comments Download
M include/utils/SkNWayCanvas.h View 2 chunks +4 lines, -1 line 0 comments Download
M include/utils/SkProxyCanvas.h View 2 chunks +4 lines, -1 line 0 comments Download
M src/core/SkCanvas.cpp View 5 chunks +51 lines, -28 lines 0 comments Download
M src/core/SkPath.cpp View 1 2 3 4 2 chunks +16 lines, -1 line 0 comments Download
M src/core/SkPictureFlat.h View 3 chunks +3 lines, -0 lines 0 comments Download
M src/core/SkPicturePlayback.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 2 3 4 6 chunks +31 lines, -6 lines 0 comments Download
M src/core/SkPictureRecord.h View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M src/core/SkPictureRecord.cpp View 1 2 3 4 8 chunks +52 lines, -1 line 0 comments Download
M src/core/SkRRect.cpp View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download
M src/pipe/SkGPipePriv.h View 3 chunks +3 lines, -0 lines 0 comments Download
M src/pipe/SkGPipeRead.cpp View 1 2 3 4 7 chunks +29 lines, -0 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 1 2 3 4 6 chunks +38 lines, -2 lines 0 comments Download
M src/utils/SkDeferredCanvas.cpp View 3 chunks +29 lines, -1 line 0 comments Download
M src/utils/SkDumpCanvas.cpp View 1 2 3 4 4 chunks +46 lines, -0 lines 0 comments Download
M src/utils/SkNWayCanvas.cpp View 3 chunks +22 lines, -0 lines 0 comments Download
M src/utils/SkProxyCanvas.cpp View 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 7
reed1
12 years ago (2012-12-12 14:29:06 UTC) #1
robertphillips
LGTM modulo removing the fancy save/restore path. Comments & questions throughout. https://codereview.appspot.com/6923058/diff/2001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): ...
12 years ago (2012-12-12 15:44:57 UTC) #2
reed1
https://codereview.appspot.com/6923058/diff/2001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.appspot.com/6923058/diff/2001/include/core/SkCanvas.h#newcode354 include/core/SkCanvas.h:354: /** On 2012/12/12 15:44:57, robertphillips wrote: > rectangle -> ...
12 years ago (2012-12-12 16:37:55 UTC) #3
reed1
now with all flattening/unflattening going through readFromMemory/writeToMemory, similar to SkMatrix. added helpers for that to ...
12 years ago (2012-12-12 17:17:43 UTC) #4
robertphillips
Two suggestions Note: the debugger will need to be patched up for this too. https://codereview.appspot.com/6923058/diff/9024/include/core/SkRRect.h ...
12 years ago (2012-12-12 18:29:00 UTC) #5
reed1
https://codereview.appspot.com/6923058/diff/9024/include/core/SkRRect.h File include/core/SkRRect.h (right): https://codereview.appspot.com/6923058/diff/9024/include/core/SkRRect.h#newcode176 include/core/SkRRect.h:176: On 2012/12/12 18:29:00, robertphillips wrote: > // Return the ...
12 years ago (2012-12-12 18:43:29 UTC) #6
robertphillips
12 years ago (2012-12-12 18:57:52 UTC) #7
lgtm
Sign in to reply to this message.

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