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

Issue 6458056: SkDebugCanvas incremental draw optimization (Closed)

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

Description

Optimization: SkDebugCanvas is capable of pausing and drawing incrementally instead of redrawing all commands. Committed: https://code.google.com/p/skia/source/detail?r=4891

Patch Set 1 #

Patch Set 2 : Renamed fTransform to fTranslate #

Total comments: 10

Patch Set 3 : Addressed first batch of comments #

Total comments: 2

Patch Set 4 : Addressed function visibility comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -80 lines) Patch
M debugger/QT/SkCanvasWidget.h View 1 2 1 chunk +2 lines, -9 lines 0 comments Download
M debugger/QT/SkCanvasWidget.cpp View 1 2 3 chunks +19 lines, -34 lines 0 comments Download
M debugger/QT/SkGLWidget.cpp View 3 chunks +8 lines, -9 lines 0 comments Download
M debugger/QT/SkRasterWidget.h View 2 chunks +2 lines, -1 line 0 comments Download
M debugger/QT/SkRasterWidget.cpp View 1 2 1 chunk +12 lines, -16 lines 0 comments Download
M debugger/SkDebugCanvas.h View 1 2 3 3 chunks +18 lines, -2 lines 0 comments Download
M debugger/SkDebugCanvas.cpp View 1 2 4 chunks +33 lines, -9 lines 0 comments Download

Messages

Total messages: 5
chudy
11 years, 11 months ago (2012-07-31 22:06:22 UTC) #1
DerekS
http://codereview.appspot.com/6458056/diff/1008/debugger/QT/SkCanvasWidget.h File debugger/QT/SkCanvasWidget.h (right): http://codereview.appspot.com/6458056/diff/1008/debugger/QT/SkCanvasWidget.h#newcode121 debugger/QT/SkCanvasWidget.h:121: SkIPoint fTranslate; fOffset? http://codereview.appspot.com/6458056/diff/1008/debugger/QT/SkGLWidget.cpp File debugger/QT/SkGLWidget.cpp (right): http://codereview.appspot.com/6458056/diff/1008/debugger/QT/SkGLWidget.cpp#newcode56 debugger/QT/SkGLWidget.cpp:56: ...
11 years, 11 months ago (2012-08-01 12:41:39 UTC) #2
chudy
http://codereview.appspot.com/6458056/diff/1008/debugger/QT/SkCanvasWidget.h File debugger/QT/SkCanvasWidget.h (right): http://codereview.appspot.com/6458056/diff/1008/debugger/QT/SkCanvasWidget.h#newcode121 debugger/QT/SkCanvasWidget.h:121: SkIPoint fTranslate; On 2012/08/01 12:41:39, DerekS wrote: > fOffset? ...
11 years, 11 months ago (2012-08-01 13:35:14 UTC) #3
DerekS
lgtm with one nit http://codereview.appspot.com/6458056/diff/8001/debugger/SkDebugCanvas.h File debugger/SkDebugCanvas.h (right): http://codereview.appspot.com/6458056/diff/8001/debugger/SkDebugCanvas.h#newcode47 debugger/SkDebugCanvas.h:47: void applyUserTransform(SkCanvas* canvas); should this ...
11 years, 11 months ago (2012-08-01 15:54:46 UTC) #4
chudy
11 years, 11 months ago (2012-08-01 15:58:18 UTC) #5
Committed in revision 4891. Thanks for the review!

http://codereview.appspot.com/6458056/diff/8001/debugger/SkDebugCanvas.h
File debugger/SkDebugCanvas.h (right):

http://codereview.appspot.com/6458056/diff/8001/debugger/SkDebugCanvas.h#newc...
debugger/SkDebugCanvas.h:47: void applyUserTransform(SkCanvas* canvas);
On 2012/08/01 15:54:46, DerekS wrote:
> should this be private?

Done. Moved.
Sign in to reply to this message.

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