Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Tearing CVDisplayLink
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tearing CVDisplayLink



obvious question and im sure the answer is yes, but does your GL context is double buffered and VBL synced?

NSOpenGLPixelFormatAttribute attributes[] = {NSOpenGLPFAAccelerated, NSOpenGLPFANoRecovery, NSOpenGLPFADoubleBuffer, NSOpenGLPFADepthSize, 24, 0};
GLint swapInterval = 1;

v001GLPixelFormat = [[NSOpenGLPixelFormat alloc] initWithAttributes:attributes]; 

v001GLPreviewContext = [[NSOpenGLContext alloc] initWithFormat:v001GLPixelFormat shareContext:nil];


?

On Mar 24, 2008, at 4:45 PM, Christopher Wright wrote:

I've got an application that uses a CVDisplayLink to drive a QCRenderer (patterned basically off of the Quartz Composer Performer example app).  However, there are occasions where the output exhibits some tearing (or shearing), as though the display link isn't quite synchronized with vsync.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Tearing CVDisplayLink (From: Christopher Wright <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.