зеркало из https://github.com/mozilla/gecko-dev.git
Bug 932278 - Remove the long-defunct gfxPlatform::UseReusableTileStore. r=BenWa
This commit is contained in:
Родитель
6a145a3bfd
Коммит
f500d6a735
|
@ -1575,22 +1575,6 @@ gfxPlatform::GetLowPrecisionResolution()
|
|||
return sLowPrecisionResolution;
|
||||
}
|
||||
|
||||
bool
|
||||
gfxPlatform::UseReusableTileStore()
|
||||
{
|
||||
static bool sUseReusableTileStore;
|
||||
static bool sUseReusableTileStorePrefCached = false;
|
||||
|
||||
if (!sUseReusableTileStorePrefCached) {
|
||||
sUseReusableTileStorePrefCached = true;
|
||||
mozilla::Preferences::AddBoolVarCache(&sUseReusableTileStore,
|
||||
"layers.reuse-invalid-tiles",
|
||||
false);
|
||||
}
|
||||
|
||||
return sUseReusableTileStore;
|
||||
}
|
||||
|
||||
bool
|
||||
gfxPlatform::OffMainThreadCompositingEnabled()
|
||||
{
|
||||
|
|
|
@ -489,10 +489,6 @@ public:
|
|||
// Retrieve the resolution that a low precision buffer should render at.
|
||||
static float GetLowPrecisionResolution();
|
||||
|
||||
// Retain some invalid tiles when the valid region of a layer changes and
|
||||
// excludes previously valid tiles.
|
||||
static bool UseReusableTileStore();
|
||||
|
||||
static bool OffMainThreadCompositingEnabled();
|
||||
|
||||
/** Use gfxPlatform::GetPref* methods instead of direct calls to Preferences
|
||||
|
|
Загрузка…
Ссылка в новой задаче