Closed Bug 1617083 Opened 5 years ago Closed 5 years ago

Fix race condition with memory pressure events

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: gw, Assigned: gw)

References

Details

Attachments

(1 file)

No description provided.

If a memory pressure event arrives after a new scene has
been published that writes persistent targets (i.e. cached
render tasks to the texture cache, or picture cache tiles)
but before the next update/render loop, those targets
will not be updated due to the active_documents list being
cleared at the end of this message. To work around that,
if any of the existing documents have not rendered yet, and
have picture/texture cache targets, force a render so that
those targets are updated.

Assignee: nobody → gwatson
Status: NEW → ASSIGNED
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c43cfbdad216 Fix race condition with memory pressure events. r=nical
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
No longer blocks: 1616392
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: