SDL Inquiry

I have some questions about SDL:

Does SDL allow you to create a custom window from an external HWND (or OSX
equivalent)? In other words, if the programmer creates a window in another
library and supplies the HWND, can I use SDL to create an OpenGL context on
that?

Does SDL provide mouse and keyboard events?

Does SDL support initialization of any version of OpenGL graphics contexts,
including forward-compatible OpenGL 3.3+?

Does SDL support anti-aliasing, which is part of the OpenGL pixel format
when an OpenGL context is created?

Can SDL share OpenGL contexts?

Thank you.

To your first question: Only in SDL1.3, which while remaining fairly consistent is not the current official release.
To your second: yes. Joystick, too.
To your third: last I knew, no.
To your fourth: dunno.
To your last: dunno. You should be able to easily edit the source to get it to, though.------------------------
EM3 Nathaniel Fries, U.S. Navy

http://natefries.net/

I have some questions about SDL:

Does SDL support anti-aliasing, which is part of the OpenGL pixel format
when an OpenGL context is created?

yes, it’s renamed multisampling, see here

Can SDL share OpenGL contexts?

i’m not sure what you mean by this but you can create opengl objects
from sdl surfaces and vice versa; also once you create a gl contex
with sdl you can use it with normal gl calls

VittorioOn Sun, Dec 19, 2010 at 7:08 AM, Josh Klint wrote: