PocketMatrix forums

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

Some GX questions..

Hi there,

I bought an IPaq H3870 and after one day of playing around with the pocketpc 2002 sdk and gx.lib I came up with the following questions:

1: What is the fastest refresh rate you can get with gx? When I do some pure writing to the frame buffer (unsigned shorts) a get a max. rate of about 35 fps (ca. 28ms)? For me it seems like GXBeginDraw and GXEndDraw have some overhead, what are these functions doing exactly? Are they doing already some kind of mem blitting (double buffering) or something similar like waiting for a VSync?

2: When I do some writing to the main memory I get rates of about 90mb per second, can anyone confirm this?

3: When using gx I still have the refreshing clock in the upper part of the screen, is there a possibility to disable the writing of all other windows and tasks?


Thank you..

Marco.
Hiya.

Maybe we should make an FAQ for q'ns like this...

#1.

The 38** series iPAQs have a weird gx.dll. What happens is upon calling GXEndDraw, the frame buffer it gave you as the "real" frame buffer is rotated and blitted onto the real frame buffer.

Nice, huh?

It's been covered in this forum loads before - use the search. :)

#2

It /sounds/ a little low, but my iPAQ isn't with me right now, so I can't give you any real numbers.

What units are you writing in? Do you mean random or contiguous writes? Are you writing the same value? (Post your code if you want).

If I get bored this afternoon I'll *try* and work out the maximum processor bandwidth on the iPAQ memory, if anybody's interested.

#3

That's been covered on this forum, too.

Cheers,

Refractor
Marco · 07 Jun 2002, 13:14 UTC — Thanks..
Thanks..