mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Backed out changeset f9ef76b7dbc2
This commit is contained in:
parent
f2f9b2693f
commit
b453b4e025
@ -187,29 +187,10 @@ function populateGraphicsSection() {
|
||||
createHeader(bundle.GetStringFromName("driverDate")),
|
||||
createElement("td", gfxInfo.adapterDriverDate),
|
||||
]));
|
||||
|
||||
var d2dEnabled = gfxInfo.D2DEnabled;
|
||||
var d2dMessage = d2dEnabled;
|
||||
if (!d2dEnabled) {
|
||||
var d2dStatus = gfxInfo.getFeatureStatus(gfxgfxInfoInfo.FEATURE_DIRECT2D);
|
||||
if (d2dStatus == gfxInfo.FEATURE_BLOCKED_DEVICE ||
|
||||
d2dStatus == gfxInfo.FEATURE_DISCOURAGED)
|
||||
{
|
||||
d2dMessage = bundle.GetStringFromName("blockedGraphicsCard");
|
||||
}
|
||||
else if (d2dStatus == gfxInfo.FEATURE_BLOCKED_DRIVER_VERSION)
|
||||
{
|
||||
var d2dSuggestedDriverVersion = gfxInfo.getFeatureSuggestedDriverVersion(gfxInfo.FEATURE_DIRECT2D);
|
||||
if (d2dSuggestedDriverVersion) {
|
||||
d2dMessage += bundle.GetStringFromName("tryNewerDriverVersion").replace("%1", d2dSuggestedDriverVersion);
|
||||
}
|
||||
}
|
||||
}
|
||||
trGraphics.push(createParentElement("tr", [
|
||||
createHeader(bundle.GetStringFromName("direct2DEnabled")),
|
||||
createElement("td", d2dMessage),
|
||||
createElement("td", gfxInfo.D2DEnabled),
|
||||
]));
|
||||
|
||||
trGraphics.push(createParentElement("tr", [
|
||||
createHeader(bundle.GetStringFromName("directWriteEnabled")),
|
||||
createElement("td", gfxInfo.DWriteEnabled),
|
||||
|
@ -7,13 +7,6 @@
|
||||
# "GPU Accelerated Windows: 0/2"
|
||||
acceleratedWindows = GPU Accelerated Windows
|
||||
|
||||
# LOCALIZATION NOTE The verb "blocked" here refers to a graphics feature such as "Direct2D" or "OpenGL layers".
|
||||
# The %1 here is a placeholder, leave unchanged, it will get replaced by the driver version string.
|
||||
tryNewerDriverVersion = Blocked on your graphics driver. Try updating your graphics driver to version %1 or newer.
|
||||
|
||||
# LOCALIZATION NOTE The verb "blocked" here refers to a graphics feature such as "Direct2D" or "OpenGL layers".
|
||||
blockedGraphicsCard = Blocked on your graphics card because of unresolved driver issues.
|
||||
|
||||
direct2DEnabled = Direct2D Enabled
|
||||
directWriteEnabled = DirectWrite Enabled
|
||||
adapterDescription = Adapter Description
|
||||
|
Loading…
Reference in New Issue
Block a user