Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GL Context for Quicklook generators



I forgot to mention that the kCGLPFARemotePBuffer is not necessary if you will be running from a console login session (a session attached to the screen), since you'll have access to the window server. I remember kCGLPFARemotePBuffer may even systematically fail in console login sessions. The code I posted should work fine, and in fact I omitted the kCGLPFARemotePBuffer attribute by mistake...

On May 14, 2008, at 14:28, Jean-Francois Roy wrote:

You do not need to create a window to create a hardware accelerated offscreen rendering context. CGL alone is sufficient, since Leopard you can create offscreen pbuffer contexts by using the kCGLPFARemotePBuffer pixel format attribute.

_______________________________________________ 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

This email sent to email@hidden
References: 
 >GL Context for Quicklook generators (From: Heinrich Fink <email@hidden>)
 >Re: GL Context for Quicklook generators (From: Dario Accornero <email@hidden>)
 >Re: GL Context for Quicklook generators (From: Jean-Francois Roy <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.