Description:
PocketHAL is a C++ library that gives you the fastest access possible to your Pocket PC and Smartphone hardware. You can see it as a much more efficient alternative to GAPI. The first installment of PocketHAL provides buffered access to the display memory and a way to retrieve the key codes for all the buttons on your device (not only those reported by GAPI).
Orientation and alignment issues that are the norm with GAPI have been eradicated. Usual alternatives (such as pre-rotating all images) are inefficient: loaded images need to be pre-rotated and direct access to the pixels require complex pointer manipulations. Not so with PocketHAL. Every graphic surface returned by the API is a straight surface without any concept of "orientation". This is to say, all graphic surfaces are "normal". Performances have NOT been sacrificed. Au contraire, PocketHAL is blazing fast and can rotate surfaces faster then using a simple copy with GAPI.