bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #25548] NSOpenGLContext can't -makeCurrentContext independently of


From: matt rice
Subject: [bug #25548] NSOpenGLContext can't -makeCurrentContext independently of NSOpenGLView.
Date: Fri, 06 Mar 2009 01:08:41 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009020410 Fedora/3.0.6-1.fc9 Firefox/3.0.6

Follow-up Comment #2, bug #25548 (project gnustep):

attached is a test program that shows what i'd like to do...

the problem being i'm drawing into NSOpenGLView using external renderer which
in turn uses 

glxGetCurrentDrawable/glxGetCurrentContext

initialization of the external renderer takes a bit of time, so i'd rather do
it at startup rather than waiting to initialize the renderer until I open the
nib file which contains the NSOpenGLView 

I don't have any code which says that it should work, but there is nothing in
the documentation which leads me to believe that it shouldn't work.


this page leads me to believe that NSOpenGLContext is usable outside of
NSOpenGLView though.

http://www.mikeash.com/?page=pyblog/nsopenglcontext-and-one-shot.html

so yeah, i don't know if this code should work, but it doesn't.


(file #17594)
    _______________________________________________________

Additional Item Attachment:

File name: contextTest-0.0.1.tar.gz       Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25548>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]