About a year ago there was a brief discussion on this list about
using GL_EXT_framebuffer_object to render to an offscreen framebuffer.
I'm now trying to do the same thing. In particular, I'm creating a
non-interactive application that uses the GPU to render imagery which
I then capture using glReadPixels. During the previous discussion, it
became clear that it was now, and would continue to be, supported to
do framebuffer rendering "regardless of the main context's attachment
to a drawable". So that's what I'm doing, and it's working fine.
Unfortunately, the only working code that I have to create a context
to draw into uses GetMainDevice() to get a display handle that I can
pass to aglChoosePixelFormat() so that I can call aglCreateContext().
The problem is that GetMainDevice() is deprecated as of 10.4.
What is the new (Quartz-based, I assume) way to create an AGL context
out of thin air like that?
Thanks,
Matt
Matthew D. Hancher
Lead, NASA/Google Planetary Content Team
Intelligent Systems Division
NASA Ames Research Center
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden