Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-04-09 | Add typespecs to the sdl_filesystem module | Loïc Hoguin | |
Again the interface had to change a little to better distinguish errors. | |||
2014-04-08 | Add typespecs to the sdl_clipboard module | Loïc Hoguin | |
The interface for sdl_clipboard:get_text/0 changed to be easier to use as errors can happen. | |||
2014-04-08 | Make sdl_surface:img_load/1 run in the main thread | Loï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-08 | Make the sdl module C code use the main thread | Loï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-07 | Add sdl_texture:set_color_mod/4 | Loïc Hoguin | |
2014-04-07 | Add sdl_texture:set_blend_mode/2 | Loïc Hoguin | |
2014-04-07 | Add sdl_texture:set_alpha_mod/2 | Loïc Hoguin | |
2014-04-07 | Add sdl_texture:get_color_mod/1 | Loïc Hoguin | |
2014-04-07 | Add sdl_texture:get_blend_mode/1 | Loïc Hoguin | |
2014-04-07 | Add sdl_texture:get_alpha_mod/1 | 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 | Use enif_is_identical for comparing atoms instead of strcmp | Loïc Hoguin | |
Requires us to create more atoms at startup but makes things much simpler and potentially safer and faster. | |||
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-03 | Add sdl_window:show/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_title/2 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_size/3 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_pos/3 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_min_size/3 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_max_size/3 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_icon/2 | Loïc Hoguin | |
The surface needs to be kept around and not GC otherwise it crashes. | |||
2014-04-03 | Simplify the C code for set_window_bordered | Loïc Hoguin | |
2014-04-03 | Add sdl_window:grab_input/2 | Loïc Hoguin | |
2014-04-03 | Simplify the C code for create_window | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_fullscreen/2 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_brightness/2 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_bordered/2 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:restore/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:raise/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:minimize/1 | Loïc Hoguin | |