mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1042295 - Change in Linux OMTC activation. r=nical
This commit is contained in:
parent
449b827565
commit
32a91eb036
@ -2031,15 +2031,16 @@ gfxPlatform::UsesOffMainThreadCompositing()
|
||||
gfxPrefs::LayersOffMainThreadCompositionEnabled() ||
|
||||
gfxPrefs::LayersOffMainThreadCompositionForceEnabled() ||
|
||||
gfxPrefs::LayersOffMainThreadCompositionTestingEnabled();
|
||||
#if defined(MOZ_WIDGET_GTK) && defined(NIGHTLY_BUILD)
|
||||
#if defined(MOZ_WIDGET_GTK)
|
||||
// Linux users who chose OpenGL are being grandfathered in to OMTC
|
||||
result |=
|
||||
gfxPrefs::LayersAccelerationForceEnabled() ||
|
||||
PR_GetEnv("MOZ_USE_OMTC") ||
|
||||
PR_GetEnv("MOZ_OMTC_ENABLED"); // yeah, these two env vars do the same thing.
|
||||
// I'm told that one of them is enabled on some test slaves config.
|
||||
// so be slightly careful if you think you can
|
||||
// remove one of them.
|
||||
result |= gfxPrefs::LayersAccelerationForceEnabled();
|
||||
|
||||
#if !defined(NIGHTLY_BUILD)
|
||||
// Yeah, these two env vars do the same thing.
|
||||
// I'm told that one of them is enabled on some test slaves config,
|
||||
// so be slightly careful if you think you can remove one of them.
|
||||
result &= PR_GetEnv("MOZ_USE_OMTC") || PR_GetEnv("MOZ_OMTC_ENABLED");
|
||||
#endif
|
||||
#endif
|
||||
firstTime = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user