summaryrefslogtreecommitdiffstats
path: root/toolkit/content
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-19 03:40:50 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-19 03:40:50 +0100
commit4f6a779e0c05599a2c01155d2599595bad279bcf (patch)
tree81de09b7f9c171875b0f1328b4eff79408c3ff22 /toolkit/content
parent47ca6f108f25b7181b88a458a3e92f82ad4f411e (diff)
downloadUXP-4f6a779e0c05599a2c01155d2599595bad279bcf.tar
UXP-4f6a779e0c05599a2c01155d2599595bad279bcf.tar.gz
UXP-4f6a779e0c05599a2c01155d2599595bad279bcf.tar.lz
UXP-4f6a779e0c05599a2c01155d2599595bad279bcf.tar.xz
UXP-4f6a779e0c05599a2c01155d2599595bad279bcf.zip
Issue #1242 - Reinstate GPU Accelerated Windows entry in about:support
This resolves #1242.
Diffstat (limited to 'toolkit/content')
-rw-r--r--toolkit/content/aboutSupport.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolkit/content/aboutSupport.js b/toolkit/content/aboutSupport.js
index 06470f966..5c889c18f 100644
--- a/toolkit/content/aboutSupport.js
+++ b/toolkit/content/aboutSupport.js
@@ -278,6 +278,18 @@ var snapshotFormatters = {
? data.windowLayerManagerType
: "BasicLayers (" + strings.GetStringFromName("mainThreadNoOMTC") + ")";
addRow("features", "compositing", compositor);
+
+ let acceleratedWindows = data.numAcceleratedWindows + "/" + data.numTotalWindows;
+ if (data.windowLayerManagerType) {
+ acceleratedWindows += " " + data.windowLayerManagerType;
+ }
+ if (data.windowLayerManagerRemote) {
+ acceleratedWindows += " (OMTC)";
+ }
+ if (data.numAcceleratedWindowsMessage) {
+ acceleratedWindows += " " + localizedMsg(data.numAcceleratedWindowsMessage);
+ }
+ addRow("features", "acceleratedWindows", acceleratedWindows);
delete data.windowLayerManagerRemote;
delete data.windowLayerManagerType;
delete data.numTotalWindows;