Closed Bug 1730559 Opened 3 years ago Closed 3 years ago

Report texture allocation failures inside SWGL

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: lsalzman, Assigned: lsalzman)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Being able to detect that texture allocation failures inside SWGL would allow us to do saner things in WR when we know that a texture we've allocated isn't valid.

This sets the GL error status to GL_OUT_OF_MEMORY when a texture or buffer
re-allocation fails. It is then possible to check the GL error status via
glGetError after to look for the failure.

Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/61f47c1fa8fc
Report texture allocation failures inside SWGL. r=jrmuizel
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: