Page 1 of 1

Fastest 565 to 555 routine? and more?

PostPosted: Feb 22, 2003 @ 1:03pm
by mm40

PostPosted: Feb 22, 2003 @ 9:16pm
by Johan
Hi,

(1) 555 to 565

GapiDraw never converts 565 surfaces to 555. Surfaces are always stored in one format depending on the device to avoid a final conversion when drawing to the display.

There are several optimizations you could do in your 565 to 555 conversion routine:
(a) Read two pixels at a time
(b) Avoid *src twice on the same row in case the compiler does not read the contents on src to a register and uses that twice.

For example:
DWORD twopixels = *src32;
*dest32 = /* 32-bit 565 to 555 conversion of "twopixels" here */

(2) Devices

Basically it does support all 12-bit and 16-bit devices.. GapiDraw has been downloaded over 5000 times now, and tested on most Pocket PCs and Smartphones. The only device I have gotten reported issues with is the @migo, and I am investing that right now. It is probably just a bad GAPI implementation on that device.

(3) Target FPS 1000

One ---THOUSAND--- FPS? Why on earth would you want that??? Your monitor is only capable of refreshing the display at around 100 hz maximum, so why would you draw graphics to the display when noone can see it??

will this work

PostPosted: Mar 17, 2003 @ 6:02pm
by mm40

PostPosted: Mar 17, 2003 @ 6:11pm
by Johan

PostPosted: Mar 17, 2003 @ 6:30pm
by mm40

PostPosted: Mar 17, 2003 @ 9:05pm
by Johan

PostPosted: Mar 18, 2003 @ 2:56am
by efortier

PostPosted: Mar 18, 2003 @ 4:35pm
by Sm!rk

PostPosted: Mar 18, 2003 @ 8:42pm
by Kzinti

PostPosted: Mar 19, 2003 @ 4:37pm
by Guest

PostPosted: Mar 27, 2003 @ 8:17am
by mm40

how to view assembly in release mode?

PostPosted: Mar 27, 2003 @ 9:06pm
by mm40