Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Issue 21669004: Support multiple PDF rendering backends in the GM (Closed)

Created:
7 years, 4 months ago by ducky
Modified:
7 years, 4 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Support multiple PDF rendering backends in the GM R=epoger@google.com, vandebo@chromium.org Committed: https://code.google.com/p/skia/source/detail?r=10841

Patch Set 1 #

Patch Set 2 : Multiple PDF renderer support #

Patch Set 3 : #

Patch Set 4 : Rebase GM refactoring CL #

Total comments: 14

Patch Set 5 : Add failure checks #

Total comments: 14

Patch Set 6 : Style fixes #

Total comments: 20

Patch Set 7 : Fix null writePath case, more style fixes #

Patch Set 8 : Fix rasterizer parser in invalid case, more style changes #

Total comments: 8

Patch Set 9 : Make GM behavior more consistent with previous #

Patch Set 10 : Style fixes, rebaselines, bugfixes #

Total comments: 1

Patch Set 11 : More style fixes #

Total comments: 10

Patch Set 12 : Rebase from new gm refactor, remove trailing spaces #

Patch Set 13 : Remove extra declaration #

Patch Set 14 : Rebase cleanup #

Patch Set 15 : Remove rasterizer run from mixed_xfermodes #

Patch Set 16 : Rebase #

