PocketMatrix forums

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

Fullscreen woes

I'm using GapiDraw 2.0 on Windows XP with a Radeon 9700 card (although I also tested this on a GeForce4 with the same results).

Whenever I specify GDDISPLAY_FULLSCREEN in my OpenDisplay function call, it does indeed go fullscreen but it goes REALLY slow. Like, single digit framerates. Running in a window is perfectly smooth.

Now, is there something else I have to do here? My understanding is that fullscreen uses hardware acceleration so it seems ludicrous that it would go slower than software mode -- not even slower, it's an order of magnitude slower.

I've obviously got some botched setting or something somewhere but have no idea where to look.

Anyone have any gotchas they'd like to share?

Thanks!
I would recommend reading through the document "Using video hardware" on www.gapidraw. All surfaces are by default stored in video memory if you use full screen mode in GapiDraw. Calling operations that are not hardware accelerated and reads from the destination surface (such as AlphaBltFast or using opacity) will cause extreme slowdowns...
EpicBoy · 10 Jun 2003, 16:04 UTC — Yep
Moving my surfaces into system memory cleaned the problem right up!

Thanks for the article reminder. :)