Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-07 | Add a bunch of sdl_renderer functions | Loïc Hoguin | |
2018-01-05 | Add the remaining keyboard functions | Loïc Hoguin | |
Also adds defines for all the keycode and scancode in SDL 2.0.7. | |||
2018-01-02 | Welcome to 2018 | Loïc Hoguin | |
2017-12-25 | Add everything from sdl_blend_mode.h | Loïc Hoguin | |
2017-12-21 | Add sdl_cursor along with all its related functions | Loïc Hoguin | |
2017-12-20 | Add the sdl_mouse module implementing half of sdl_mouse.h | Loï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. | |||
2017-04-19 | Fix warnings in preparation for splitting nif_helpers out | Loïc Hoguin | |
2017-03-20 | Remove two unused variables found by cppcheck | Loïc Hoguin | |
2016-11-25 | Fix an uninitialized value found by Clang analyzer | Loïc Hoguin | |
2015-10-20 | We are in 2015 | Loïc Hoguin | |
2014-05-01 | Make sure the window is never released before the renderer | Loïc Hoguin | |
Tentative fix for an OSX VM crash when the owner process dies. | |||
2014-04-09 | Remove an arg check in sdl_renderer, use dialyzer instead! | Loïc Hoguin | |
2014-04-07 | Add sdl_renderer:set_draw_blend_mode/2 | Loïc Hoguin | |
2014-04-07 | Add sdl_renderer:is_target_supported/1 | Loïc Hoguin | |
2014-04-07 | Add sdl_renderer:set_viewport/{2,5} | Loïc Hoguin | |
2014-04-07 | Add sdl_renderer:set_scale/3 | Loïc Hoguin | |
2014-04-07 | Add sdl_renderer:set_clip_rect/{2,5} | Loïc Hoguin | |
2014-04-07 | Add sdl_renderer:get_viewport/1 | Loïc Hoguin | |
2014-04-07 | Add sdl_renderer:get_scale/1 | Loïc Hoguin | |
2014-04-07 | Add sdl_renderer:get_logical_size/1 | Loïc Hoguin | |
2014-04-07 | Add sdl_renderer:get_clip_rect/1 | Loïc Hoguin | |
2014-04-05 | Add sdl_renderer:fill_rects/2 | Loïc Hoguin | |
2014-04-05 | Add sdl_renderer:fill_rect/{2,5} | Loïc Hoguin | |
2014-04-05 | Add sdl_renderer:draw_rects/2 | Loïc Hoguin | |
2014-04-05 | Add sdl_renderer:draw_rect/{2,5} | Loïc Hoguin | |
2014-04-05 | Add sdl_renderer:draw_points/2 | Loïc Hoguin | |
2014-04-05 | Add sdl_renderer:draw_point/{2,3} | Loïc Hoguin | |
2014-04-04 | Add sdl_renderer:draw_lines/2 | Loïc Hoguin | |
2014-04-04 | Add sdl_renderer:draw_line/{3,5} | Loïc Hoguin | |
2014-04-04 | Fix potential memory leaks and other small improvements | Loïc Hoguin | |
2014-04-04 | Add sdl_renderer:copy/7 | Loïc Hoguin | |
2014-04-04 | Add sdl_renderer:get_output_size/1 | Loïc Hoguin | |
2014-04-04 | Add sdl_renderer:get_draw_color/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_renderer:get_draw_blend_mode/1 | Loïc Hoguin | |
Also changed a little the count_drivers/0 function to return the result directly instead of {ok, Count}. Let it crash! | |||
2014-04-03 | Add sdl_renderer:count_drivers/0 | Loïc Hoguin | |
2014-04-02 | Add a bullet engine example | Loïc Hoguin | |
A function sdl_renderer:set_logical_size/3 has been added. All the functions relative to the window, the renderer, textures and events now run in a separate thread inside the NIF. A few helper functions and macros have been added in order to abstract this out. The code reads like it is doing call or cast to the main thread. In the case of call, the result is then sent back to the calling process as a message (Erlang side catches it directly before returning). The functions relative to SDL init and surfaces have not been threaded yet. It may still be needed from the point of view of SDL or Erlang, but it seems to work fine as it is so they were left alone for now. The bullet example originally came from my submission to Spawnfest 2011, and has been reactualized to work with a modern Erlang, and SDL2. | |||
2014-03-18 | Initial commit | Loïc Hoguin | |