aboutsummaryrefslogtreecommitdiff
path: root/src/gl.c
AgeCommit message (Expand)Author
2024-08-19Add mgl_texture_init_reference_existing_gl_texture to easily create a texture...dec05eba
2024-08-10Make libglx optional (alpine doesn't have it)dec05eba
2024-08-07load eglGetProcAddressdec05eba
2024-08-04egl: fix transparent windowdec05eba
2024-08-04Add option to choose render api (glx or egl) in window creationdec05eba
2024-07-31Add mipmap optiondec05eba
2024-07-24add vec3 and vec4 and shader uniform functions for thosedec05eba
2024-05-09Fix build after gcc update (function pointer cast)dec05eba
2023-08-25Add monitor events, limit fps to monitor the window is in, reduce latency (gl...dec05eba
2022-10-02Do not use __GL_THREADED_OPTIMIZATIONS as mgl might be used in an application...dec05eba
2022-09-28Dont use const, wtfdec05eba
2022-09-27Properly detect failed dlsym for gl.cdec05eba
2022-09-23Make window rgba and set background transparent to allow window clear to work...dec05eba
2022-04-07Force disable threaded gl optimization to reduce cpu usage (thread optimizati...dec05eba
2021-12-02Window: add scissordec05eba
2021-11-16Texture: only do one glTexSubImage2D in mgl_texture_update instead of |height...dec05eba
2021-11-16Sprite: add rotation and origindec05eba
2021-11-15Add dynamic font atlas creation (not finished)dec05eba
2021-11-06Fix exit being called when closing window, respond to wm ping, add is_open fu...dec05eba
2021-11-05Add bounds calculation to textdec05eba
2021-11-05Fix font being corrupt with certain sizes, fix image being corrupt if its rgb...dec05eba
2021-10-29Fix multiple vertex buffers using the same datadec05eba
2021-10-22Add shaderdec05eba
2021-10-21Add vertex bufferdec05eba
2021-10-19Use uint8_t for color instead of floatdec05eba
2021-10-16Add rectangle and sprite, use pixel coordinates, remote opengl dependency fro...dec05eba
2021-10-10Add texture loading (and render in test)dec05eba
2021-10-10Enable alpha blendingdec05eba
2021-10-10Draw every frame instead of x11 expose, enable vsync (if available)dec05eba
2021-10-10add event and test graphicsdec05eba