aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-17mdec05eba
2023-01-17Add option to set window background colordec05eba
This window background color is different than window.clear(color) because this window color is the background color if the window itself, which means if there is a delay between creating the window and the first frame display then the window background color is black, but if window color is set then that color will be displayed instead. Normally you want to set the window background color to the same color as the color you use in window.clear(color).
2023-01-14Eliminate resize flicker by setting window gravity to NorthWestdec05eba
2023-01-14Set clear color before clear, fixes black background on first framedec05eba
2023-01-14Improve resize performance by setting back pixel instead of back pixmapdec05eba
2023-01-07Window: add functions to set fullscreen state, vsync statedec05eba
2022-12-18Revert clipboard lazydec05eba
2022-12-18Do lazy get clipboard version, get as much data as possible at once. This ↵dec05eba
seems to be the only reliable method and other programs do this
2022-12-18Fix issue where images cant be pasted from clipboard if mgl is the first ↵dec05eba
application that uses image/--- atoms
2022-12-18Attempt to do clipboard get property for large data (incr). Should fix ↵dec05eba
clipboard image pasting on wayland
2022-12-11Fix pasting text from mgl to other applicationsdec05eba
2022-12-02Sprite: add get_size, which returns the texture size and takes into account ↵dec05eba
scaling
2022-11-06Set event type unknown on invalid eventdec05eba
2022-11-05Only allow text in mgl_window_get_clipboard_stringdec05eba
2022-11-03Sprite: set_sizedec05eba
2022-10-11Add support alpha optiondec05eba
2022-10-11Add option to support alpha for window or not. This is important for nvidia flipdec05eba
2022-10-07xinitthreadsdec05eba
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-28Dont use free'd fbconfigsdec05eba
2022-09-27Properly detect failed dlsym for gl.cdec05eba
2022-09-23mdec05eba
2022-09-23Make window rgba and set background transparent to allow window clear to ↵dec05eba
work with transparency
2022-09-12Fix key/button state when window loses focus (check state on call to ↵dec05eba
is_**_pressed)
2022-09-10Fix clipboard images for gnome screenshotdec05eba
2022-09-10Fix incorrect clipboard callback datadec05eba
2022-09-09Support png,jpg and gif clipboard. Use callback for clipboarddec05eba
2022-09-06Set NET_WM_PIDdec05eba
2022-09-04Only deinit window if it has been createddec05eba
2022-08-25Update depdec05eba
2022-04-07Force disable threaded gl optimization to reduce cpu usage (thread ↵dec05eba
optimization doesn't improve performance here so its useless)
2022-03-31Add override redirect option to window createdec05eba
2022-03-30Add move assignment to texture, fix move constructor not setting owner fielddec05eba
2022-03-30Proper y offset for text, add option to create hidden window and add ↵dec05eba
function to make it visible (map, unmap), fix incorrect copy/move text
2022-03-11Set ic focus on focus, remove urgency hint on focusdec05eba
2022-03-09Fix compile on clangdec05eba
2022-02-28Update submodule urlsdec05eba
2022-02-15Revert text offset y fix because it breaks quickmedia. Revert vertex draw ↵dec05eba
texture coordinate reset because it breaks quickmedia
2022-02-15Update to latest mgl version, fix after updatedec05eba
2021-11-27Use correct offset for font y positiondec05eba
2021-11-26Allow reloading images, textures and memory mapped filesdec05eba
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-19Better document window_set_framerate_limitdec05eba
2021-11-19Slightly improve font rendering qualitydec05eba
2021-11-18Move glyph creation for text to render function instead of in set string, ↵dec05eba
clear font glyph background before rendering the text
2021-11-18Disable copy constructors for opengl resource itemsdec05eba
2021-11-18Fix corrupt VertexBuffer by disabling vertex buffer copyingdec05eba