enterFullScreenMode and tearing
enterFullScreenMode and tearing
- Subject: enterFullScreenMode and tearing
- From: Shayne Wissler <email@hidden>
- Date: Fri, 14 Aug 2009 21:10:15 -0600
Hello,
I have a program that is using NSOpenGLView to display video using
OpenGL textures. It works fine with a normal window, but when I use
NSView's enterFullScreenMode, I get diagonal tearing and jittery/jerky
video. I have tried combinations of:
GLint swapInterval = 1;
[glx setValues: &swapInterval forParameter: NSOpenGLCPSwapInterval];
CGLContextObj cglContext = (CGLContextObj)[[self openGLContext]
CGLContextObj];
GLint newSwapInterval = 1;
CGLSetParameter(cglContext, kCGLCPSwapInterval, &newSwapInterval);
with no beneficial effect. Any help would be appreciated.
Shayne Wissler
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden