1) What is the fastest 565 to 555 conversion routine? Is there a routine which operates on chunks of pixels at a time that is faster than mine below? Or maybe some low level GapiDraw funcs that are assembly optimized for the 555 devices that I can call?
2) What devices does GapiDraw support and been tested on? I could not find a specific device list anywhere, just the comment of "all 16-bit Pocket PCs and Smartphones".
3) On my desktop PC I have set the frame rate target to 1000, but GapiDraw seems to be limited to 100fps, is there a way to over-ride this?
some background...
Hello all, I am currently nearing the end of a commercial one-man game dev cycle. I am currently using some GAPI bare bones code to get my game's screen onto my iPaq 3630 and it is working quite nicely. I have developed a few PC games and know the value of having an already tested library. This is why I am going to use GapiDraw for the final blit to the device, as I anticipate my GAPI code to not work on all devices, because some use different memory arrangements and bit depths.
My game is in native 565 format and I have already got it working on my 3630 with GapiDraw, I have filled in the 555 routine as well, but it is currently untested, it currently looks like this:
Thanks for any advise or help.
2) What devices does GapiDraw support and been tested on? I could not find a specific device list anywhere, just the comment of "all 16-bit Pocket PCs and Smartphones".
3) On my desktop PC I have set the frame rate target to 1000, but GapiDraw seems to be limited to 100fps, is there a way to over-ride this?
some background...
Hello all, I am currently nearing the end of a commercial one-man game dev cycle. I am currently using some GAPI bare bones code to get my game's screen onto my iPaq 3630 and it is working quite nicely. I have developed a few PC games and know the value of having an already tested library. This is why I am going to use GapiDraw for the final blit to the device, as I anticipate my GAPI code to not work on all devices, because some use different memory arrangements and bit depths.
My game is in native 565 format and I have already got it working on my 3630 with GapiDraw, I have filled in the 555 routine as well, but it is currently untested, it currently looks like this:
- Code:
// do this for all pixels
//from RRRR RGGG GGGB BBBB
//to xRRR RRGG GGGB BBBB
//convert from 16 bit to 15 bit
*dest = (((*src & 0xFFE) >> 6) << 5) | (*src & 0x001F);
Thanks for any advise or help.