Language :
 

Hardware page flip… or not ?

Always more issues coming in. When I check the device caps of the diamond, I know that it is able of handling hardware flips, and a backbuffer. When I call DirectDraw’s CreateSurface, I receive an E_OUT_OF_MEMORY error. How nice is that ? So I implemented a fallback mechanism, doing a manual copy to simulate the page flip. It worked out nicely.

However, since I can’t stop playing with my device, I have installed a newer rom, from http://www.xda-developers.com.  Somehow, the device is now initialized correctly using hardware page flipping. Was it a bug in Windows Mobile, and the newer build fixed it ? Was it a bug in the device driver ? I probably will never know…

Comments are closed.