Register
Site Login
Site Search
Forums
Advertisement
Welcome to PocketMatrix. PocketMatrix is dedicated to providing the best online community for mobile device developers and enthusiests. What's new?

Are GapiDraw functions optimized, please?


Are GapiDraw functions optimized, please?

Postby Bunkai » Nov 14, 2006 @ 11:23am

Could I kindly ask if the blit and another critical functions are optimized within GAPIDraw? One of reasons I consider PocketHAL is that I hope, I could draw faster Blit, AlphaBlending, and transparency routines, that would allow me to put more graphics in the shorter time on the PocketPC display.

Therefore, i would like to ask, if enough attention was put by GAPIDraw developer, to get maximum from Blit algorithms, or if there is any room for improvement. I don't see the GAPIDraw code so it difficult to evaluate.

One idea would be using memcpy(); to copy memory blocks, to move 32bits instead of 16bits in single CPU cycle, or to use fixed point math and bit-shifts, to get as fast output as possible.

Thank you and with regards,
Rene.
Bunkai
pm Member
 
Posts: 71
Joined: Mar 18, 2006 @ 5:01pm


Postby Johan » Nov 14, 2006 @ 4:03pm

Hi Rene,

You will find some information on this page:

http://www.develant.com/gapidraw-features.php

Just scroll down a bit...

To answer your question shortly: Yes, GapiDraw is both very optimized as well as very generalized. It includes Template Meta programming in C++, assembler code optimizations, operating on multiple pixels simultaneously, lookup tables, fixed point maths, and much much more.

Cheers
Johan
Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[http://www.gapidraw.com]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Bunkai » Nov 14, 2006 @ 5:54pm

Yes, of course, I have read all that information before asking. Although this information seemed to me a bit old, and I have read few people claiming, that GAPIDraw performance droped a bit, as the version 3.0 appeared.

Indeed thank you for ensuring me about the speed of GapiDraw routines.
Bunkai
pm Member
 
Posts: 71
Joined: Mar 18, 2006 @ 5:01pm


Postby Johan » Nov 14, 2006 @ 8:08pm

Bunkai wrote:I have read few people claiming, that GAPIDraw performance droped a bit, as the version 3.0 appeared.


This was actually true, but we bumped it up again in 3.01. :-)

If you check the release notes for GapiDraw 3.01, there is a note that says:

"Win32: Performance improvements! In GapiDraw 3.0 some of the performance was lost due to cross-platform re-design for the Palm and Symbian platforms. In GapiDraw 3.01 we put extensive work in bringing this performance back, and GapiDraw 3.01 is now the fastest GapiDraw ever (up to 100% faster than GapiDraw 3.0 in many operations)"

Cheers
Johan
Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[http://www.gapidraw.com]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Bunkai » Nov 14, 2006 @ 9:20pm

Yes, I have read that, however, not the information that it is 100% faster somewhere.. :-) Thank you for information..

Have a nice evening,
Rene.
Bunkai
pm Member
 
Posts: 71
Joined: Mar 18, 2006 @ 5:01pm


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