Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-02 | Move nif_helpers into their own project | Loïc Hoguin | |
2017-04-19 | Improve C++ compatibility | Loïc Hoguin | |
Changes imported from a customer project. | |||
2017-04-19 | Fix warnings in preparation for splitting nif_helpers out | Loïc Hoguin | |
2015-10-20 | Don't crash on code reloading | Loïc Hoguin | |
2015-10-20 | We are in 2015 | Loïc Hoguin | |
2015-10-17 | Fix various warnings from recent GCC | 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-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-03 | Add sdl_window:set_fullscreen/2 | 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 | |