|
From: | matt rice |
Subject: | [bug #25548] NSOpenGLContext can't -makeCurrentContext independently of NSOpenGLView. |
Date: | Tue, 10 Feb 2009 17:10:25 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 |
URL: <http://savannah.gnu.org/bugs/?25548> Summary: NSOpenGLContext can't -makeCurrentContext independently of NSOpenGLView. Project: GNUstep Submitted by: ratmice Submitted on: Tue 10 Feb 2009 05:10:24 PM GMT Category: Backend Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: i'm thinking this might be possible if we create the x window stuff currently in XGXSubWindow in the NSOpenGLContext and then on -setView: call XReparentWindow, instead of delaying until we have a parent to create the XGXSubWindow for.. the -openGLContextWithShareContext: method here does this... http://developer.apple.com/DOCUMENTATION/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_contexts/chapter_7_section_4.html#//apple_ref/doc/uid/TP40001987-CH216-SW7 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?25548> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |