Backed out changeset f9ef76b7dbc2

This commit is contained in:
Benoit Jacob 2010-10-06 17:04:30 -04:00
parent f2f9b2693f
commit b453b4e025
2 changed files with 1 additions and 27 deletions

View File

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

View File

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