Hello Mark,

as far I remember I ran into the same issue. The problem was with the 
NSOpenGLPFAFullScreen attribute, it failed some graphics cards. An other point 
is, some older cards and the Intel ones only have 24bpp depth buffer, so maybe 
this could be an other problem?

Cheers,

Tamas

On Aug 23, 2012, at 8:14 AM, Mark Coniglio <m...@troikatronix.com> wrote:

> My software "adopts" qtz files as plugins using QCRenderer. At startup, I 
> must create anNSOpenGLContext so that I can get information about the 
> plugins, i.e., the parameter names, etc.
> 
> But I'm receiving a handful of bug reports where the creation of the pixel 
> format for the context fails -- this is when calling NSOpenGLPixelFormat. 
> Problem is, I can't recreate this bug on any computer in my possession.
> 
> (This happens only on Lion; I have no bug reports for Snow Leopard on this.)
> 
> The code is pretty simple, and taken from Apple examples:
> 
> static NSOpenGLPixelFormatAttribute sOpenGLAttributes[] = {
> NSOpenGLPFANoRecovery,
> NSOpenGLPFAAccelerated,
> NSOpenGLPFADoubleBuffer,
> NSOpenGLPFAFullScreen,
> NSOpenGLPFAScreenMask, 
> (NSOpenGLPixelFormatAttribute)CGDisplayIDToOpenGLDisplayMask(kCGDirectMainDisplay),
> NSOpenGLPFADepthSize, (NSOpenGLPixelFormatAttribute) 32,
> (NSOpenGLPixelFormatAttribute) 0
> };
> 
> mQCFormat = [[NSOpenGLPixelFormat alloc] 
> initWithAttributes:sOpenGLAttributes];
> 
> Can anyone tell me why this might be failing? Obviously, I've got a "no 
> recovery" in there so if the system can't create the format, I got nuthin'.
> 
> Is NSOpenGLPFAFullScreen the problem?
> 
> Thanks in advance for any insights.
> 
> Best Wishes,
> Mark
> --
> =======================================================================
>  Mark Coniglio             |  m...@troikatronix.com
>  TroikaTronix              |  http://www.troikatronix.com/
>  Isadora®                  |  http://www.troikatronix.com/isadora.html
>                            |  (interactive media processing environment)
> =======================================================================
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/quartzcomposer-dev/info%40cogevj.hu
> 
> This email sent to i...@cogevj.hu


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to