aboutsummaryrefslogtreecommitdiffstats
path: root/components/config
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-01-24 11:14:28 -0800
committerGitHub <noreply@github.com>2017-01-24 11:14:28 -0800
commit185759f87a8dec88f5f65c49ac9df90b47014b19 (patch)
tree5f9d701b24ce521738143a2938ca09d6d4b02b82 /components/config
parentf3c102d2fe5ae2992233f5ab2de7c00f188bc8a0 (diff)
parent6ead3952a3dd745da79ac8b02fc18f2f58f6e0ae (diff)
downloadservo-185759f87a8dec88f5f65c49ac9df90b47014b19.tar.gz
servo-185759f87a8dec88f5f65c49ac9df90b47014b19.zip
Auto merge of #15164 - mbrubeck:revert, r=emilio
Revert several changes that broke tests This is based on #15158 by @aneeshusa, with additional reverts. This reverts #15064, which is causing many tests not to run, and #15129 and #15155 which landed while tests were not running and may have caused some new failures in iframe tests. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15164) <!-- Reviewable:end -->
Diffstat (limited to 'components/config')
-rw-r--r--components/config/opts.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/config/opts.rs b/components/config/opts.rs
index 4abcf1f8421..df2bb2e041e 100644
--- a/components/config/opts.rs
+++ b/components/config/opts.rs
@@ -573,6 +573,8 @@ pub fn from_cmdline_args(args: &[String]) -> ArgumentParsingResult {
let (app_name, args) = args.split_first().unwrap();
let mut opts = Options::new();
+ opts.optflag("c", "cpu", "CPU painting");
+ opts.optflag("g", "gpu", "GPU painting");
opts.optopt("o", "output", "Output file", "output.png");
opts.optopt("s", "size", "Size of tiles", "512");
opts.optopt("", "device-pixel-ratio", "Device pixels per px", "");
@@ -618,6 +620,7 @@ pub fn from_cmdline_args(args: &[String]) -> ArgumentParsingResult {
opts.optmulti("", "pref",
"A preference to set to enable", "dom.mozbrowser.enabled");
opts.optflag("b", "no-native-titlebar", "Do not use native titlebar");
+ opts.optflag("w", "webrender", "Use webrender backend");
opts.optopt("G", "graphics", "Select graphics backend (gl or es2)", "gl");
opts.optopt("", "config-dir",
"config directory following xdg spec on linux platform", "");