Hi
Quoted from the archives :
"i’m guessing you’re running windows? in any event SDL doesn’t
do hardware surfaces for windowed displays. :[ "
Apparently, the flag SDL_HWSURFACE is only handled in full screen mode.
Is there a reason for that ? With DirectX it IS possible to use
harware blitting in windowed mode,
and the perfomances are obviously much better .
Is someone working on that, or do you need help ?
-----Oorspronkelijk bericht-----
Van: renaud at envivio.com [mailto:renaud at envivio.com]
Verzonden: maandag 24 september 2001 12:09
Aan: sdl at libsdl.org
Onderwerp: [SDL] win32 question
Hi
Quoted from the archives :
"i’m guessing you’re running windows? in any event SDL doesn’t
do hardware surfaces for windowed displays. :[ "
Apparently, the flag SDL_HWSURFACE is only handled in full
screen mode.
Is there a reason for that ? With DirectX it IS possible to use
harware blitting in windowed mode,
and the perfomances are obviously much better .
Is someone working on that, or do you need help ?
Well, it seems a bit strange but I got it the other way around.
In windowed mode I can simply use SDL_HWSURFACE and this goes
very nicely.
In fullscreen however I must choose SDL_SWSURFCACE | SDL_FULLSCREEN
otherwise my programm crashes, at least with Cygwin as development
suite.
For I can tell, DirectX is only used in fullscreenmode. In windowed mode
SDL uses the GDI interface (at least this was the case in the 1.1.x
branche).