Hi,
I don't know how this behaves under CE, but while optimizing my mapdrawing routines under Win32, I wondered, why I have 0 (zero) cpu usage without and around 3% - 5% with Flip() ? I allways do the map drawing and stuff to the backbuffer. But it looks like my stuff is causing no measurable cpu usage.
(All this in 240x320@30fps)
I'm using a Dual AthlonMP 1900 machine, so 3% - 5% in TaskManager here are 6% - 10% on a single CPU machine.
I'm sure this is way too much usage as it should be ?
Using GetTickCount(), I got 0 - 16 ticks usage for processing 100 frames without flip() and around 600 ticks usage with flip(). And as said, I'm doing a whole mapdraw to backbuffer each time, which is causing 0 - 16 ticks.
Is this win32 "thing" only, or is it like this on CE, too, that flip() is a real "eater" ?
I'm really interested in your performce using gapidraw, and what are the best ways to do some elemental things, so I will do a second topic for this.
Greets,
Michael Ritter (5amcoderz)
I don't know how this behaves under CE, but while optimizing my mapdrawing routines under Win32, I wondered, why I have 0 (zero) cpu usage without and around 3% - 5% with Flip() ? I allways do the map drawing and stuff to the backbuffer. But it looks like my stuff is causing no measurable cpu usage.
(All this in 240x320@30fps)
I'm using a Dual AthlonMP 1900 machine, so 3% - 5% in TaskManager here are 6% - 10% on a single CPU machine.
I'm sure this is way too much usage as it should be ?
Using GetTickCount(), I got 0 - 16 ticks usage for processing 100 frames without flip() and around 600 ticks usage with flip(). And as said, I'm doing a whole mapdraw to backbuffer each time, which is causing 0 - 16 ticks.
Is this win32 "thing" only, or is it like this on CE, too, that flip() is a real "eater" ?
I'm really interested in your performce using gapidraw, and what are the best ways to do some elemental things, so I will do a second topic for this.
Greets,
Michael Ritter (5amcoderz)