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

Issue 6300056: A very rough first past at implementing a test program for skia commands. (Closed)

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

Description

Program to test serialized SkPictures. I created a program to that will take a directory full of serialized SkPictures and then render the images to a specified directory. Comitted: http://code.google.com/p/skia/source/detail?r=4235

Patch Set 1 #

Total comments: 11

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+273 lines, -0 lines) Patch
M gyp/tools.gyp View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
A tools/render_pictures_main.cpp View 1 2 1 chunk +129 lines, -0 lines 0 comments Download
A tools/test_pictures.py View 1 2 3 1 chunk +130 lines, -0 lines 0 comments Download

Messages

Total messages: 19
keyar
12 years, 3 months ago (2012-06-06 22:35:54 UTC) #1
junov1
https://codereview.appspot.com/6300056/diff/1/Makefile File Makefile (right): https://codereview.appspot.com/6300056/diff/1/Makefile#newcode32 Makefile:32: ALL_TARGETS := core SampleApp bench gm tests tools run_command_test ...
12 years, 3 months ago (2012-06-07 13:47:45 UTC) #2
bsalomon
https://codereview.appspot.com/6300056/diff/1/command_tests/run_command_test.cpp File command_tests/run_command_test.cpp (right): https://codereview.appspot.com/6300056/diff/1/command_tests/run_command_test.cpp#newcode66 command_tests/run_command_test.cpp:66: static inline SkPMColor compute_diff_pmcolor(SkPMColor c0, SkPMColor c1) { On ...
12 years, 3 months ago (2012-06-07 13:52:30 UTC) #3
keyar
On 2012/06/07 13:52:30, bsalomon wrote: > https://codereview.appspot.com/6300056/diff/1/command_tests/run_command_test.cpp > File command_tests/run_command_test.cpp (right): > > https://codereview.appspot.com/6300056/diff/1/command_tests/run_command_test.cpp#newcode66 > ...
12 years, 3 months ago (2012-06-07 15:12:09 UTC) #4
TomH
On 2012/06/07 15:12:09, keyar wrote: > On 2012/06/07 13:52:30, bsalomon wrote: > > > https://codereview.appspot.com/6300056/diff/1/command_tests/run_command_test.cpp ...
12 years, 3 months ago (2012-06-07 15:13:00 UTC) #5
keyar
I don't think skdiff will need to be modified. The current idea is to write ...
12 years, 3 months ago (2012-06-07 15:25:55 UTC) #6
keyar
I uploaded a new patch. Right now it is only for the program that renders ...
12 years, 3 months ago (2012-06-07 19:33:40 UTC) #7
TomH
Go ahead and leave in the .skp restriction; we can relax it later if we ...
12 years, 3 months ago (2012-06-07 19:44:53 UTC) #8
bsalomon
https://codereview.appspot.com/6300056/diff/8001/tools/render_pictures_main.cpp File tools/render_pictures_main.cpp (right): https://codereview.appspot.com/6300056/diff/8001/tools/render_pictures_main.cpp#newcode35 tools/render_pictures_main.cpp:35: if (len > 0 && dir[len - 1] != ...
12 years, 3 months ago (2012-06-07 20:13:47 UTC) #9
keyar
https://codereview.appspot.com/6300056/diff/8001/tools/render_pictures_main.cpp File tools/render_pictures_main.cpp (right): https://codereview.appspot.com/6300056/diff/8001/tools/render_pictures_main.cpp#newcode42 tools/render_pictures_main.cpp:42: SkFILEStream& inputStream) { On 2012/06/07 19:44:53, TomH wrote: > ...
12 years, 3 months ago (2012-06-07 21:00:57 UTC) #10
bsalomon
On 2012/06/07 21:00:57, keyar wrote: > https://codereview.appspot.com/6300056/diff/8001/tools/render_pictures_main.cpp > File tools/render_pictures_main.cpp (right): > > https://codereview.appspot.com/6300056/diff/8001/tools/render_pictures_main.cpp#newcode42 > ...
12 years, 3 months ago (2012-06-07 21:10:02 UTC) #11
keyar
Added the python glue script.
12 years, 3 months ago (2012-06-08 17:42:55 UTC) #12
TomH
LGTM
12 years, 3 months ago (2012-06-08 17:46:35 UTC) #13
reed1
What are the future feature plans for this tool?
12 years, 3 months ago (2012-06-08 18:19:36 UTC) #14
keyar
On 2012/06/08 18:19:36, reed1 wrote: > What are the future feature plans for this tool? ...
12 years, 3 months ago (2012-06-08 18:57:32 UTC) #15
reed1
Got it. Here are some minor feature requests: (not married to the names) 1. --device-type ...
12 years, 3 months ago (2012-06-08 19:03:13 UTC) #16
keyar
On 2012/06/08 19:03:13, reed1 wrote: > Got it. Here are some minor feature requests: (not ...
12 years, 3 months ago (2012-06-08 19:59:40 UTC) #17
reed1
nothing from my list is required for landing. just wanted to (a) hear your reaction, ...
12 years, 3 months ago (2012-06-08 20:02:24 UTC) #18
keyar
12 years, 3 months ago (2012-06-08 20:19:24 UTC) #19
On 2012/06/08 20:02:24, reed1 wrote:
> nothing from my list is required for landing. just wanted to (a) hear your
> reaction, and (b) ensure that none of those makes you want to change this CL
for
> some reason.

I don't think any of those feature requests would require the CL to be changed
for now. The argument parsing in render_pictures would have to be changed as
soon as we add an option though.
Sign in to reply to this message.

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