Bug 932278 - Remove the long-defunct gfxPlatform::UseReusableTileStore. r=BenWa

This commit is contained in:
Chris Lord 2013-10-31 15:53:51 +00:00
Родитель 6a145a3bfd
Коммит f500d6a735
2 изменённых файлов: 0 добавлений и 20 удалений

Просмотреть файл

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