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

Issue 6542047: Adding a silent playback option to SkGPipeRead (Closed)

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

Description

Adding a silent playback option to SkGPipeRead Testing state consistency after silent playback in CanvasTest indirectly through SkDeferredCanvas. BUG=http://code.google.com/p/chromium/issues/detail?id=146178 TEST=CanvasTest unit test, and bench with --mode deferredSilent Committed: https://code.google.com/p/skia/source/detail?r=5619

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -59 lines) Patch
M bench/benchmain.cpp View 1 8 chunks +24 lines, -6 lines 0 comments Download
M experimental/Debugger/DebuggerContentView.cpp View 1 2 3 3 chunks +9 lines, -8 lines 0 comments Download
M include/pipe/SkGPipe.h View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download
M include/utils/SkDeferredCanvas.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/pipe/SkGPipeRead.cpp View 1 2 19 chunks +68 lines, -22 lines 0 comments Download
M src/utils/SkDeferredCanvas.cpp View 1 2 15 chunks +24 lines, -17 lines 0 comments Download
M tests/CanvasTest.cpp View 4 chunks +14 lines, -4 lines 0 comments Download

Messages

Total messages: 15
junov1
PTAL
11 years, 9 months ago (2012-09-20 15:04:57 UTC) #1
reed1
is there an interesting bench here? just asking.
11 years, 9 months ago (2012-09-20 15:14:53 UTC) #2
Leon
lgtm https://codereview.appspot.com/6542047/diff/1/include/utils/SkDeferredCanvas.h File include/utils/SkDeferredCanvas.h (right): https://codereview.appspot.com/6542047/diff/1/include/utils/SkDeferredCanvas.h#newcode204 include/utils/SkDeferredCanvas.h:204: void silentFlush(); // for unit testing Should code ...
11 years, 9 months ago (2012-09-20 15:28:14 UTC) #3
Leon
https://codereview.appspot.com/6542047/diff/1/src/utils/SkDeferredCanvas.cpp File src/utils/SkDeferredCanvas.cpp (right): https://codereview.appspot.com/6542047/diff/1/src/utils/SkDeferredCanvas.cpp#newcode389 src/utils/SkDeferredCanvas.cpp:389: void DeferredDevice::skipPendingCommands() { Do we still need this function?
11 years, 9 months ago (2012-09-20 16:07:21 UTC) #4
junov1
https://codereview.appspot.com/6542047/diff/1/src/utils/SkDeferredCanvas.cpp#newcode389 > src/utils/SkDeferredCanvas.cpp:389: void DeferredDevice::skipPendingCommands() { > Do we still need this function? I plan ...
11 years, 9 months ago (2012-09-20 16:13:52 UTC) #5
junov1
patch
11 years, 9 months ago (2012-09-20 16:14:53 UTC) #6
Leon
On 2012/09/20 16:14:53, junov1 wrote: > patch lgtm
11 years, 9 months ago (2012-09-20 17:26:53 UTC) #7
reed1
I know I had asked for a bench, but I had not imagined that we ...
11 years, 9 months ago (2012-09-20 17:48:19 UTC) #8
junov1
On 2012/09/20 17:48:19, reed1 wrote: > I know I had asked for a bench, but ...
11 years, 9 months ago (2012-09-20 17:58:53 UTC) #9
reed1
Good point on both counts. Perhaps we default it to off for now, and/or monitor ...
11 years, 9 months ago (2012-09-20 18:02:00 UTC) #10
junov1
On 2012/09/20 18:02:00, reed1 wrote: > Good point on both counts. Perhaps we default it ...
11 years, 9 months ago (2012-09-20 18:07:54 UTC) #11
junov1
On 2012/09/20 17:48:19, reed1 wrote: https://codereview.appspot.com/6542047/diff/7001/include/pipe/SkGPipe.h > File include/pipe/SkGPipe.h (right): > > https://codereview.appspot.com/6542047/diff/7001/include/pipe/SkGPipe.h#newcode39 > include/pipe/SkGPipe.h:39: ...
11 years, 9 months ago (2012-09-20 18:38:11 UTC) #12
junov1
Wait a minute, forgot to add doc...
11 years, 9 months ago (2012-09-20 18:38:42 UTC) #13
junov1
On 2012/09/20 18:38:42, junov1 wrote: > Wait a minute, forgot to add doc... Done. Figured ...
11 years, 9 months ago (2012-09-20 19:06:49 UTC) #14
Leon
11 years, 9 months ago (2012-09-20 19:12:12 UTC) #15
On 2012/09/20 19:06:49, junov1 wrote:
> On 2012/09/20 18:38:42, junov1 wrote:
> > Wait a minute, forgot to add doc...
> 
> Done.
> 
> Figured out that read atom reads a group of ops that correspond to a single
> canvas command.

lgtm
Sign in to reply to this message.

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