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

Issue 6405054: Refactoring SkDeferredCanvas to use SkGPipe. (Closed)

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

Description

Refactoring SkDeferredCanvas to use SkGPipe. Keeping the refactor hidden behind a config macro for now. TEST=covered by existing skia gm tests BUG=https://code.google.com/p/chromium/issues/detail?id=133432 Committed: https://code.google.com/p/skia/source/detail?r=4656

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -16 lines) Patch
M gyp/utils.gyp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M include/pipe/SkGPipe.h View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M include/utils/SkDeferredCanvas.h View 1 2 3 4 5 3 chunks +52 lines, -5 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 1 2 3 4 3 chunks +14 lines, -0 lines 0 comments Download
M src/utils/SkDeferredCanvas.cpp View 1 2 3 4 5 6 5 chunks +107 lines, -10 lines 0 comments Download

Messages

Total messages: 17
junov1
PTAL
12 years, 2 months ago (2012-07-17 18:43:21 UTC) #1
junov1
Will merge with changes in r4639 and re-upload soon.
12 years, 2 months ago (2012-07-17 18:49:39 UTC) #2
junov1
Patch set 3 has merge conflicts resolved, and still passes gm tests.
12 years, 2 months ago (2012-07-17 18:56:30 UTC) #3
reed1
Questions around flush(). Is it sufficient for us to add /** * Calling this will ...
12 years, 2 months ago (2012-07-17 19:14:29 UTC) #4
Leon
Sorry for the duplicate comments. They keep disappearing while I look at the files. https://codereview.appspot.com/6405054/diff/3001/src/pipe/SkGPipeWrite.cpp ...
12 years, 2 months ago (2012-07-17 19:25:56 UTC) #5
junov1
https://codereview.appspot.com/6405054/diff/3001/include/pipe/SkGPipe.h File include/pipe/SkGPipe.h (right): https://codereview.appspot.com/6405054/diff/3001/include/pipe/SkGPipe.h#newcode73 include/pipe/SkGPipe.h:73: * This is called to request that all recorded ...
12 years, 2 months ago (2012-07-17 19:44:53 UTC) #6
junov1
https://codereview.appspot.com/6405054/diff/3001/src/pipe/SkGPipeWrite.cpp File src/pipe/SkGPipeWrite.cpp (right): https://codereview.appspot.com/6405054/diff/3001/src/pipe/SkGPipeWrite.cpp#newcode984 src/pipe/SkGPipeWrite.cpp:984: fBlockSize = fBytesNotified; On 2012/07/17 19:25:56, scroggo-work wrote: > ...
12 years, 2 months ago (2012-07-17 19:57:37 UTC) #7
Leon
https://codereview.appspot.com/6405054/diff/3001/src/utils/SkDeferredCanvas.cpp File src/utils/SkDeferredCanvas.cpp (right): https://codereview.appspot.com/6405054/diff/3001/src/utils/SkDeferredCanvas.cpp#newcode622 src/utils/SkDeferredCanvas.cpp:622: // FIXME: Make SkGPipe flatten software-backed non-immutable bitmaps On ...
12 years, 2 months ago (2012-07-17 20:08:28 UTC) #8
junov1
Patch set 4 addresses review comments
12 years, 2 months ago (2012-07-17 20:18:06 UTC) #9
junov1
On 2012/07/17 20:08:28, scroggo-work wrote: > https://codereview.appspot.com/6405054/diff/3001/src/utils/SkDeferredCanvas.cpp > File src/utils/SkDeferredCanvas.cpp (right): > > https://codereview.appspot.com/6405054/diff/3001/src/utils/SkDeferredCanvas.cpp#newcode622 > ...
12 years, 2 months ago (2012-07-17 20:24:28 UTC) #10
Leon
https://codereview.appspot.com/6405054/diff/13001/include/utils/SkDeferredCanvas.h File include/utils/SkDeferredCanvas.h (right): https://codereview.appspot.com/6405054/diff/13001/include/utils/SkDeferredCanvas.h#newcode183 include/utils/SkDeferredCanvas.h:183: size_t fBlockSize; I think you can do without this ...
12 years, 2 months ago (2012-07-17 21:38:16 UTC) #11
Leon
https://codereview.appspot.com/6405054/diff/13001/include/utils/SkDeferredCanvas.h File include/utils/SkDeferredCanvas.h (right): https://codereview.appspot.com/6405054/diff/13001/include/utils/SkDeferredCanvas.h#newcode188 include/utils/SkDeferredCanvas.h:188: SkGPipeReader::Status fStatus; Unused. https://codereview.appspot.com/6405054/diff/13001/src/utils/SkDeferredCanvas.cpp File src/utils/SkDeferredCanvas.cpp (right): https://codereview.appspot.com/6405054/diff/13001/src/utils/SkDeferredCanvas.cpp#newcode464 src/utils/SkDeferredCanvas.cpp:464: ...
12 years, 2 months ago (2012-07-18 13:59:53 UTC) #12
junov1
Done. New patch uploaded
12 years, 2 months ago (2012-07-18 15:36:46 UTC) #13
Leon
https://codereview.appspot.com/6405054/diff/24001/src/utils/SkDeferredCanvas.cpp File src/utils/SkDeferredCanvas.cpp (right): https://codereview.appspot.com/6405054/diff/24001/src/utils/SkDeferredCanvas.cpp#newcode611 src/utils/SkDeferredCanvas.cpp:611: fRecordingCanvas = fPicture.beginRecording(fImmediateDevice->width(), Why does this not call this->beginRecording()? ...
12 years, 2 months ago (2012-07-18 15:52:34 UTC) #14
junov1
https://codereview.appspot.com/6405054/diff/24001/src/utils/SkDeferredCanvas.cpp File src/utils/SkDeferredCanvas.cpp (right): https://codereview.appspot.com/6405054/diff/24001/src/utils/SkDeferredCanvas.cpp#newcode611 src/utils/SkDeferredCanvas.cpp:611: fRecordingCanvas = fPicture.beginRecording(fImmediateDevice->width(), On 2012/07/18 15:52:34, scroggo-work wrote: > ...
12 years, 2 months ago (2012-07-18 17:15:33 UTC) #15
junov1
patch for beginRecording thing.
12 years, 2 months ago (2012-07-18 17:27:18 UTC) #16
Leon
12 years, 2 months ago (2012-07-18 17:43:05 UTC) #17
lgtm. Mike said he was happy with it and was deferring to me for the approval,
so you're good to check it in.
Sign in to reply to this message.

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