PocketMatrix forums

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

EasyCE framebuffer

Hi,

I've done a fair bit of desktop pc programming but I've recently become interested in coding for Pocket PCs (although i don't have one yet). I've been looking at using EasyCE and I have a question that I would appreciate some help with:
I see that EasyCe uses an internal framebuffer to 'hide' the differences between different Pocket PCs. However I assume that as this is not drawing directly to the machine's framebuffer, it is not drawing at the fastest possible speed. Does anyone know what kind of performance increase would be gained by direct framebuffer access? I'm not looking for an exact answer but just a rough guess of % increase or framerate (e.g from 25fps to 30fps). I'm planning on developing a 3D game so performance is obviously a major concern.

Thanks in advance.
It's not as easy as that. You can compare direct screen writes and the buffered 'EasyCE method' only if your screen update mainly consists of drawing a scrolling backdrop. In that case, writing directly to the frame buffer should give you 100fps or more, while EasyCE won't exceed 70fps or so.

However, as soon as you start doing more complex stuff, like drawing sprites, caching starts making things complicated. For instance, drawing vertical or horizontal spans of pixels differs a lot, speedwise; this is reversed on devices with tilted framebuffers, like the iPaqs. So, besides having to write dedicated graphics code for each device, you would also have to write dedicated code for your sprites and possibly lots of other code snippets.

But of course in some cases you just want speed, no matter what the complications are. :) I did that for the bouncing balls demo. That's an example of using EasyCE for direct frame buffer access; on the iPaq it actually draws to the tilted screen, while on Casio's it draws to a regular frame buffer. The speed is awesome (IMHO). :)

- Jacco.

P.S. Lots of cool news on Monday. I'll keep you guys posted.
Phantom wrote:
P.S. Lots of cool news on Monday. I'll keep you guys posted.


:?:
I know what it is! I know what it is! :P

From a super secret post from Jacco posted earlier today: "I hope to make this public this week."

Dan East
Yeah. Could be Monday next week though. Doesn't matter, you'll be amazed. Trust me. This is BIG. :)