Ok, this is my post from 'GapiTools':
My game is flickering on PPC's, but not on the emulator.
I thought 'Buffer' would be working like a normal backbuffer and the image data is pushed on the screen when calling GXEndDraw();. Or should I call the GX functions before and after each image?
Do PPC's have an v-sync?
Where are the informations to avoid the flickering,
or how (when) are you calling which functions to avoid this?
My game is flickering on PPC's, but not on the emulator.
- Code:
// Start rendering:
Buffer = (unsigned short *)GXBeginDraw();
// Display an BG Image (doesn't flicker)
// Ca 5 ms later, display another image (flickers)
// Stop rendering
GXEndDraw();
I thought 'Buffer' would be working like a normal backbuffer and the image data is pushed on the screen when calling GXEndDraw();. Or should I call the GX functions before and after each image?
Do PPC's have an v-sync?
Where are the informations to avoid the flickering,
or how (when) are you calling which functions to avoid this?
[/code]
Posted: Fri Mar 01, 2002 11:03 am Post subject:
Some PPCs copy the data to the screen when GXEndDraw() is called. Most PPCs just return the location of the buffer when you call GXBeginDraw() and don't do anything with GXBeginDraw().
BTW, this post really should be on the general dev forumn, since this forumn is for GAPITools, a pocketpc developement library.
Also, there was recently a post on another forumn (I forget which) about VSync on PPCs. Short version, yes there is, but it's really hard to use.
_________________
Most people don't know that "A highly technical term" is actually a highly technical term used to describe something that doesn't mean anything