Open Bug 1892201 Opened 7 months ago Updated 5 months ago

Add support for caching quad render tasks

Categories

(Core :: Graphics: WebRender, task, P3)

task

Tracking

()

REOPENED
127 Branch
Tracking Status
firefox127 --- affected

People

(Reporter: nical, Assigned: nical)

References

(Blocks 3 open bugs)

Details

(Keywords: leave-open)

Attachments

(1 file)

Some patterns are too expensive to re-render every frame (on SWGL in particular). To avoid regressions when porting cached sharders to quads, we need to support optionally caching them at least in some cases.

The way I'm thinking of going about this is to add a quad cache key that uses the pattern kind, item uid and some way to identify the clip (also uid maybe), and have push_quad request a cached render task instead of a regular one if the pattern is flagged as expensive (and depending on its size).

Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/369021b90b34 Remove unused RenderTaskParent::Surface field. r=gfx-reviewers,gw
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch

Guessing this needs to be leave-open.

Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Blocks: 1899546
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: