PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

GapiDraw vs PocketHal - speed comparison

Hello, I have started developing my own graphics API based on PocketHAL. I like that PocketHAL was very fast and it appeared faster than Microsoft GAPI, I used years ago.

However, recently I figured out, that PocketHAL is no more supported, and because I dont have full version, I think about moving to GAPIDRAW that would even save hours of developing my graphics libraries.

However, speed is on the fist place in my case. Could I knidly ask, if anybody knows how GapiDraw stands in comparison to PocketHAL? Is GapiDraw based on Micrsosoft GAPI from previous years, or did the GAPI Draw improved its speed from then?

Thank you and have a nice day,
Rene.
PocketHAL is still supported. Where did you hear / read it wasn't anymore?
Kzinti,

I have read that PocketHal 0.8 release source code was lost, and its gone forewer. I have read it in this forum. I took a look at http://pockethal.droneship.com/ and I saw its forums site is down and has not been maintainded for a long while. I have written to Thierry Tremblay emails on two different mailboxes, and I god no response and PocketHAL 0.77 that is available for download on PocketHAL homepage was there for about a year witout any modification, alghouth new PocketPCs are still appearing.

These observations suggested that PocketHal is not supported anymore, although a demoversion is still for download.

If you know anything new about future releases of PocketHAL, I would be glad to read.

With regards,
Rene.
PocketHAL 0.8 was the Palm Support. This was lost, yes.

PocketHAL 0.7.7 is still maintained / available. There are no plans for new features at this point, but fixes / updates for devices are released all the time (I would say every month).

Im fact, I am currently investigating an issue with the Samsung SGH-1300.
Hello Rene,

Bunkai wrote:However, speed is on the fist place in my case. Could I knidly ask, if anybody knows how GapiDraw stands in comparison to PocketHAL? Is GapiDraw based on Micrsosoft GAPI from previous years, or did the GAPI Draw improved its speed from then?


PocketHAL is only a frame buffer access library, and you can't really compare just PocketHAL to GapiDraw. You would have to compare something like PocketHAL + PocketFrog to GapiDraw.

Doing that, PocketHAL is slightly faster on some older devices in the final blit from backbuffer to the display (and also some newer devices, but definitely not all). However GapiDraw is faster than PocketFrog on many graphics operations. All in all both PocketFrog + PocketHAL as well as GapiDraw perform "well enough" that performance should not be an issue. Just look at the games that use GapiDraw, at:
http://www.develant.com/clients.php

As for GAPI, GapiDraw will try to not use GAPI on devices using Pocket PC 2003 and newer operating systems.
Hello Johan,
Thank you for deep explanation. I understood it well. Why is GAPI avoided for newer Pocket PC devices? Is there anything better than GAPI?

With regards,
Rene.
Kzinti,

Version 0.8 supported VGA resolutions in contrast to previous versions of PocketHAL. Are now previous versions supporting VGA resolutions too? Hopefully, my knowledge about PocketHAL is correct.

Thank you and with regards,
Rene.
PocketHAL 0.7.7 supports VGA devices. It also supports 240x240 devices.
Bunkai wrote:Why is GAPI avoided for newer Pocket PC devices?


Hi Rene,

There are many reasons. One is that no GAPI implementation I know of supports VGA resolution displays, you have to use another framebuffer access method for that. A second one is that GAPI is declared as deprecated and might soon be removed from Windows Mobile.

Cheers
Johan
Kzinti,

To obtain banner free version of PocketHAL, a donation is required. What is the ususal donation for PocketHAL, to obtain it in its full version, please?
Hello Johan,

You said, GAPI can be soon removed from WindowsMobile devices. Yes, one of the reasons will be that WindowsMobile 5 devices support DirectX Mobile.

What about GapiDraw? What principle GapiDraw uses when to use GAPI and when to avoid it, and use its own framebuffer access? Indeed, have you compared GapiDraw to PocketHal, so I know wich library has faster framebuffer access? Or do they use amost identical code to access hardware of these devices?

With regards,
Rene.
Bunkai wrote:What principle GapiDraw uses when to use GAPI and when to avoid it, and use its own framebuffer access? Indeed, have you compared GapiDraw to PocketHal, so I know wich library has faster framebuffer access? Or do they use amost identical code to access hardware of these devices?


Hi Rene,

My recommendation is that if the performance of the final blit to the display is very critical for you, that you do your own benchmarking on your target devices. If both GapiDraw and PocketHAL are fast enough, simply use the library you are most comfortable in using.

Cheers
Johan
Thank you, Johan.

Thank you for putting so much patience and energy to responding.. Your answers are very good, understandable, and helpful.

With regards,
Rene.