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

Issue 6856076: Close pending save() calls in QT debugger to avoid saveLayer() corruption (Closed)

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

Description

This gets rid of both the afterimage in the canvas and the overlaid white rectangles that never render again. I suspect it may interfere with properly stepping through playback (perhaps: pause somewhere, move around, step forward, move around, step forward, ...), but haven't yet triggered it. We *can not* allow saveLayer() calls to be unresolved, so I think we're going to have to abandon the current approach to stepping through and just replay the skp from the beginning to whatever the new index is.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -1 line) Patch
M debugger/SkDebugCanvas.h View 1 chunk +8 lines, -0 lines 0 comments Download
M debugger/SkDebugCanvas.cpp View 4 chunks +7 lines, -1 line 2 comments Download
M debugger/SkDrawCommand.h View 4 chunks +6 lines, -0 lines 1 comment Download
M debugger/SkDrawCommand.cpp View 3 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 7
robertphillips
LGTM but I defer to Derek. https://codereview.appspot.com/6856076/diff/1/debugger/SkDebugCanvas.cpp File debugger/SkDebugCanvas.cpp (right): https://codereview.appspot.com/6856076/diff/1/debugger/SkDebugCanvas.cpp#newcode128 debugger/SkDebugCanvas.cpp:128: if (commandVector[i]->isVisible()) { ...
11 years, 9 months ago (2012-11-26 15:05:34 UTC) #1
DerekS
I understand the intent of the change, but this is going to break the ability ...
11 years, 9 months ago (2012-11-27 14:26:16 UTC) #2
DerekS
Thanks to robert for pointing out to me the real behavior of the CL. I ...
11 years, 9 months ago (2012-11-27 14:47:44 UTC) #3
TomH
I think it *does* break stepping entirely, let alone the ability to do so quickly. ...
11 years, 9 months ago (2012-11-27 15:54:59 UTC) #4
DerekS
Are you saying that this CL allows you to see the progress of the off-screen ...
11 years, 9 months ago (2012-11-27 16:05:44 UTC) #5
TomH
D'oh, you're right, it was only the prototype that would break stepping. This might work. ...
11 years, 9 months ago (2012-11-27 16:07:19 UTC) #6
TomH
11 years, 9 months ago (2012-11-27 16:09:59 UTC) #7
Closed with r6565.
Sign in to reply to this message.

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