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

Issue 22865029: Fix expectations in GM PDF rendering (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : Add gmmain fix #

Patch Set 3 : Use dash in configName #

Total comments: 5

Patch Set 4 : Update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1293 lines, -1293 lines) Patch
M expectations/gm/Test-Mac10.6-MacMini4.1-GeForce320M-x86-Debug/expected-results.json View 1 2 133 chunks +133 lines, -133 lines 0 comments Download
M expectations/gm/Test-Mac10.6-MacMini4.1-GeForce320M-x86-Release/expected-results.json View 1 2 133 chunks +133 lines, -133 lines 0 comments Download
M expectations/gm/Test-Mac10.6-MacMini4.1-GeForce320M-x86_64-Debug/expected-results.json View 1 2 133 chunks +133 lines, -133 lines 0 comments Download
M expectations/gm/Test-Mac10.6-MacMini4.1-GeForce320M-x86_64-Release/expected-results.json View 1 2 133 chunks +133 lines, -133 lines 0 comments Download
M expectations/gm/Test-Mac10.7-MacMini4.1-GeForce320M-x86-Debug/expected-results.json View 1 2 133 chunks +133 lines, -133 lines 0 comments Download
M expectations/gm/Test-Mac10.7-MacMini4.1-GeForce320M-x86-Release/expected-results.json View 1 2 133 chunks +133 lines, -133 lines 0 comments Download
M expectations/gm/Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Debug/expected-results.json View 1 2 133 chunks +133 lines, -133 lines 0 comments Download
M expectations/gm/Test-Mac10.7-MacMini4.1-GeForce320M-x86_64-Release/expected-results.json View 1 2 133 chunks +133 lines, -133 lines 0 comments Download
M expectations/gm/base-macpro/expected-results.json View 1 2 216 chunks +216 lines, -216 lines 0 comments Download
M gm/gmmain.cpp View 1 2 3 6 chunks +14 lines, -11 lines 0 comments Download
M gm/tests/outputs/add-config-pdf/output-expected/json-summary.txt View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A + gm/tests/outputs/add-config-pdf/output-expected/mismatchPath/pdf-poppler/bogusfile View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D gm/tests/outputs/add-config-pdf/output-expected/mismatchPath/pdf_poppler/bogusfile View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A + gm/tests/outputs/add-config-pdf/output-expected/missingExpectationsPath/pdf-poppler/bogusfile View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + gm/tests/outputs/add-config-pdf/output-expected/missingExpectationsPath/pdf-poppler/selftest1.png View 1 2 Binary file 0 comments Download
D gm/tests/outputs/add-config-pdf/output-expected/missingExpectationsPath/pdf/selftest1.png View 1 2 Binary file 0 comments Download
D gm/tests/outputs/add-config-pdf/output-expected/missingExpectationsPath/pdf_poppler/bogusfile View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A + gm/tests/outputs/add-config-pdf/output-expected/writePath/pdf-poppler/bogusfile View 1 2 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 Binary file 0 comments Download
D gm/tests/outputs/add-config-pdf/output-expected/writePath/pdf_poppler/bogusfile View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D gm/tests/outputs/add-config-pdf/output-expected/writePath/pdf_poppler/selftest1.png View 1 2 Binary file 0 comments Download

Messages

Total messages: 9 (0 generated)
ducky
Whitespace to get bots to show up . . . . . . . . ...
7 years, 4 months ago (2013-08-21 16:15:24 UTC) #1
ducky
The should fix the GM PDF rendering. - Mac expectation names now also contain the ...
7 years, 4 months ago (2013-08-21 17:36:05 UTC) #2
vandebo (ex-Chrome)
LGTM
7 years, 4 months ago (2013-08-21 17:45:33 UTC) #3
epoger
LGTM, assuming it won't work for gRec.fName to return "pdf-mac" directly. https://codereview.chromium.org/22865029/diff/11001/gm/gmmain.cpp File gm/gmmain.cpp (right): ...
7 years, 4 months ago (2013-08-21 17:55:32 UTC) #4
ducky
Reply to comments. ... waiting for trybots to go green now... https://codereview.chromium.org/22865029/diff/11001/gm/gmmain.cpp File gm/gmmain.cpp (right): ...
7 years, 4 months ago (2013-08-21 18:01:33 UTC) #5
vandebo (ex-Chrome)
Committed patchset #4 manually as r10863 (presubmit successful).
7 years, 4 months ago (2013-08-21 18:04:24 UTC) #6
epoger
https://codereview.chromium.org/22865029/diff/11001/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/22865029/diff/11001/gm/gmmain.cpp#newcode1054 gm/gmmain.cpp:1054: SkString configName(gRec.fName); On 2013/08/21 18:01:34, ducky wrote: > On ...
7 years, 4 months ago (2013-08-21 18:05:20 UTC) #7
ducky
I'm not sure if that would make things much cleaner: - you would still have ...
7 years, 4 months ago (2013-08-21 18:10:55 UTC) #8
epoger
7 years, 4 months ago (2013-08-21 18:12:14 UTC) #9
Message was sent while issue was closed.
On 2013/08/21 18:10:55, ducky wrote:
> I'm not sure if that would make things much cleaner:
> - you would still have two gRec structs (one gRec indicating global configs
and
> one subclassed gRec containing PDF-specific data), since you probably don't
want
> to have multiple PDF renderers in the main gRec. It's probably also not clean
to
> have a pdfRenderingFunction field in the main gRec either.
> - the PDF renderer doesn't care about most of the fields in gRec either, so
> there would be additional copying code to populate the extra fields from the
> base PDF gRec.
> - and we only save one argument in one function that only gets called from one
> place (well, three calls in the same function).

Sounds like it's not worth it.  Thanks for the exploration.

Powered by Google App Engine
This is Rietveld 408576698