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

Issue 6940081: Slave Build Step to render pdfs. At the moment I am only looking for assertions, so we throw away r…

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by edisonn
Modified:
12 years, 5 months ago
Reviewers:
epoger, EricB
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/buildbot/
Visibility:
Public.

Description

Slave Build Step to render pdfs. At the moment I am only looking for assertions, so we throw away rendered pdfs.

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -0 lines) Patch
A slave/skia_slave_scripts/render_pdfs.py View 1 chunk +31 lines, -0 lines 4 comments Download

Messages

Total messages: 5
edisonn
12 years, 6 months ago (2012-12-18 15:51:02 UTC) #1
edisonn
12 years, 6 months ago (2012-12-18 15:52:11 UTC) #2
EricB
This looks fine, but we also need versions for android and chrome os. Check out ...
12 years, 6 months ago (2012-12-18 19:48:01 UTC) #3
epoger
https://codereview.appspot.com/6940081/diff/1/slave/skia_slave_scripts/render_pdfs.py File slave/skia_slave_scripts/render_pdfs.py (right): https://codereview.appspot.com/6940081/diff/1/slave/skia_slave_scripts/render_pdfs.py#newcode15 slave/skia_slave_scripts/render_pdfs.py:15: class RenderPdfs(BuildStep): Is there some good reason that the ...
12 years, 6 months ago (2012-12-18 20:35:02 UTC) #4
edisonn
12 years, 5 months ago (2013-01-11 20:33:57 UTC) #5
https://codereview.appspot.com/6940081/diff/1/slave/skia_slave_scripts/render...
File slave/skia_slave_scripts/render_pdfs.py (right):

https://codereview.appspot.com/6940081/diff/1/slave/skia_slave_scripts/render...
slave/skia_slave_scripts/render_pdfs.py:15: class RenderPdfs(BuildStep):
render_pdf and render_pictures have widely different parameters and I would not
want to combine them, it would make code much harder to read

On 2012/12/18 20:35:02, epoger wrote:
> Is there some good reason that the "gm" binary produces both PNGs and PDFs,
but
> when rendering SKPs we need separate "render_pictures" and "render_pdfs"
> binaries?
> 
> gm:
> https://code.google.com/p/skia/source/browse/trunk/gm/gmmain.cpp
> 
> render_pictures and render_pdfs:
>
https://code.google.com/p/skia/source/browse/trunk/tools/render_pictures_main...
> https://code.google.com/p/skia/source/browse/trunk/tools/render_pdfs_main.cpp

https://codereview.appspot.com/6940081/diff/1/slave/skia_slave_scripts/render...
slave/skia_slave_scripts/render_pdfs.py:27: # Throw away pdfs, we are interested
now only in asserts.
submitted change to make render_pdfs support this scenario

On 2012/12/18 20:35:02, epoger wrote:
> On some platforms, writing out the files takes a significant amount of time. 
So
> it would be better to call render_pdfs in such a way that it doesn't bother
> writing out its results.
> 
> If render_pdfs doesn't support that, it should.
Sign in to reply to this message.

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