Reinstate GPU Accelerated Windows entry.

master
Fedor 2019-12-25 15:46:20 +03:00
parent 85906a8fa5
commit 6e90a0ec52
2 changed files with 22 additions and 0 deletions

View File

@ -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;

View File

@ -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