Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kCGLPFABackingStore questions



Hi,

I am trying to use kCGLPFABackingStore in both a window and fullscreen to achieve some motion blurry type effects.

I have found that in fullscreen, you need a glFlush (or glFinish) for every CFGFlushDrawable, or all rendering seems to stall until you've drawn a bunch of stuff.

Hard to explain, but my test code is just setting a random color, drawing a random line, then CGLFlushDrawabling - and the lines are only showing up in chunks of 50 or so - unless I added a glFlush to the loop.

Is this a sign I'm doing something wrong? If not, should I be using glFlush, glFinish or something else?

Also in fullscreen, kCGLPFABackingStore appears to conflict (ie is ignored) if kCGLPFADoubleBuffer is present - is this correct? Is there something else I have to do?

In windowed mode, the presence or absence of kCGLPFABackingStore seems to have no effect. Should I have it in there anyway?

Bye!
Mark

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden


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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.