Menus make things go faster! Why?
- From: "MCM" <mcmalburg@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 20 May 2005 20:12:40 -0500
I'm writing an app that rotates a 3D image on a PocketPC. I'm using native
drawing functions - no fancy OpenGL or anything like that. However, I
notice the rotation is incredibly slow and not very smooth when running in
debug mode on the emulator (eMbedded Visual C++ 4.0 / Pocket PC 2003
Emulator). The image refreshes at a rate of about every 500 msec, sometimes
a little faster, sometimes a lot slower.
Release mode helps only slightly - making things refresh at around 400 msec
and it is a bit more consistent.
Here's the strange part... when I open the app's "File" menu on the
emulator, my animation immediately kicks into fulls speed (moving really,
really fast and very smooth). Refresh time is at about 20 msec - which is
what I expect out of the code.
Questions:
What is going on here such that opening a menu on the emulator makes the app
run at proper speeds?
How can I get this application speed all the time during debugging (without
making a menu cover it up)?
Thx,
- M
.
- Follow-Ups:
- Re: Menus make things go faster! Why?
- From: Dan McCarty
- Re: Menus make things go faster! Why?
- From: <ctacke/>
- Re: Menus make things go faster! Why?
- From: Steve Maillet \(eMVP\)
- Re: Menus make things go faster! Why?
- Prev by Date: Re: Putting a text file in the emulator for debugging
- Next by Date: Re: Menus make things go faster! Why?
- Previous by thread: Putting a text file in the emulator for debugging
- Next by thread: Re: Menus make things go faster! Why?
- Index(es):
Relevant Pages
|