aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-10-20Don't crash on code reloadingLoïc Hoguin
2015-10-20We are in 2015Loïc Hoguin
2015-10-20Replace a few ;; with ;Loïc Hoguin
2015-10-20Add esdl2.d to .gitignoreLoïc Hoguin
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.
2015-10-18Add details about what remains to be done to the READMELoïc Hoguin
2015-10-18Remove access to the SDL_INIT_NOPARACHUTE optionLoïc Hoguin
It is ignored by SDL2 and only kept for compatibility purposes. We don't need to worry about that, so removing it.
2015-10-17Always enable SMP in the examplesLoïc Hoguin
2015-10-17Fix various warnings from recent GCCLoïc Hoguin
2015-10-17Fix conditionals for detecting OSXLoïc Hoguin
2015-10-16Steal the main thread on OSXLoïc Hoguin
Should fix issues with events not being handled properly, and possibly other things. Taken from Erlang's wx, which is proven to work. The function used is unfortunately undocumented. Not 100% sure everything is good with just that, it looks good enough on my VM, but I still have issues probably due to trying this on a VM.
2015-10-16LDFLAGS should be LDLIBSLoïc Hoguin
2015-10-16Update gitignoreLoïc Hoguin
2015-10-16Update Erlang.mkLoïc Hoguin
2014-06-10Use erlang.mk with newly added NIF support!Loïc Hoguin
2014-05-01Make sure the window is never released before the rendererLoïc Hoguin
Tentative fix for an OSX VM crash when the owner process dies.
2014-04-10Add clicks value to mouse button events (SDL >= 2.0.2)Loïc Hoguin
2014-04-09Add ideas to the READMELoïc Hoguin
2014-04-09Remove an arg check in sdl_renderer, use dialyzer instead!Loïc Hoguin
2014-04-09Use a "better" type for the resourcesLoïc Hoguin
2014-04-09Add typespecs to the sdl_window moduleLoïc Hoguin
2014-04-09Fix flag type in sdl_rendererLoïc Hoguin
2014-04-09Add typespecs to the sdl_version moduleLoïc Hoguin
2014-04-09Add typespecs to the sdl_texture moduleLoïc Hoguin
2014-04-09Add typespecs to the sdl_surface moduleLoïc Hoguin
2014-04-09Add typespecs to the sdl_renderer moduleLoïc Hoguin
2014-04-09Add typespecs to the sdl_power moduleLoïc Hoguin
2014-04-09Add typespecs to the sdl_filesystem moduleLoïc Hoguin
Again the interface had to change a little to better distinguish errors.
2014-04-09Add typespecs to the sdl_events moduleLoïc Hoguin
2014-04-08Add typespecs to the sdl_cpu_info moduleLoïc Hoguin
2014-04-08Add typespecs to the sdl_clipboard moduleLoïc Hoguin
The interface for sdl_clipboard:get_text/0 changed to be easier to use as errors can happen.
2014-04-08Add typespecs to the sdl moduleLoïc Hoguin
2014-04-08Make sdl_surface:img_load/1 run in the main threadLoïc Hoguin
While this and other surface functions don't need to, depending on the backend or flags the surface may not be in system memory and therefore may not be thread safe.
2014-04-08Make the sdl module C code use the main threadLoïc Hoguin
All video operations should be on the main thread, including initialization. This makes no difference on my system, but might on others. There is no cost doing this as these functions are very rarely called, and usually before/after everything else.
2014-04-07Add sdl_texture:set_color_mod/4Loïc Hoguin
2014-04-07Add sdl_texture:set_blend_mode/2Loïc Hoguin
2014-04-07Too many bullets were shot in the first partLoïc Hoguin
Thanks alpha blending for letting me see that!
2014-04-07Add sdl_texture:set_alpha_mod/2Loïc Hoguin
2014-04-07Add sdl_texture:get_color_mod/1Loïc Hoguin
2014-04-07Add sdl_texture:get_blend_mode/1Loïc Hoguin
2014-04-07Add sdl_texture:get_alpha_mod/1Loïc Hoguin
2014-04-07Add sdl_renderer:set_draw_blend_mode/2Loïc Hoguin
2014-04-07Add sdl_renderer:is_target_supported/1Loïc Hoguin
2014-04-07Add sdl_renderer:set_viewport/{2,5}Loïc Hoguin
2014-04-07Add sdl_renderer:set_scale/3Loïc Hoguin
2014-04-07Alphabetical order for the public interface modulesLoïc Hoguin
2014-04-07Add sdl_renderer:set_clip_rect/{2,5}Loïc Hoguin
2014-04-07Add sdl_renderer:get_viewport/1Loïc Hoguin
2014-04-07Add sdl_renderer:get_scale/1Loïc Hoguin
2014-04-07Add sdl_renderer:get_logical_size/1Loïc Hoguin