зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset e1bb91f60697 (bug 1129871)
This commit is contained in:
Родитель
4ae7286acb
Коммит
999f6284ec
|
@ -528,7 +528,7 @@ TiledLayerBuffer<Derived, Tile>::Update(const nsIntRegion& newValidRegion,
|
|||
static_cast<unsigned>(index) < newRetainedTiles.Length(),
|
||||
"index out of range");
|
||||
|
||||
Tile& newTile = newRetainedTiles[index];
|
||||
Tile newTile = newRetainedTiles[index];
|
||||
|
||||
// Try to reuse a tile from the old retained tiles that had no partially
|
||||
// valid content.
|
||||
|
@ -550,6 +550,8 @@ TiledLayerBuffer<Derived, Tile>::Update(const nsIntRegion& newValidRegion,
|
|||
#ifdef GFX_TILEDLAYER_PREF_WARNINGS
|
||||
printf_stderr("Store Validate tile %i, %i -> %i\n", tileStartX, tileStartY, index);
|
||||
#endif
|
||||
newRetainedTiles[index] = newTile;
|
||||
|
||||
y += height;
|
||||
}
|
||||
|
||||
|
|
|
@ -36,11 +36,11 @@ public:
|
|||
return TestTiledLayerTile(-1);
|
||||
}
|
||||
|
||||
void ValidateTile(TestTiledLayerTile& aTile, const nsIntPoint& aTileOrigin, const nsIntRegion& aDirtyRect) {
|
||||
aTile = TestTiledLayerTile();
|
||||
TestTiledLayerTile ValidateTile(TestTiledLayerTile aTile, const nsIntPoint& aTileOrigin, const nsIntRegion& aDirtyRect) {
|
||||
return TestTiledLayerTile();
|
||||
}
|
||||
|
||||
void ReleaseTile(TestTiledLayerTile& aTile)
|
||||
void ReleaseTile(TestTiledLayerTile aTile)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ public:
|
|||
Update(aNewValidRegion, aPaintRegion);
|
||||
}
|
||||
|
||||
void UnlockTile(TestTiledLayerTile& aTile) {}
|
||||
void UnlockTile(TestTiledLayerTile aTile) {}
|
||||
void PostValidate(const nsIntRegion& aPaintRegion) {}
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче