This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Fastest 565 to 555 routine? and more?


Fastest 565 to 555 routine? and more?

Postby mm40 » Feb 22, 2003 @ 1:03pm

User avatar
mm40
pm Member
 
Posts: 135
Joined: Feb 21, 2003 @ 9:11pm


Postby Johan » Feb 22, 2003 @ 9:16pm

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??
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


will this work

Postby mm40 » Mar 17, 2003 @ 6:02pm

User avatar
mm40
pm Member
 
Posts: 135
Joined: Feb 21, 2003 @ 9:11pm


Postby Johan » Mar 17, 2003 @ 6:11pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby mm40 » Mar 17, 2003 @ 6:30pm

User avatar
mm40
pm Member
 
Posts: 135
Joined: Feb 21, 2003 @ 9:11pm


Postby Johan » Mar 17, 2003 @ 9:05pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby efortier » Mar 18, 2003 @ 2:56am

User avatar
efortier
pm Insider
 
Posts: 373
Joined: May 15, 2002 @ 10:32pm


Postby Sm!rk » Mar 18, 2003 @ 4:35pm

User avatar
Sm!rk
pm Member
 
Posts: 172
Joined: Dec 16, 2002 @ 4:40pm


Postby Kzinti » Mar 18, 2003 @ 8:42pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Guest » Mar 19, 2003 @ 4:37pm

Guest
 


Postby mm40 » Mar 27, 2003 @ 8:17am

User avatar
mm40
pm Member
 
Posts: 135
Joined: Feb 21, 2003 @ 9:11pm


how to view assembly in release mode?

Postby mm40 » Mar 27, 2003 @ 9:06pm

User avatar
mm40
pm Member
 
Posts: 135
Joined: Feb 21, 2003 @ 9:11pm


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