aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-11-04Fix clock restart returning incorrect timedec05eba
2021-11-03Add mgl_window_get_view instead of giving prev view in set_viewdec05eba
2021-11-03Add viewportdec05eba
2021-11-03Fix crash when not using text options with textdec05eba
options.before_syntax_highlight is not set to NULL
2021-11-02Start on syntax highlighting, output correct key button eventdec05eba
2021-10-30Add option to make mgl_file_load result null terminateddec05eba
2021-10-29Use gl*Pointer and glDrawArrays to render vertices (in mgl_vertices_draw) ↵dec05eba
instead of loop with glBegin/glEnd
2021-10-29Fix multiple vertex buffers using the same datadec05eba
Need to call glVertexPointer/glTexCoordPointer/glColorPointer every time we render.
2021-10-28Use a separate glx context for every windowdec05eba
Fix vertex buffer causing crash on render if update is called with an empty list.
2021-10-28Move vertex buffer generation from init to first update, making init voiddec05eba
2021-10-26Add clockdec05eba
2021-10-24Add function to load image from memory, initialize window from an existing ↵dec05eba
window, allow creating text without font/string
2021-10-23Allow rendering vertices directlydec05eba
2021-10-22Use const where possible in function paramsdec05eba
2021-10-22Add shaderdec05eba
2021-10-21Add vertex bufferdec05eba
2021-10-19poll event change namedec05eba
2021-10-19Change from callback to window polldec05eba
2021-10-19Use uint8_t for color instead of floatdec05eba
2021-10-18Do not make an initial draw call in window creation functiondec05eba
2021-10-18Add set_position and set_color to rectangle,sprite and textdec05eba
2021-10-17Reset texture size on deinitdec05eba
2021-10-17Fix testdec05eba
2021-10-17Parent window = 0 = root windowdec05eba
2021-10-16Create font atlas with optimal sizedec05eba
2021-10-16Move test image to test directorydec05eba
2021-10-16Update readmedec05eba
2021-10-16Add font renderingdec05eba
2021-10-16Cursor motiondec05eba
2021-10-16Fix resize event sometimes not triggered (set window gravity)dec05eba
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
2021-10-10Initial commit, skeletondec05eba