aboutsummaryrefslogtreecommitdiff
path: root/src/gl.c
AgeCommit message (Collapse)Author
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 ↵dec05eba
(glFinish, fps limit)
2022-10-02Do not use __GL_THREADED_OPTIMIZATIONS as mgl might be used in an ↵dec05eba
application with 3d graphics
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 ↵dec05eba
work with transparency
2022-04-07Force disable threaded gl optimization to reduce cpu usage (thread ↵dec05eba
optimization doesn't improve performance here so its useless)
2021-12-02Window: add scissordec05eba
2021-11-16Texture: only do one glTexSubImage2D in mgl_texture_update instead of ↵dec05eba
|height| number of times
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 ↵dec05eba
function to window
2021-11-05Add bounds calculation to textdec05eba
2021-11-05Fix font being corrupt with certain sizes, fix image being corrupt if its ↵dec05eba
rgb, fix window resize incorrect size
2021-10-29Fix multiple vertex buffers using the same datadec05eba
Need to call glVertexPointer/glTexCoordPointer/glColorPointer every time we render.
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 ↵dec05eba
from test
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