Mac Os X woes

Charles Wardlaw wrote:

I’ve noticed a lot of discussion in the mail archives on retrace
syncing under Xf86 and Direct X, but mostly the conversation seems to
go unresolved. I can understand that, under a windowed mode, a retrace
sync could be impossible, but what of under full screen mode in OS X?
Has anyone had any success doing software double-buffering in
fullscreen under OS X without shearing? I’m working towards a
tile-based scroller, and the screen’s going go have to be completely
redrawn every frame.

This works to sync buffer swaps with vertical retrace in Mac OS X:

context = CGLGetCurrentContext();
CGLSetParameter(context, kCGLCPSwapInterval, swap_param);

— Andrew Straw <andrew.straw at adelaide.edu.au> wrote:

This works to sync buffer swaps with vertical retrace in Mac OS X:
context = CGLGetCurrentContext();
CGLSetParameter(context, kCGLCPSwapInterval, swap_param);

Thanks for the help! This is going to sound strange, but where can I
find usage information on those functions? I grepped through the
frameworks, and found the definition for CGLSetParameter in OpenGL.h,
but couldn’t find any information on the function’s parameters.

Thanks,

  • Charles__________________________________________________
    Do You Yahoo!?
    Yahoo! Finance - Get real-time stock quotes
    http://finance.yahoo.com

Check this out (not sure where there’s other documentation, but this
should at least get you going)–

http://developer.apple.com/samplecode/Sample_Code/Graphics_3D/VBL.htmOn Thursday, August 29, 2002, at 12:41 AM, Charles Wardlaw wrote:

— Andrew Straw <@Andrew_Straw> wrote:

This works to sync buffer swaps with vertical retrace in Mac OS X:
context = CGLGetCurrentContext();
CGLSetParameter(context, kCGLCPSwapInterval, swap_param);

Thanks for the help! This is going to sound strange, but where can I
find usage information on those functions? I grepped through the
frameworks, and found the definition for CGLSetParameter in OpenGL.h,
but couldn’t find any information on the function’s parameters.

Thanks,

  • Charles

Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl