Closed Bug 675073 Opened 10 years ago Closed 10 years ago
Drawable error with Open GL layers on X11
Getting this error on try server from attempting to call MakeCurrent (to delete a GLTexture object) on a context after the window has been destroyed. We should free these objects with the global shared context instead.
Is there any downside to allocating with the global shared context? I have this vague memory of it being slow.
Summary: GLXBadDrawbale error with OpenGL layers on X11 → GLXBadDrawable error with OpenGL layers on X11
I'm not sure, but I believe you! With liberal application of printf-tryserver-debugging, I've found that this only happens when IsDestroyed() is also returning true for the context. We should use the global shared context to release the texture in this case. Tryserver is currently broken, still waiting on results.
Attachment #549697 - Flags: review? → review?(joe)
Computer says yes.
Comment on attachment 549697 [details] [diff] [review] Use global shared context to release GLTextures if the current context has been destroyed The patch description will need changing :)
Attachment #549697 - Flags: review?(joe) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.