The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Hardware (blting) acceleration in window on windows
Dean Ware
Guest

Forgive me if this has been asked before:

Is there any chance that SDL will be modified to use hardware blitting acceleration when running in a window on MS Windows?

I ask because there is another graphics library (not as functional as SDL and for windows only) called CDX, which allows this. Using CDX in my application (an action game) I am getting frames rates of around 400 fps. Using SDL I get 40 fps.

I did have a look through the code myself but was a bit baffled by all the DirectX stuff (the reason i am using a Blitting library in the first place Razz ).

Anyone else want this feature?

Any comments?

Thanks

Chocawok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060105/1652ab12/attachment.htm
Hardware (blting) acceleration in window on windows
Roberto Prieto
Guest

Hi,
yes, there is another way.... you could use glSDL.
In my website (www.megastormsystems.com) I have a little benchmark utility and you can see the differences between ddraw,d3d,software and glSDL.

Further information of glSDL can be found here: http://icps.u-strasbg.fr/~marchesin/sdl/glsdl.html
and latest SDL with glSDL included can be downloaded here: http://icps.u-strasbg.fr/~marchesin/sdl

Cheers

----- Original Message -----
From: Dean Ware
To: sdl at libsdl.org
Sent: Thursday, January 05, 2006 5:53 AM
Subject: [SDL] Hardware (blting) acceleration in window on windows


Forgive me if this has been asked before:

Is there any chance that SDL will be modified to use hardware blitting acceleration when running in a window on MS Windows?

I ask because there is another graphics library (not as functional as SDL and for windows only) called CDX, which allows this. Using CDX in my application (an action game) I am getting frames rates of around 400 fps. Using SDL I get 40 fps.

I did have a look through the code myself but was a bit baffled by all the DirectX stuff (the reason i am using a Blitting library in the first place Razz ).

Anyone else want this feature?

Any comments?

Thanks

Chocawok


__________ Informaci?n de NOD32, revisi?n 1.1352 (20060104) __________

Este mensaje ha sido analizado con NOD32 antivirus system
http://www.nod32.com



------------------------------------------------------------------------------


_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


__________ Informacisn de NOD32, revisisn 1.1352 (20060104) __________

Este mensaje ha sido analizado con NOD32 antivirus system
http://www.nod32.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060105/a993afa4/attachment.html
Hardware (blting) acceleration in window on windows
David K
Guest

Quote:
Anyone else want this feature?

If this is possible, then yes!!! :-)
Hardware (blting) acceleration in window on windows
Ryan C. Gordon
Guest

Quote:
If this is possible, then yes!!! :-)

My understanding is that you already _do_ get hardware blitting from the
DirectX target, if you have hardware surfaces.

(directx isn't the default right now in CVS, but it will be again, and
it was in the latest (1.2.9) release.)

--ryan.