summaryrefslogtreecommitdiffstats
path: root/webbrowser/components/preferences/advanced.xul
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2020-05-07 21:52:01 -0700
committerThomas Groman <tgroman@nuegia.net>2020-05-07 21:52:01 -0700
commitf8db70f7d61b90e2ed273b71559b6a5b3b62e5be (patch)
treecf937b622e4fb74a716aaa8b327224790b4f9496 /webbrowser/components/preferences/advanced.xul
parent15f51c2ef494e2db935178123bb957267275af77 (diff)
downloadwebbrowser-f8db70f7d61b90e2ed273b71559b6a5b3b62e5be.tar
webbrowser-f8db70f7d61b90e2ed273b71559b6a5b3b62e5be.tar.gz
webbrowser-f8db70f7d61b90e2ed273b71559b6a5b3b62e5be.tar.lz
webbrowser-f8db70f7d61b90e2ed273b71559b6a5b3b62e5be.tar.xz
webbrowser-f8db70f7d61b90e2ed273b71559b6a5b3b62e5be.zip
group hardware accel settings
Diffstat (limited to 'webbrowser/components/preferences/advanced.xul')
-rw-r--r--webbrowser/components/preferences/advanced.xul26
1 files changed, 15 insertions, 11 deletions
diff --git a/webbrowser/components/preferences/advanced.xul b/webbrowser/components/preferences/advanced.xul
index e5f3bb1..4466d63 100644
--- a/webbrowser/components/preferences/advanced.xul
+++ b/webbrowser/components/preferences/advanced.xul
@@ -1,9 +1,6 @@
<?xml version="1.0"?>
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
<!DOCTYPE overlay [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
@@ -31,11 +28,9 @@
<preference id="general.autoScroll" name="general.autoScroll" type="bool"/>
<preference id="general.smoothScroll" name="general.smoothScroll" type="bool"/>
- <preference id="layers.acceleration.disabled" name="layers.acceleration.disabled" type="bool" inverted="true"
+ <preference id="layers.acceleration.enabled" name="layers.acceleration.enabled" type="bool"
onchange="gAdvancedPane.updateHardwareAcceleration()"/>
-#ifdef XP_WIN
- <preference id="gfx.direct2d.disabled" name="gfx.direct2d.disabled" type="bool" inverted="true"/>
-#endif
+ <preference id="layers.acceleration.force" name="layers.acceleration.force" type="bool"/>
<preference id="layout.spellcheckDefault" name="layout.spellcheckDefault" type="int"/>
#ifdef HAVE_SHELL_SERVICE
@@ -152,10 +147,6 @@
label="&useAutoScroll.label;"
accesskey="&useAutoScroll.accesskey;"
preference="general.autoScroll"/>
- <checkbox id="allowHWAccel"
- label="&allowHWAccel.label;"
- accesskey="&allowHWAccel.accesskey;"
- preference="layers.acceleration.disabled"/>
<checkbox id="checkSpelling"
label="&checkSpelling.label;"
accesskey="&checkSpelling.accesskey;"
@@ -164,6 +155,19 @@
preference="layout.spellcheckDefault"/>
</groupbox>
+ <!-- Hardware Acceleration -->
+ <groupbox id="browsingGroup" align="start">
+ <caption label="&HWAccel.label;"/>
+ <label>&restartRequired.label;</label>
+ <checkbox id="allowHWAccel"
+ label="&allowHWAccel.label;"
+ accesskey="&allowHWAccel.accesskey;"
+ reference="layers.acceleration.enabled"/>
+ <checkbox id="forceHWAccel" class="indent"
+ label="&forceHWAccel.label;"
+ preference="layers.acceleration.force"/>
+ </groupbox>
+
#ifdef HAVE_SHELL_SERVICE
<!-- System Defaults -->
<groupbox id="systemDefaultsGroup" orient="vertical">