Page 1 of 1

Gapi Draw 2.05 Question

PostPosted: May 7, 2004 @ 1:39pm
by JTopham
Gapi Draw 2.05 Question

1. I cannot get CGapiDisplay::RestoreAllVideoSurfaces() to work. I call it CGapiApplciation::OnRestore() event then try to load all the animation frames back into the surfaces. The bitmaps containing the frames are loaded into local GapiSurfaces after GapiDisplay::RestoreAllVideoSurfaces() is called and this happens fine. However when I try to BltFast the frames from them into the restored frames I get a Surface Lost Error and graphics are messed up (obviously!)

This is all happening on a Desktop Fullscreen app. One solution is to just use System memory for the frame surfaces. This works and performance is fine because today's machines are so fast. As far a I know all Pocket PC use system memory for surfaces (i.e. they do not have hardware accelaration). Am I correct in this assumption? If so then I guess that there is no need to worry about using RestoreAllVideoSurfaces for them and I can live with the Desktop performance you get with System Memory. If there are Pocket PC that have "fast video memory" then I would like to know how to solve this problem so my graphics will be working as fast as possible on them.

2. The game I am working on is almost finshed and I will have some Screen Shots/Info about the game soon. Who do I send to on the GapiDraw site? How to I get added to the "app list" .

Thanks in advance,

Justin Topham

PostPosted: May 8, 2004 @ 5:31am
by Johan

PostPosted: May 10, 2004 @ 10:17am
by Guest

PostPosted: May 10, 2004 @ 7:08pm
by Johan