Closed
Bug 1731748
Opened 3 years ago
Closed 3 years ago
Handle GL_OUT_OF_MEMORY in WebRender
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
94 Branch
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: nical, Assigned: nical)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•3 years ago
|
||
This patch checks glGetError after updating the texture cache and at the end of the frame looking for out-of-memory errors, in which case the frame is cancelled and a memory pressure event is triggered. If we fail to render too many times in succession due to OOM, trigger a crash.
Updated•3 years ago
|
Assignee: nobody → nical.bugzilla
Status: NEW → ASSIGNED
Pushed by nsilva@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a5f509c40b9e
React to GL_OUT_OF_MEMORY errors. r=gfx-reviewers,lsalzman
Comment 3•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox94:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•