args.yaml (6181B)
1 name: wrench 2 version: "0.1" 3 author: Vladimir Vukicevic <vladimir@pobox.com> 4 about: WebRender testing and debugging utility 5 6 args: 7 - precache: 8 short: c 9 long: precache 10 help: Precache shaders 11 - verbose: 12 short: v 13 long: verbose 14 help: Enable verbose display 15 - shaders: 16 long: shaders 17 help: Override path for shaders 18 takes_value: true 19 - use_unoptimized_shaders: 20 long: use-unoptimized-shaders 21 help: Use unoptimized shaders rather than the shaders optimized at build-time 22 - rebuild: 23 short: r 24 long: rebuild 25 help: Rebuild display list from scratch every frame 26 - no_subpixel_aa: 27 short: a 28 long: no-subpixel-aa 29 help: Disable subpixel aa 30 - slow_subpixel: 31 long: slow-subpixel 32 help: Disable dual source blending 33 - headless: 34 long: headless 35 help: Enable headless rendering 36 - angle: 37 long: angle 38 help: Enable ANGLE rendering (on Windows only) 39 - compositor: 40 long: compositor 41 help: Enable native OS compositor integration 42 - software: 43 long: software 44 help: Enable software rendering 45 - size: 46 short: s 47 long: size 48 help: Window size, specified as widthxheight (e.g. 1024x768), in pixels 49 takes_value: true 50 - vsync: 51 long: vsync 52 help: Enable vsync for OpenGL window 53 - no_scissor: 54 long: no-scissor 55 help: Disable scissors when clearing render targets 56 - no_batch: 57 long: no-batch 58 help: Disable batching of instanced draw calls 59 - chase: 60 long: chase 61 help: Chase a particular primitive matching the local rect or ID 62 takes_value: true 63 - dump_shader_source: 64 long: dump-shader-source 65 help: Dump the source of the specified shader 66 takes_value: true 67 global: true 68 - renderer: 69 long: renderer 70 help: Select rendering API (gl3, es3) 71 takes_value: true 72 global: true 73 - no_block: 74 long: no-block 75 help: Don't block on UI events - run event loop as fast as possible. 76 - profiler_ui: 77 long: profiler-ui 78 takes_value: true 79 help: A string describing what to show on in the profiler HUD (See https://github.com/servo/webrender/wiki/Debugging-WebRender#anchor_6). 80 81 subcommands: 82 - png: 83 about: render frame described by YAML and save it to a png file 84 args: 85 - surface: 86 short: s 87 long: surface 88 help: 'What rendered surface to save as PNG, one of: screen, gpu-cache' 89 takes_value: true 90 - INPUT: 91 help: The input YAML file 92 required: true 93 index: 1 94 - OUTPUT: 95 help: Optional output path to save to. 96 required: false 97 index: 2 98 - show: 99 about: show frame(s) described by YAML, binary recording, or capture 100 aliases: ['load', 'replay'] 101 args: 102 - include: 103 long: include 104 help: Include the given element type. Can be specified multiple times. (rect/image/text/glyphs/border) (YAML only) 105 multiple: true 106 takes_value: true 107 - list-resources: 108 long: list-resources 109 help: List the resources used by this render (YAML only) 110 - watch: 111 short: w 112 long: watch 113 help: Watch the given file, reloading whenever it changes (YAML only) 114 - keyframes: 115 short: k 116 long: keyframes 117 takes_value: true 118 help: Provide a keyframes file, that can be used to animate the yaml input file 119 - scene-id: 120 short: s 121 long: scene-id 122 takes_value: true 123 help: Select a starting scene sequence ID (YAML capture sequence only). 124 - frame-id: 125 short: f 126 long: frame-id 127 takes_value: true 128 help: Select a starting frame sequence ID (YAML capture sequence only). 129 - INPUT: 130 help: The input YAML, binary recording, or capture directory 131 required: true 132 index: 1 133 - reftest: 134 about: run reftests 135 args: 136 - fuzz_tolerance: 137 long: fuzzy 138 takes_value: true 139 help: Add a minimum fuzziness tolerance to all tests. 140 required: false 141 - REFTEST: 142 help: a specific reftest or directory to run 143 required: false 144 index: 1 145 - rawtest: 146 about: run rawtests 147 - perf: 148 about: run benchmarks 149 args: 150 - filename: 151 help: name of the file to save benchmarks to 152 required: true 153 index: 1 154 - benchmark: 155 help: benchmark list filename (default is benchmarks/benchmarks.list) 156 required: false 157 index: 2 158 - auto-filename: 159 long: auto-filename 160 help: generate output filename from date and time (user provided filename is the directory prefix) 161 required: false 162 - csv: 163 long: csv 164 help: save benchmark results as .csv (default is json) 165 required: false 166 - warmup_frames: 167 long: warmup_frames 168 takes_value: true 169 help: number of frames to skip before recording timings 170 required: false 171 - sample_count: 172 long: sample_count 173 takes_value: true 174 help: number of samples to capture 175 - test_invalidation: 176 about: run invalidation tests 177 - compare_perf: 178 about: compare two benchmark files 179 args: 180 - first_filename: 181 help: first benchmark file to compare 182 required: true 183 index: 1 184 - second_filename: 185 help: second benchmark file to compare 186 required: true 187 index: 2 188 - test_init: 189 about: Test for successful initialization then exit immediately 190 - test_shaders: 191 about: run shader tests