aboutsummaryrefslogtreecommitdiff
path: root/src/graphics
AgeCommit message (Expand)Author
2024-08-19Add mgl_texture_init_reference_existing_gl_texture to easily create a texture...dec05eba
2024-08-11fix incorrect sprite_set_height, add sprite_set_widthdec05eba
2024-08-09text always set dirty when setting string or fontdec05eba
2024-08-03text get bounds return character size if string is emptydec05eba
2024-08-02Ensure correct blending function for transparent windowdec05eba
2024-07-31Add mipmap optiondec05eba
2024-07-25Add sprite set size/height functions, option to hide window decorations in cr...dec05eba
2024-07-25Use const pointerdec05eba
2024-07-24add vec3 and vec4 and shader uniform functions for thosedec05eba
2023-06-27Update stb imagedec05eba
2023-01-21fix: set prev codepoint in text renderdec05eba
2023-01-07Use const for argdec05eba
2022-09-23Make window rgba and set background transparent to allow window clear to work...dec05eba
2022-08-21Attempt to fix vertex draw when using texcoords without a texture (such as wh...dec05eba
2022-03-30Proper y offset for text, add option to create hidden window and add function...dec05eba
2022-02-15Revert text offset y fix because it breaks quickmedia. Revert vertex draw tex...dec05eba
2022-02-15Render missing glyphs as a crossed out boxdec05eba
2021-12-21Remove commentdec05eba
2021-12-08Optimize hash map % to &dec05eba
2021-12-08Vertex translation, fix vertex texture usedec05eba
2021-11-27Add max glyph height propertydec05eba
2021-11-27Use correct offset y for font position (ascent)dec05eba
2021-11-25Fix possible corrupt font atlasdec05eba
2021-11-24Fix glyphs overlapping, but adds unnecessary paddingdec05eba
2021-11-21Fix bug where window resize event is updated every framedec05eba
2021-11-19Slightly improve font rendering qualitydec05eba
2021-11-18Move glyph creation for text to render function instead of in set string, cle...dec05eba
2021-11-17Readd kerningdec05eba
2021-11-17Image: fix bug where images are forced to be in RGBA formatdec05eba
2021-11-17Increase glyph paddingdec05eba
2021-11-17Attempt to fix font glyph texture overlap by aligning texture size todec05eba
2021-11-16Make unpack alignment byte-sized globallydec05eba
2021-11-16Texture: only do one glTexSubImage2D in mgl_texture_update instead of |height...dec05eba
2021-11-16Sprite: add rotation and origindec05eba
2021-11-16Text: add function to get character position by index, use same character loo...dec05eba
2021-11-15Add dynamic font atlas creation (not finished)dec05eba
2021-11-08Do not check for valid utf8 in set text, render the invalid utf8 instead. Mma...dec05eba
2021-11-08Add window function to get key state, allow invalid utf8dec05eba
2021-11-07Use char array for text entered str, reset text fields on deinitdec05eba
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-11-03Fix crash when not using text options with textdec05eba
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) ins...dec05eba
2021-10-29Fix multiple vertex buffers using the same datadec05eba
2021-10-28Use a separate glx context for every windowdec05eba
2021-10-28Move vertex buffer generation from init to first update, making init voiddec05eba
2021-10-26Add clockdec05eba