mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1110229
- Always paint the full low-res tile for performance and correctness. r=nical
This commit is contained in:
parent
2f999e45d9
commit
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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user