The fullscreen flag is now redundant, because of the new NSView fullscreen API, 
and the NSOpenGL context auto-recognizing that a view is fullscreen, switching 
the compositing model.


On Aug 23, 2012, at 2:24 AM, CoGe - Tamas Nagy wrote:

> 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 <[email protected]> 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             |  [email protected]
>>  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      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/quartzcomposer-dev/info%40cogevj.hu
>> 
>> This email sent to [email protected]
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/quartzcomposer-dev/doktorp%40mac.com
> 
> This email sent to [email protected]

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

This email sent to [email protected]

Reply via email to