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

Pocket Frog - Windowed Mode?


Pocket Frog - Windowed Mode?

Postby BapDude » May 9, 2004 @ 7:37am

BapDude
 


Postby Presto » May 9, 2004 @ 4:49pm

User avatar
Presto
pm Insider
 
Posts: 763
Joined: Jan 20, 2003 @ 5:51am
Location: Kalesian Archipelago


Postby adde » Jun 4, 2004 @ 5:45am

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/
User avatar
adde
pm Member
 
Posts: 152
Joined: Oct 9, 2002 @ 1:42pm
Location: Stockholm / Sweden


Postby fzammetti » Jun 4, 2004 @ 5:12pm

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...
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Kzinti » Jun 4, 2004 @ 10:26pm

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.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby fzammetti » Jun 4, 2004 @ 10:30pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Bapdude » Jun 4, 2004 @ 11:27pm

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
User avatar
Bapdude
pm Member
 
Posts: 140
Joined: May 14, 2004 @ 5:06am


Postby Kzinti » Jun 4, 2004 @ 11:29pm

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).
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

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