зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1110229
- Always paint the full low-res tile for performance and correctness. r=nical
This commit is contained in:
Родитель
2f999e45d9
Коммит
ed5fb37df8
|
@ -1489,6 +1489,11 @@ ClientTiledLayerBuffer::ComputeProgressiveUpdateRegion(const nsIntRegion& aInval
|
|||
while (true) {
|
||||
aRegionToPaint.And(aInvalidRegion, tileBounds);
|
||||
if (!aRegionToPaint.IsEmpty()) {
|
||||
if (mResolution != CSSToParentLayerScale(1)) {
|
||||
// Paint the entire tile for low-res. This is aimed to fixing low-res resampling
|
||||
// and to avoid doing costly region accurate painting for a small area.
|
||||
aRegionToPaint = tileBounds;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (Abs(scrollDiffY) >= Abs(scrollDiffX)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче