PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

GapiDraw 2.05 Released : Stable as a Rock !

<a href="http://www.gapidraw.com">GapiDraw</a> 2.05 was released today and fixes an issue with Blt and AlphaBlt. GapiDraw 2.05 has gone through extensive testing while porting it to the Symbian platform, and we feel that this is the most solid release of GapiDraw so far!!

New features in GapiDraw 2.05 include smaller DLL size on all Pocket PCs and Smartphones, and significant performance optimizations in Blt and AlphaBlt! Starting with GapiDraw 2.05 we are also introducing our new licensing scheme, which can be found on the license page.

Download GapiDraw at www.gapidraw.com
1.04 didn't have a single reported error... How exactly do you get better than perfect I wonder?

Besides, comparing the new version to a version that's what, a year old now, give or take a few months, that doesn't seem terribly relevant.
Again, Blt() and BltFast() are getting faster with each release. What's up with that? How can you claim having the fastest performances possible and yet improve it with each release?

I also wonder what 1.04 has to do with 2.05 when we know that 2.04 had problems.

I am simply puzzled by your post.

In your own words:

Johan wrote:
The question is how interesting performance improvements really are. I mean, since it's all basically memory copy operations, it can't be much faster than reading 32-bits and writing 32-bits
I echo your thoughts Thierry (or you echo mine I guess... my post got up first :) ).

I personally wouldn't quibble over the speed increases... it can't be argued that GD's performance is excellent, whether it's the best or not (or will be once PocketHAL hits the scene :) )probably doesn't matter, and if they found a way to eek out a little extra performance when they thought it was no longer possible, so be it.

Comparing 2.05 to 1.04 I agree completely though seems quite utterly pointless.

I have to say this... in light of the licensing issues I brought up in another thread, this comparison seems less a pointless thing and more a misleading thing. I have to say I am not impressed with Viktoria Institute on this day, and unless they have some very good answers for a number of points raised in the last two hours by myself and others, I will be forced to conclude that they are a shady organization that I will not deal with.

That's a very sad thing considering how good the product is, and I sincerly hope I'm wrong about a lot of things...
Ok, So people such as Fzam and I can get a full version license just by registering? Im thinking we are basically considered single dev's, am I wrong there?
Check out my post in the other thread where the licensing stuff is really being discussed... I point out where I believe the license makes that not true.

Until we get some official answers though, it's just interpretations and speculation.

(Gee, I would have thought the licensing terms being announced would have ended all the speculation, instead it's just made it worse it seems).
While GapiDraw 1.04 did not have any internal errors, it did not respond to incoming phone calls on Smartphones etc. Not only am I confident that the GapiDraw 2.0 source code is stable by itself, it also behaves very well across all devices (including Symbian devices which also will use 2.05). But I agree, perhaps I shouldn't have mentioned GapiDraw 1.04..

As for Blt and AlphaBlt.. Previously they used lookup-tables since I had plans to implement filtering on stretched blits. GapiDraw now uses separate loops for rotated and stretched blits where none of them use lookup-tables (you actually gain quite some performance by having two loops rather than combining them as you've done in PocketFrog since you don't have to check bounds for each pixel in the stretched blit). BltFast // AlphaBltFast can only be optimized by assembler (for some 5% improvement) so they are on the shelf at the moment...
I changed the top post to not mention 1.04.. For those of you reading this and wondering what we are talking about, it was this sentence: "Considering that GapiDraw 1.04 did not have a single reported error, this means REALLY stable!"
Why quibble over how much faster v2 is than v1 and that there are no errors? Geez, just be happy Johan did such a fine thing by releasing GD to the community for free. Great release and keep it up Johan :D So when does a blazing 3D engine make it in as a feature?
ROCK YOUR FACE
NightShade737 · 26 Sep 2003, 12:40 UTC
Anonymous wrote:
ROCK YOUR FACE


That was so random it was quite funny.

For anyone who couldn't be bothered to navigate to the changes page, here is what has been altered;

GapiDraw 2.05 [2003-09-22] - Stable as a Rock !
SDK Additions

New DLL that is optimized for the Smartphone2003 platform!
New function: CGapiApplication::ChangeFPS to easily change the target FPS at runtime.
New function: CGapiSurface::FreeSurface() to remove all resources associated with the surface.
SDK improvements

Decreased the size of the PocketPC and Smartphone DLLs with nearly 20%!
Significantly improved performance and memory usage of stretched blits with Blt and AlphaBlt (they no longer use lookup tables)!
It is now possible to use only the "rotation scale" or "rotation center" parameters without specifying "rotation angle".
CGapiApplication will now call Sleep(0) on each frame update if the target frame rate could not be reached. This could previously cause a button lock on some slower devices when the target FPS could never be reached.
GapiDraw will now always first try to dynamically load "\windows\gx.dll" before looking in the current folder for this file. This will help performance on some Windows Mobile 2003 devices where the Pocket PC 2000 ARM version of gx.dll performs slowly.
SDK changes

None
Bug Fixes

Due to a bug introduced in GapiDraw 2.04, CGapiSurface::Blt and CGapiSurface::AlphaBlt would previously crash with an assertion failure on some devices.
Blitting to a negative coordinate with clipping turned off would previously not result in an error code, this has been corrected.

------------------------------------------

So, this new update, will it show speed increases with current software that uses the dll or do the programs need to be altered to take advantage of the altered library?

NS
NightShade737: If your program uses Blt or AlphaBlt, it will automatically be significantly faster than 2.04 since I rewrote some of the routines...