SDL OpenGL performance

I noticed that the same OpenGL application, using only WGL functions under
Win32 is faster than using SDL under Win32 (with GLX, under Linux it has the
same speed as the win32 SDL version), that has the same speed as it is
running into a window…
Maybe it debends by the way fullscreen is implemented (under Win32, I use
only WS_POPUP as window style)…

Marco Iannaccone @Marco_Iannaccone
ICQ: 18748121 Tolkien

“I’ve… seen things you people wouldn’t believe. Attack ships on fire off
the shoulder of Orion.
I watched C-beams… glitter in the dark near the Tanhauser Gate. All
those… moments will be lost… in time…, like… tears… in… rain.”

FAQ it.comp.lang.c++: http://www.programmazione.it/linguaggi/c/lang_faq.htm
FAQ it.comp.lang.c: http://www.programmazione.it/linguaggi/c/itcomplangc.htm> ----- Original Message -----

From: slouken@devolution.com (Sam Lantinga)
To:
Sent: Friday, September 29, 2000 4:51 PM
Subject: Re: [SDL] Building SDL apps under Linux

I was using the rmp (develop package).

Where are the X11 headers found in your distribution?

Anyway, I downloaded the source version, compiled the way you told me,
and

it works!!!

Great.
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

“Marco Iannaccone” wrote

I noticed that the same OpenGL application, using only WGL
functions under Win32 is faster than using SDL under Win32
(with GLX, under Linux it has the same speed as the win32
SDL version), that has the same speed as it is running into
a window…
Maybe it debends by the way fullscreen is implemented (under
Win32, I use only WS_POPUP as window style)…

to me it sounds like the opengl context is being created
with different modes (ie pixeldepths and masks, etc).
sadly i’m no expert at this. (in fact, never used opengl
under sdl yet :[ )

anyways, that would be my first place to check. hope
it helps some?