gfx: Switch the default to CPU painting.

We've discussed this some and I think there's consensus to do it as a
pragmatic decision for now. CPU painting is more stable, especially with
buggy drivers, and faster (because we aren't caching the necessary
OpenGL objects yet and possibly for other reasons), so it provides a
better "out of the box" experience for newcomers to Servo who don't know
to pass the `-c` option. This patch continues to reftest both Skia and
Skia-GL out of a desire to keep options open. Skia-GL remains a
first-class citizen.
This commit is contained in:
Patrick Walton 2014-10-20 23:12:50 -07:00
parent 156ca98236
commit 32e34663cd
4 changed files with 15 additions and 11 deletions

View file

@ -231,10 +231,13 @@ fn capture(reftest: &Reftest, side: uint) -> (u32, u32, Vec<u8>) {
url.fragment = reftest.fragment_identifier.clone();
url.to_string()
});
// GPU rendering is the default
// CPU rendering is the default
if reftest.render_mode.contains(CpuRendering) {
command.arg("-c");
}
if reftest.render_mode.contains(GpuRendering) {
command.arg("-g");
}
if reftest.experimental {
command.arg("--experimental");
}