Closed
Bug 933878
Opened 11 years ago
Closed 6 years ago
Support creation of 'headless' GLContexts
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
People
(Reporter: jgilbert, Unassigned)
References
Details
Currently, when you request a GLContext of a certain size, if the size is too big, we fail to give back a context. If we want to fallback to reducing the resolution if the requested size is too big (like for WebGL), we need to either create and destroy a large number of contexts trying to reduce the size to within acceptable limits, or start with a dummy 1x1 GLContext, and then start trying to resize to the requested size before reducing. (wasting time allocating and setting up a bunch of buffers that we'll usually never use)
What we really want is a headless context, which we can then try to add a backbuffer to after its created.
Reporter | ||
Comment 1•6 years ago
|
||
We do this now.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•