Open Bug 1201336 Opened 9 years ago Updated 2 years ago

[meta] Make background-position updates cheaper to repaint

Categories

(Core :: Layout, defect)

defect

Tracking

()

Tracking Status
firefox43 --- affected

People

(Reporter: mstange, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: meta)

This will help with bug 1201231.
Can you elaborate on what's unnecessarily-slow about them, and/or where the opportunity is for making things cheaper?
They cause us to repaint too much and too slowly. Too much because we're (1) putting background images in the same layer as the rest of the page, even when background-position is animated (so we need to repaint all the layer content that intersects with the image) and (2) because we're repainting the whole frame subtree starting at the frame with the updated background-position (because of the RepaintFrame change hint). Too slowly because we're painting them into PaintedLayers instead of using ImageLayers for them, which is bad on all platforms that have unaccelerated main thread painting and accelerated compositing. See the dependent bugs for possible remedies.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.