Closed Bug 1724839 Opened 3 years ago Closed 3 years ago

Remove BasicLayerManager usage from Paint functions

Categories

(Core :: Web Painting, task)

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: mattwoodrow, Assigned: mattwoodrow)

References

Details

Attachments

(7 files)

We currently use a temporary BasicLayerManager (without FrameLayerBuilder), in order to do fallback painting of videos and canvas elements.

We should remove this, so that we can remove BasicLayerManager entirely.

This takes the logic used for Image/CanvasLayer::ComputeEffectiveTransforms and uses it to get matching rendering for the Paint path.

Depends on D122175

Depends on D122176

Pushed by mwoodrow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ffc97ce6e2fe
Don't use BasicLayerManager for painting ImageBitmap <canvas> elements. r=jrmuizel
https://hg.mozilla.org/integration/autoland/rev/052d8f8f2306
Don't use BasicLayerManager for painting CanvasRenderer backed canvas elements. r=jrmuizel
https://hg.mozilla.org/integration/autoland/rev/8ed5600c10c5
Don't use BasicLayerManager to paint video elements. r=jrmuizel
https://hg.mozilla.org/integration/autoland/rev/f10f423b3cd1
Move transform snapping code into gfxUtils. r=jrmuizel
https://hg.mozilla.org/integration/autoland/rev/8179eecebbbd
Add 2d matrix equivalents for transform snapping functions. r=jrmuizel
https://hg.mozilla.org/integration/autoland/rev/1b3f01bb4409
Snap transforms for video/canvas painting in the same way that Layer rendering did. r=jrmuizel
https://hg.mozilla.org/integration/autoland/rev/34f47ed38272
Mark tests as passing. r=jrmuizel
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: