PocketMatrix forums

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

GapiDraw 1.1 beta1 is NOW AVAILABLE !!

Ok,

Sorry for not posting earlier but as you know I have had a hectic schedule lately.

The first beta of GapiDraw 1.1 is now available. Lots of internal changes, perhaps too many... :)

Some of the cool stuff:

    (x) Loading PNG and BMP images from file, memory or resource is now done with zero memory overhead on all devices. You can now load huge surfaces without problems.
    (x) The display can now be rotated in all four directions (0, 90ccw, 180, 90cw).
    (x) Hardware blit support. Blt, BltFast, FillRect and other operations depending on them (such as Drawtext) are now hardware-accelerated on Stationary PCs. Several new features related to hardware acceleration (such as VideoLock(), GetAvailableVidMem() etc) are also available.
    (x) Lots of options for opening the display. You can now use variable Hz, choose if the flip should be synced to vblanc etc. You can also choose whether the backbuffer should be stored in sysmem or vidmem.
    (x) Fillrect() with opacity is now 100% faster.
    (x) Lots of minor improvements to CGapiApplication (e.g. InitInstance, ExitInstance, CreateSurfaces, ProcessNextFrame are now all called by the same thread)
    (x) Lots of minor improvements to CGapiSurface (e.g. rotating the display does not cause any memory overhead anymore).
    (x) Surfaces can now be saved as PNG images on all devices. Saving images is now done with zero memory overhead.
    (x) Blt with rotation now supports a rotation center on the target surface.


On the todolist are:
1. DrawText (lots of stuff here).
2. DrawMask (lots of stuff here as well).
3. Default system font can be improved in performance.
4. Other stuff (any suggestions?)

Some of the bad stuff:
1. The emulators & smartphone versions are not included in this release.
2. The beta has a startup banner. It will be removed in the final release.
3. Only 16-bit color depth is supported when run in windowed mode. This will not be changed.
4. Zoom is no longer available when running in full screen mode (e.g. 320x240 stretched to 640x480). It is still available in windowed mode though. This will not be changed.
5. Lock()/Unlock() was removed. You should use GetBuffer() instead. The reason for removing it was that many are not aware of the performance penalty for locking a surface that has to be rotated...

Download your copy here:
www.gapidraw.com/GapiDraw110beta1.exe

Post your comments in this thread please...

/Johan
Great stuff man. ;) I just downloaded it.
Lets see how it's working.

Greets,
Michael Ritter
5am|coderz
Thanks Johan. I'll download the release and give it a try. Suggestions? How about a simple sound mixer?

GapiSound would be nice (hint hint) ;)

-- GR
Blacky · 02 Dec 2002, 21:15 UTC — GapiDraw 1.1 beta1 is NOW AVAILABLE !!
sbl wrote:
3. Only 16-bit color depth is supported when run in windowed mode. This will not be changed.


Hmmmm...(Take a deep breath)...(Silence)...
MUAAHHHHHHHHHHH..... ;)

First I thought you mean that the window will just display 16Bit colors instead of 24Bit. But it's really like you wrote: You can't open a windowed GapiDraw app on a truecolor Desktop.

That means: I have to run my desktop only in 16Bit instead of 24/32... This is insane... Because I really need to run it in windowed mode for testing. So I will have to change this so often. Once for testing and then for Photoshop and again and again. Hmmm, are you really sure this will not be changed ?

And until now I had planned to give the user the possibility to run in windowed mode. I don't think that I can tell them:"You have to change your BitDepth every time ya wanna play !".

Johan, by all means: You're doing a great job. But I'm sure you will get some *kicks* with this 16Bit issues. ;)

Greets,
Michael Ritter
5am|coderz
Unfortunately it's not as simple as it may sound. If your desktop is running at 24-bit color, video surfaces has to be in 24-bit color as well to be fully accelerated. GapiDraw however only works with 16-bit surfaces due to optimizations. If GapiDraw would support all color depths (16, 24 and 32), performance in 16-bit color mode would be compromised.

I will look into this and see if a solution could be worked out easily.
Hello Johan,
I am very glad that there is (was) a good way of running and debugging a GapiDraw application on the PC platform, this is a really nice feature. But if you force us, the developers, to run with 16-bit desktop to keep this feature you probably heading in the wrong direction.

I would be really glad if you could keep the software (not accelerated mode, like in GapiDraw 1.04 ) for us who just run our GapiDraw apps on the desktop for developing purposes.

Best regards Okku
Ok. I'll fix this some way... :)
Maybe I'm looking at this the wrong way, but my feeling is that GapiDraw is for the PocketPC first and the desktop second. Anything that makes development on the ppc easier/more reliable/faster is a step in the right direction. Anything that hinders development for that platform is a step in the wrong direction. In any case Johan, your efforts on GapiDraw are greatly appreciated!

-- GR
ppcStudios wrote:
Maybe I'm looking at this the wrong way, but my feeling is that GapiDraw is for the PocketPC first and the desktop second. Anything that makes development on the ppc easier/more reliable/faster is a step in the right direction. Anything that hinders development for that platform is a step in the wrong direction. In any case Johan, your efforts on GapiDraw are greatly appreciated!


I agree completely. GapiDraw is something that people should not take for granted. It's a tremendous opportunity to have such a tool at our disposal, and best of all it's free.

I had a chance to have the source to "someone else's" graphics library, and this is not something I want too program. Even if the PC support was completely removed from GapiDraw, it's base value would still be immense to any developers.

I just had to say it.

--Eric
ppcStudios & efrontier:

Your're right with the PocketPC part. But if no desktop part would be there, development would be much more work as it's now. It's a great advantage to develop and test on desktop and then just compile for Pocket. Sure, there's a way to do by using the PPC emulator to test it on desktop. But because of PocketPC games are mostly simpler games, they should sell really well as budget games for desktop, too. And then it makes sense to let them run in windowed mode. So the user can change between a little play and chatting/browsing/working.

Btw: Is it allowed to donate a little amount to you Johan ? I mean, if our game will sell well, I would feel like I had ripped someone off if I don't have paid at least a little for it but make money using it. ;)

And after some delays I now hope we will have it ready by january.

Greet,
Michael Ritter
5am|coderz
My sales are split between Pocket PC and PC. They are both important and it is very nice to not have to worry about building a special version for each platform.