aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/gl.h
AgeCommit message (Collapse)Author
2023-08-25Add monitor events, limit fps to monitor the window is in, reduce latency ↵dec05eba
(glFinish, fps limit)
2022-09-23Make window rgba and set background transparent to allow window clear to ↵dec05eba
work with transparency
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-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 font renderingdec05eba
2021-10-16Add rectangle and sprite, use pixel coordinates, remote opengl dependency ↵dec05eba
from test
2021-10-12compressed texturedec05eba
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