diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-19 03:40:50 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-19 03:40:50 +0100 |
commit | 4f6a779e0c05599a2c01155d2599595bad279bcf (patch) | |
tree | 81de09b7f9c171875b0f1328b4eff79408c3ff22 /toolkit | |
parent | 47ca6f108f25b7181b88a458a3e92f82ad4f411e (diff) | |
download | UXP-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')
-rw-r--r-- | toolkit/content/aboutSupport.js | 12 | ||||
-rw-r--r-- | toolkit/locales/en-US/chrome/global/aboutSupport.properties | 10 |
2 files changed, 22 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; diff --git a/toolkit/locales/en-US/chrome/global/aboutSupport.properties b/toolkit/locales/en-US/chrome/global/aboutSupport.properties index be9ce5f33..1a8760c4e 100644 --- a/toolkit/locales/en-US/chrome/global/aboutSupport.properties +++ b/toolkit/locales/en-US/chrome/global/aboutSupport.properties @@ -27,6 +27,16 @@ crashesTimeDays=#1 day ago;#1 days ago # #1 number of pending crash reports pendingReports=All Crash Reports (including #1 pending crash in the given time range);All Crash Reports (including #1 pending crashes in the given time range) +# LOCALIZATION NOTE In the following strings, "Direct2D", "DirectWrite" and "ClearType" +# are proper nouns and should not be translated. Feel free to leave english strings if +# there are no good translations, these are only used in about:support + +# LOCALIZATION NOTE: This can be localized with a more generic term, like +# "Graphics-accelerated Windows". It describes a number of windows, e.g.: +# "GPU Accelerated Windows: 2/2 (Direct3D 9)" +# "GPU Accelerated Windows: 0/2" +acceleratedWindows = GPU Accelerated Windows + # LOCALIZATION NOTE (rawDataCopied) Text displayed in a mobile "Toast" to user when the # raw data is successfully copied to the clipboard via button press. rawDataCopied=Raw data copied to clipboard |