[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 486: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4675: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3817)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4677: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3817)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4678: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3817)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4679: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3817)
PocketMatrix • View topic - GAPIDraw and non GAPI support
This site is no longer active and is available for archival purposes only. Registration and login is disabled.

GAPIDraw and non GAPI support


GAPIDraw and non GAPI support

Postby sfranchi » Oct 28, 2007 @ 2:15pm

Hi,

I've a problem with a device we are using () where GAPI (gx.dll) reports an empty structure when calling GXGetDisplayProperties... so I think that's the problem running the GAPIDraw samples I've posted in other topic. Now, the GAPIDraw docs says that GAPI will not be used in unsupported devices: "Today there are some devices that return incorrect values in their GAPI calls (such as the IPAQ 38xx series and some of the Palmax @migo devices). On such devices GapiDraw will not use gx.dll but instead access the display frame buffer directly, using a surface created in system memory as a backbuffer.", this behaviour is automatic? I mean, GAPIDraw should not use GAPI if invalid values are returned from its calls?

I'm copying GX.DLL (v 1.2, the one provided by this distribution) in the application folder.

I need a hand with this in order to know if this device is supported or not by GAPIDraw and if we can adopt it (GAPIDraw) from now on for our different devices GUI's.

I did executed some other programs using PocketHAL (like ) so I think there is nothing wrong with it.

Thanks,
sfranchi
pm Member
 
Posts: 13
Joined: Oct 25, 2007 @ 1:31pm
Location: Buenos Aires, Argentina


Re: GAPIDraw and non GAPI support

Postby FrankW » Nov 18, 2007 @ 4:47pm

You may find a working GAPI- GX.DLL here:


This Microsoft compatible DLL supports devices with Windows CE 3.0/HPC2000, Windows CE .NET 4.x, Windows CE 5.0 like yours and gives you the direct and fast hardware access to the display framebuffer without any slow emulation layer.
By enabling the included framebuffer cache option you may get an aditional speed improvement of 20%.

The new version 4.0 of GAPI for HPC's supports now 300 devices and many additional features like framebuffer rotation and scaling, touch rotation, PocketPC button emulation and supports devices with displays up to 1024x768 pixels with a color depth of 8, 15, 16, 24, and 32 bit.

Framebuffer rotate option:
Image
With this feature you can use 240x320- PocketPC portrait applications on device with 320x240- landscape displays.

PocketPC button mapping:
Image

The package contains also two GAPIDraw samples:
Image

The main intention to create this enhanced GAPI package is to support PocketPC- GAPI applications (games, emulators, media players, etc.) also on Windows CE devices like the Gizmondo or GPS- PNA's.

Frank
FrankW
pm Member
 
Posts: 22
Joined: May 25, 2003 @ 4:31pm


Postby sfranchi » Nov 18, 2007 @ 10:49pm

Hi Frank,

Actually the device has CE .NET 4.2 and works fine with your product, but the device is a Globalsat GV-370 (320x240) and it doesn't appears in your list. Choosing another one from Globalsat (GV-301) seems to be the same, as it works just fine the provided samples.

The only problem I've seen is that the samples didn't worked until I've checked the "use emulator" option.

Anyway, GAPIDraw was working fine also without a GX.DLL at all "as advertised".

Thanks a lot for your answer and great job with yout GX.DLL, I'll have it in my toolsbox :)

Thanks again,

Sandro.
sfranchi
pm Member
 
Posts: 13
Joined: Oct 25, 2007 @ 1:31pm
Location: Buenos Aires, Argentina


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

cron