aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/sdl_gl.c
AgeCommit message (Collapse)Author
2018-01-02Welcome to 2018Loïc Hoguin
2017-12-20Add the sdl_mouse module implementing half of sdl_mouse.hLoïc Hoguin
The latter half will be part of sdl_cursor. This depends on some changes to nif_helper. The sdl_gl part of the code is probably slithly broken now, the dependency on the window is gone. This will be resolved later on.
2015-10-20Add sdl_gl:create_context/1 and sdl_gl:swap_window/1Loïc Hoguin
These functions are the bare minimum needed to experiment with OpenGL. My experiments so far rule out reusing the gl and glu modules found in the wx application. It seems that any OpenGL call from a different thread than the window's thread won't work, at least on Linux. I'm afraid that implementing OpenGL in the future will require duplicating the work done in the wx application. OpenGL support is not a priority however, so it's not a big deal just yet.