This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Gapi Draw 2.05 Question


Gapi Draw 2.05 Question

Postby JTopham » May 7, 2004 @ 1:39pm

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
JTopham
 


Postby Johan » May 8, 2004 @ 5:31am

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Guest » May 10, 2004 @ 10:17am

Guest
 


Postby Johan » May 10, 2004 @ 7:08pm

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum