Descriptionmac content shell drt: Hook up a dummy image transport
WebKit's layout tests require running with osmesa to get reliable pixel results.
Since content shell drt spins up a full gpu process, an image transport
implementation is needed for osmesa. content shell drt reads pixel baselines
off the renderer, so the implementation doesn't have to do much.
To make sure it doesn't get picked accidentally, put it behind a off-by-default
flag that's only toggled on in content shell drt.
BUG=111316
TEST=
`webkit/tools/layout_tests/run_webkit_tests.sh --driver-name 'Content Shell' --additional-drt-flag --dump-render-tree webgl/conformance/attribs/gl-disabled-vertex-attrib.html` passes
`webkit/tools/layout_tests/run_webkit_tests.sh --driver-name 'Content Shell' --additional-drt-flag --dump-render-tree animations/3d/change-transform-in-end-event.html` has only minor text antialiasing pixel differences
Note: Running `out/Release/Content\ Shell.app/Contents/MacOS/Content\ Shell third_party/WebKit/LayoutTests/animations/3d/change-transform-in-end-event.html --dump-render-tree` won't update the drt window correctly due to this being a dummy transport bitmap. Eventually --dump-render-tree will hide the window, so that should be ok. (And without --dump-render-tree, the test renders fine.)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184740
Patch Set 1 #
Total comments: 12
Patch Set 2 : jochen #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|