mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 8151f4102646 (bug 1249640)
This commit is contained in:
parent
7ceeb44c7e
commit
bdc8da6aac
@ -426,6 +426,14 @@ gfxPlatformMac::ReadAntiAliasingThreshold()
|
|||||||
return threshold;
|
return threshold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool
|
||||||
|
gfxPlatformMac::UseAcceleratedSkiaCanvas()
|
||||||
|
{
|
||||||
|
// Lion or later is required
|
||||||
|
// Bug 1249659 - Lion has some gfx issues so disabled on lion and earlier
|
||||||
|
return nsCocoaFeatures::OnMountainLionOrLater() && gfxPlatform::UseAcceleratedSkiaCanvas();
|
||||||
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
gfxPlatformMac::UseProgressivePaint()
|
gfxPlatformMac::UseProgressivePaint()
|
||||||
{
|
{
|
||||||
|
@ -90,6 +90,8 @@ public:
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual bool UseAcceleratedSkiaCanvas() override;
|
||||||
|
|
||||||
virtual bool UseProgressivePaint() override;
|
virtual bool UseProgressivePaint() override;
|
||||||
virtual already_AddRefed<mozilla::gfx::VsyncSource> CreateHardwareVsyncSource() override;
|
virtual already_AddRefed<mozilla::gfx::VsyncSource> CreateHardwareVsyncSource() override;
|
||||||
|
|
||||||
|
@ -348,10 +348,6 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature,
|
|||||||
*aStatus = nsIGfxInfo::FEATURE_STATUS_OK;
|
*aStatus = nsIGfxInfo::FEATURE_STATUS_OK;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
} else if (aFeature == nsIGfxInfo::FEATURE_CANVAS2D_ACCELERATION) {
|
|
||||||
// See bug 1249659
|
|
||||||
*aStatus = (os > DRIVER_OS_OS_X_10_7) ? nsIGfxInfo::FEATURE_STATUS_OK : nsIGfxInfo::FEATURE_BLOCKED_OS_VERSION;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user