PocketMatrix forums

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

GapiDraw 1.1 : October 25

Just for all of you who are waiting for GapiDraw 1.1 : it's on its way. A public beta will be released on October 12 with final release set to October 25 (right before my trip to Paris and the UIST conference where I will demonstrate the platforms).

Q: What features will be included in 1.1?
A: I won't announce all of them yet... I am working on a new cool project at the Future Applications Lab called ubiquitous graphics, and I have to add some features to the platform to do that.. All the stuff that's been previously mentioned such as hardware-accelerated blits, zero overhead of PNG loading and saving for extremely large surfaces (hm, I don't remember if I had announced that one previously :) ) etc will be there.

There WILL be some changes to the SDK. I will announce a proposal for this during the next week. This is mostly related to adding hardware-acceleration.

The support for hardware acceleration means:
(1) No negative impact on GapiDraw performance on unaccelerated devices
(2) Significant impact on devices with hardware-accelerated blits and proper SDK support
(3) Enormous improvement on stationary PCs (basically Blt, BltFast, FillRect, Bitmapped fonts etc will call a DirectDraw counterpart through an EXTREMELY thin layer = *wow*)

Curious how easy it is to get started with GapiDraw? Check out these games created by students in three weeks (1 week introduction to C++, 1 week introduction to GapiDraw, 1 week of development):
http://www.mobile-applications.nu/lab1/index.html

Right now we are working on Lab2 featuring tilestudio and enemy formations (2 weeks). Lab3 will feature multiplayer games over ad hoc WLAN and GPRS (five weeks).
Hi Johan, where is hardware support for blits comming from? Is there an SDK available somewhere that I am unaware of?

I don't know of any device that has more then 320x240x2 bytes of memory, so I am really curious to know what kind of hardware acceleration is available, and on what devices.
Hi Thierry,

There are some new devices coming that will be using neomagic accelerators. They will have a large framebuffer with full flip support, and will use Windows CE.NET as their operating system. As of yet it is unclear how the exact SDK will look like, but the driver will be able to access surface data from video memory. I don't think I am in the position to reveal more information on them, but the release date is set to soon (3-4 months). As always, this might change...

It is my personal opinion that today's Pocket PC platform never will receive any "real" hardware-acceleration (real sdk and large frame buffer), especially with all the cool CE.NET devices being released soon... It seems that Pocket PC people are more interested in 128mb RAM, built-in GPRS and finger-print recognizers. But that could change I guess...

Gratz on the .60 release by the way! I am kind of fortunate to be able to work on GapiDraw during work hours (sometimes), otherwise I would have had to cut down on development time considerably. Impressive work considering the short timespan between releases!
Thanks for your quick reply Johan. As always, you are really helpful!
Will you maintain backwards compatability with 1.04 in this new release?

-- GR
I am not sure yet. I will post a suggestion next week and see what the response is like...

Changes have to be made to CreateSurface(), OpenDisplay(), and GetSurfaceOptions(). CreateSurface will be modified so that all operations take a flag parameter (to choose where the surface should be stored - in video or memory). OpenDisplay will be changed to support custom resolutions and refresh rates. GetSurfaceOptions will be renamed to GetSurfaceFlags.

While this may sound bad (especially changing CreateSurface) - this will only affect the CreateSurface calls when loading an image from memory or file. The old CreateSurface(dwFlags, width, height) will still be left intact. Moving a project from 1.04 to 1.1 should take less than 5 minutes (compile, go through each line were the compiler gives an error and add an empty flag parameter).

I'll post more details next week.
Updating my code from 1.04 to 1.1 isn't much of a concern to me. My concern is the user having a pre-existing 1.04 based application out there and then having a new application install the 1.1 version dll over top of the 1.04 version dll. I just want to make sure that this situation won't 'break' the 1.04 application.

--GR
Aha.. Well, the current DLL is named "gd104.dll". The new DLL will be named "gd110.dll".
Well duh... I guess I should have looked before spouting off. =)

Thanks! -- GR
As far as CreateSurface I think introducing default argument (defaulting to the current approach - memory storage) would solve the problem with having to modify existing source code when recompiling with the new GapiDraw library.
I've not forgotten it. We've the 12. today... :)

Where can we grab GapiDraw 1.1 ? 8)

Greets,

Michael Ritter (5amcoderz)
Hi Michael,

Unfortunately I am a few days late... Check my other post (Add multiplayer to your CGapiApplication) for reasons why...

I'll have a special version for you early next week...
Hi sbl,

don't panic. It's just that I'm really hot on the DDraw accelerated version. But we're killing any deadlines, too. :lol:

Greets,

Michael Ritter (5amcoderz)