Commit Graph

22 Commits (ab58c63a50edb9e64708d6eae6c3a9410a323274)

Author SHA1 Message Date
noah metz ab58c63a50 Moved font and texture storage variables to UIContext 2024-10-21 14:15:47 -06:00
noah metz 1702f8ff85 Moved containers into UIContextStorage 2024-10-21 14:05:27 -06:00
noah metz 688fccf251 Changed draw to use containers instead of layers, added draw/string/code storage to layer on host side 2024-10-21 13:52:40 -06:00
noah metz 130c6538b2 Added host mirrors of UI data for logic 2024-10-21 13:39:12 -06:00
noah metz 6d60a3394f API cleanup 2024-10-21 13:31:42 -06:00
noah metz 6fa251773a only create layer buffers if count is nonzero 2024-10-21 13:11:59 -06:00
noah metz 1dbd924b8c Pass RenderContext pointer in exposed API functions 2024-10-21 12:52:45 -06:00
noah metz d4790a8d53 Added address sanitizer, and stored font/texture names 2024-10-21 12:30:19 -06:00
noah metz 7b23625859 Moved index to a return of load_* instead of a parameter 2024-10-21 10:27:24 -06:00
noah metz e851d64af6 Added bindless textures 2024-10-21 10:09:52 -06:00
noah metz 35f0ffb46c Fixed UI scale 2024-10-21 09:20:50 -06:00
noah metz 285a937e1b Improvements to rendering 2024-10-20 22:39:12 -06:00
noah metz 8c793d36c3 Moved glsl structures to common file, added convenience functions for UI elements 2024-10-20 21:59:28 -06:00
noah metz eca8f30175 Got text and rects rendering from same pipeline 2024-10-18 22:53:06 -06:00
noah metz 7720d696bc Got text rendering bindless 2024-10-18 18:34:31 -06:00
noah metz dc7f8ed750 Added second layer 2024-10-18 16:31:28 -06:00
noah metz 5e1720dc71 Got GPU rendering of rects working 2024-10-18 16:15:00 -06:00
noah metz 6129e9c5b9 Starting rework for GPU driven UI rendering 2024-10-18 14:26:41 -06:00
noah metz d04f7769ee Renamed FontDescriptor to Font 2024-10-18 10:16:04 -06:00
noah metz 22d3b62b12 Fixed struct alignment to align vec3s to 16 bytes 2024-10-18 10:02:39 -06:00
noah metz b67a2a924c Fixed shader buffer alignments 2024-10-17 17:31:13 -06:00
noah metz 04e15db065 Renamed pipeline->ui, moved square vertices to shaders 2024-10-17 15:56:35 -06:00