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

Issue 7343044: Add NOOP "command" to picture format (Closed)

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

Description

This is the next step in being able to arbitrarily remove random commands from the skp byte stream in PictureRecord. This CL relies on the addition of the chunk size so looks a bit weird without it. In particular, the "size" in SkPicturePlayback will be filled in by the read_op_and_size method. The "noClips" method will not be checked in but I wanted some example of how the NOOP command will be used and why the poke8 method is necessary.

Patch Set 1 #

Total comments: 9

Patch Set 2 : Addressed code review issues #

Patch Set 3 : Updated to ToT #

Patch Set 4 : Updated to ToT #

Patch Set 5 : improved comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -5 lines) Patch
M debugger/SkDrawCommand.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkPicture.cpp View 1 2 1 chunk +14 lines, -3 lines 0 comments Download
M src/core/SkPictureFlat.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 2 3 4 2 chunks +11 lines, -1 line 0 comments Download
M src/core/SkPictureRecord.cpp View 1 2 2 chunks +36 lines, -0 lines 0 comments Download

Messages

Total messages: 5
robertphillips
11 years, 8 months ago (2013-02-14 20:36:39 UTC) #1
reed1
Not sure why we need to land this before the size-in-op CL. Or, perhaps even ...
11 years, 8 months ago (2013-02-15 09:52:48 UTC) #2
robertphillips
I never intended to deliver this without the chunk patch but wanted to get the ...
11 years, 8 months ago (2013-02-15 14:22:00 UTC) #3
reed1
Where is the dox for read_op_and_size? Does it document what 'size' means the number of ...
11 years, 8 months ago (2013-02-15 15:50:32 UTC) #4
robertphillips
11 years, 8 months ago (2013-02-15 17:19:46 UTC) #5
Upgraded read_op_and_size's comment

committed as r7752
Sign in to reply to this message.

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