Patch Set 17 : Eliminate warnings/errors on empty PDF rasterizer list #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -117 lines) Patch
gm/gm.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M gm/gmmain.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 26 chunks +230 lines, -116 lines 0 comments Download
M gm/mixedxfermodes.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -0 lines 0 comments Download
M gm/tests/outputs/add-config-pdf/output-expected/json-summary.txt View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -1 line 0 comments Download
A + gm/tests/outputs/add-config-pdf/output-expected/mismatchPath/pdf_poppler/bogusfile View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
A gm/tests/outputs/add-config-pdf/output-expected/missingExpectationsPath/pdf/selftest1.png View 1 2 3 4 5 6 7 8 9 Binary file 0 comments Download
A + gm/tests/outputs/add-config-pdf/output-expected/missingExpectationsPath/pdf_poppler/bogusfile View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
M gm/tests/outputs/add-config-pdf/output-expected/stdout View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -3 lines 0 comments Download
A + gm/tests/outputs/add-config-pdf/output-expected/writePath/pdf_poppler/bogusfile View 1 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
A + gm/tests/outputs/add-config-pdf/output-expected/writePath/pdf_poppler/selftest1.png View 1 2 3 4 5 6 7 8 9 Binary file 0 comments Download
M gm/tests/outputs/pipe-playback-failure/output-expected/stderr View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
ducky
This adds support for multiple PDF renderers (currently macnative and poppler) in the GM (saving ...
7 years, 4 months ago (2013-08-08 03:58:00 UTC) #1
edisonn
https://codereview.chromium.org/21669004/diff/19001/gm/gmmain.cpp File gm/gmmain.cpp (left): https://codereview.chromium.org/21669004/diff/19001/gm/gmmain.cpp#oldcode245 gm/gmmain.cpp:245: filename.append(shortName); On 2013/08/08 03:58:00, ducky wrote: > Is there ...
7 years, 4 months ago (2013-08-08 20:00:38 UTC) #2
ducky
Add failure checks for stream rewind and rasterizer failure. https://codereview.chromium.org/21669004/diff/19001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/21669004/diff/19001/gm/gmmain.cpp#newcode1033 gm/gmmain.cpp:1033: ...
7 years, 4 months ago (2013-08-08 20:55:45 UTC) #3
vandebo (ex-Chrome)
https://codereview.chromium.org/21669004/diff/24001/gm/gmmain.cpp File gm/gmmain.cpp (left): https://codereview.chromium.org/21669004/diff/24001/gm/gmmain.cpp#oldcode1066 gm/gmmain.cpp:1066: SkAutoTUnref<SkStreamAsset> documentStream(document.detachAsStream()); It looks like you can leave this ...
7 years, 4 months ago (2013-08-09 16:26:34 UTC) #4
ducky
Style fixes again! https://codereview.chromium.org/21669004/diff/24001/gm/gmmain.cpp File gm/gmmain.cpp (left): https://codereview.chromium.org/21669004/diff/24001/gm/gmmain.cpp#oldcode1066 gm/gmmain.cpp:1066: SkAutoTUnref<SkStreamAsset> documentStream(document.detachAsStream()); On 2013/08/09 16:26:34, vandebo ...
7 years, 4 months ago (2013-08-09 23:29:41 UTC) #5
vandebo (ex-Chrome)
https://codereview.chromium.org/21669004/diff/24001/gm/gmmain.cpp File gm/gmmain.cpp (left): https://codereview.chromium.org/21669004/diff/24001/gm/gmmain.cpp#oldcode1066 gm/gmmain.cpp:1066: SkAutoTUnref<SkStreamAsset> documentStream(document.detachAsStream()); On 2013/08/09 23:29:41, ducky wrote: > On ...
7 years, 4 months ago (2013-08-12 17:41:56 UTC) #6
ducky
Style fixes and bug fixes. https://codereview.chromium.org/21669004/diff/24001/gm/gmmain.cpp File gm/gmmain.cpp (left): https://codereview.chromium.org/21669004/diff/24001/gm/gmmain.cpp#oldcode1066 gm/gmmain.cpp:1066: SkAutoTUnref<SkStreamAsset> documentStream(document.detachAsStream()); On 2013/08/12 ...
7 years, 4 months ago (2013-08-12 21:57:09 UTC) #7
vandebo (ex-Chrome)
https://codereview.chromium.org/21669004/diff/30001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/21669004/diff/30001/gm/gmmain.cpp#newcode1065 gm/gmmain.cpp:1065: } On 2013/08/12 21:57:10, ducky wrote: > On 2013/08/12 ...
7 years, 4 months ago (2013-08-13 17:48:00 UTC) #8
epoger
https://codereview.chromium.org/21669004/diff/19001/gm/gmmain.cpp File gm/gmmain.cpp (left): https://codereview.chromium.org/21669004/diff/19001/gm/gmmain.cpp#oldcode245 gm/gmmain.cpp:245: filename.append(shortName); On 2013/08/08 03:58:00, ducky wrote: > Is there ...
7 years, 4 months ago (2013-08-13 18:06:53 UTC) #9
ducky
More fixes to pass tests and address stylistic comments. https://codereview.chromium.org/21669004/diff/19001/gm/gmmain.cpp File gm/gmmain.cpp (left): https://codereview.chromium.org/21669004/diff/19001/gm/gmmain.cpp#oldcode245 gm/gmmain.cpp:245: ...
7 years, 4 months ago (2013-08-14 00:37:11 UTC) #10
vandebo (ex-Chrome)
https://codereview.chromium.org/21669004/diff/90001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/21669004/diff/90001/gm/gmmain.cpp#newcode1796 gm/gmmain.cpp:1796: bool prepare_subdirectories(const char *root, bool useFileHierarchy, Any reason to ...
7 years, 4 months ago (2013-08-14 16:46:20 UTC) #11
epoger
I think this will be a bit clearer once you commit https://codereview.chromium.org/23072014/ ('Refactor GM to ...
7 years, 4 months ago (2013-08-14 19:45:59 UTC) #12
ducky
Just answering the one comment. https://codereview.chromium.org/21669004/diff/90001/gm/tests/outputs/pipe-playback-failure/output-expected/stderr File gm/tests/outputs/pipe-playback-failure/output-expected/stderr (right): https://codereview.chromium.org/21669004/diff/90001/gm/tests/outputs/pipe-playback-failure/output-expected/stderr#newcode1 gm/tests/outputs/pipe-playback-failure/output-expected/stderr:1: GM: FAILED to write ...
7 years, 4 months ago (2013-08-14 19:56:42 UTC) #13
ducky
https://codereview.chromium.org/21669004/diff/90001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/21669004/diff/90001/gm/gmmain.cpp#newcode1796 gm/gmmain.cpp:1796: bool prepare_subdirectories(const char *root, bool useFileHierarchy, On 2013/08/14 16:46:20, ...
7 years, 4 months ago (2013-08-14 23:22:43 UTC) #14
vandebo (ex-Chrome)
LGTM https://codereview.chromium.org/21669004/diff/90001/gm/tests/outputs/add-config-pdf/output-expected/stdout File gm/tests/outputs/add-config-pdf/output-expected/stdout (right): https://codereview.chromium.org/21669004/diff/90001/gm/tests/outputs/add-config-pdf/output-expected/stdout#newcode1 gm/tests/outputs/add-config-pdf/output-expected/stdout:1: GM: These configs will be run: 8888 565 ...
7 years, 4 months ago (2013-08-14 23:51:15 UTC) #15
ducky
Now just waiting for the prerequisite CLs to go in... As a separate note, it ...
7 years, 4 months ago (2013-08-15 01:20:48 UTC) #16
vandebo (ex-Chrome)
On 2013/08/15 01:20:48, ducky wrote: > Now just waiting for the prerequisite CLs to go ...
7 years, 4 months ago (2013-08-15 16:31:05 UTC) #17
ducky
Added a flag to prevent PDF rasterization for GMs. Disable rasterization for mixed_xfermodes, which tends ...
7 years, 4 months ago (2013-08-15 22:02:17 UTC) #18
epoger
LGTM at patchset 15
7 years, 4 months ago (2013-08-16 16:06:38 UTC) #19
ducky
Ugly hack to prevent the compiler from giving "comparison of unsigned expression < 0 is ...
7 years, 4 months ago (2013-08-20 22:54:33 UTC) #20
vandebo (ex-Chrome)
LGTM
7 years, 4 months ago (2013-08-20 23:01:35 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/richardlin@chromium.org/21669004/143006
7 years, 4 months ago (2013-08-20 23:03:12 UTC) #22
commit-bot: I haz the power
Can't process patch for file gm/tests/outputs/add-config-pdf/output-expected/writePath/pdf_poppler/selftest1.png. Binary file support is temporarilly disabled due to a ...
7 years, 4 months ago (2013-08-20 23:03:21 UTC) #23
vandebo (ex-Chrome)
7 years, 4 months ago (2013-08-20 23:08:47 UTC) #24
Message was sent while issue was closed.
Committed patchset #17 manually as r10841 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698