mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +01:00
prefs: Move some DebugOptions
to Preferences
and clean up (#34998)
- Move options configuring antialiasing and WebRender shader precache to the `Preferences` to group them with other related WebRender and DOM settings. - Remove the option to disable antialiasing for canvases. This was unused. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
e1b4649faf
commit
2d09552234
12 changed files with 24 additions and 81 deletions
|
@ -611,19 +611,10 @@ fn print_debug_options_usage(app: &str) {
|
|||
"convert-mouse-to-touch",
|
||||
"Send touch events instead of mouse events",
|
||||
);
|
||||
print_option(
|
||||
"disable-canvas-aa",
|
||||
"Disable antialiasing on the HTML canvas element.",
|
||||
);
|
||||
print_option(
|
||||
"disable-share-style-cache",
|
||||
"Disable the style sharing cache.",
|
||||
);
|
||||
print_option(
|
||||
"disable-subpixel-aa",
|
||||
"Disable subpixel text antialiasing overriding preference.",
|
||||
);
|
||||
print_option("disable-text-aa", "Disable antialiasing of rendered text.");
|
||||
print_option(
|
||||
"dump-stacking-context-tree",
|
||||
"Print the stacking context tree after each layout.",
|
||||
|
@ -658,7 +649,6 @@ fn print_debug_options_usage(app: &str) {
|
|||
"parallel-display-list-building",
|
||||
"Build display lists in parallel.",
|
||||
);
|
||||
print_option("precache-shaders", "Compile all shaders during init.");
|
||||
print_option(
|
||||
"profile-script-events",
|
||||
"Enable profiling of script-related events.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue