Closed Bug 1703737 Opened 4 years ago Closed 4 years ago

Only calculate prim_rect during dependency update for compositor surfaces

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: gw, Assigned: gw)

References

Details

Attachments

(1 file)

No description provided.

This calculation was previously required, but is now only used by
the methods that set up a compositor surface. The early out check
for invalid prim_rect is covered by the clip chain rect test below.

This removes a per-prim map operation from a hot part of the frame
building visibility pass.

Assignee: nobody → gwatson
Status: NEW → ASSIGNED
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0df5ef6ea44c Only calculate prim_rect during dependency update for compositor surfaces. r=gfx-reviewers,nical
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: