Open
Bug 658563
Opened 14 years ago
Updated 2 years ago
Handle GL_OUT_OF_MEMORY errors in GLContext where we create textures/renderbuffers e.g. in ResizeOffscreenFBO()
Categories
(Core :: Graphics, defect)
Tracking
()
NEW
People
(Reporter: bjacob, Unassigned)
References
Details
In bug 656215 we're fixing crashes by properly detecting when textures/renderbuffers that we try to create exceed the maximum supported size. However we still don't handle the case where despite having an allowed size, they can't be created because we're out of video memory.
Whenever we create a texture or a renderbuffer, i.e. whenever we call glTexImage2D, glRenderbufferStorage and friends, we should check for GL errors, especially for GL_OUT_OF_MEMORY.
Most importantly, in GLContext::ResizeOffscreenFBO().
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•