Page 1 of 1

Pocket Frog - Windowed Mode?

PostPosted: May 9, 2004 @ 7:37am
by BapDude

PostPosted: May 9, 2004 @ 4:49pm
by Presto

PostPosted: Jun 4, 2004 @ 5:45am
by adde
PocketFrog 0.7.0 and lower still use GAPI, so they require the full screen.
Not entirely correct. GAPI can only be run in full screen mode - yes. And PF use GAPI for devices that support GAPI. But for desktops and older PDA:s PF wrapps the W32 GDI and for those platforms you can most definately use PF in windowed mode (I did this myself a year ago for a masters thesis on using 3D for visualizing maps on a PDA).

If someone is interested in the main code (i.e. what changes are needed of PF to allow this and also to allow multiple windows) have a look here:
http://www.nada.kth.se/~t98_hes/pf/

PostPosted: Jun 4, 2004 @ 5:12pm
by fzammetti
adde, are you saying that with PF you *CAN* do windowed mode on a PocketPC? I know PF will fall back to GDI if GAPI isn't found. I've never tried this on a PocketPC, but I guess it would be an easy change to make that "fallback" happen by default...

PostPosted: Jun 4, 2004 @ 10:26pm
by Kzinti
PF can easily run in windowed mode. People have done it in the past. All you need to do is disable the selection of the GAPI driver. PF will then fallback on GDI.

PostPosted: Jun 4, 2004 @ 10:30pm
by fzammetti

PostPosted: Jun 4, 2004 @ 11:27pm
by Bapdude
Man, I sure could've used this info weeks ago when I started on my latest project. Would've saved me lots of work. :?

I'm assuming that using Windows mode in PF will be much slower than full-screen GAPI? If so, I might just stay with GAPI eventhough I'm having to write code for my own menu system.

Anyway, thanks for the info...very helpful!
:D

PostPosted: Jun 4, 2004 @ 11:29pm
by Kzinti
GDI will be slower then GAPI on older devices You shouldn't see a big difference on newer devices (most of them use an external video chip and bandwidth to the display is limited/the bottleneck).