ff91e41da9
convert all region/endregion directives to the comment signature used with editor plugins
2025-06-30 09:26:17 -04:00
cf7151a1ce
misc changes
...
not worth comment ing on...
2025-06-28 20:56:49 -04:00
e23935db5b
More cleanup, preparing VEFontCache for public repo
2025-01-10 09:32:19 -05:00
b5fdc02b7d
Updates to client api settings and memory suage of sokol_gp
2025-01-09 23:37:15 -05:00
b4abde1094
Misc: VFontCache perf and features, exposing config on prototype side...
2025-01-09 13:23:35 -05:00
18d8735c54
Preparing to attempt to offload various metric calculations for a shape's glyphs to the shape itself from the draw list generator
2025-01-07 22:24:23 -05:00
3a245a1e9b
WIP (Broken) docs and huge changes
2025-01-07 03:06:12 -05:00
0350a0c282
Remove rune tracking for string cache, + vecache changes
...
Getting ready to de-hardcode vefontcache shaders
2025-01-06 14:12:55 -05:00
840e6053ff
WIP - VEFontCache: Working on getting font size usage and super-sampling via scaling working on library side...
2025-01-06 11:00:55 -05:00
878c419a1f
Oversized streamlined
2025-01-04 20:09:59 -05:00
cb6053395c
WIP - VEFontCache: Major changes
...
* Add back proper batching (busted the rendering for it though..)
* Some reogonzation of definitions and procedure args
* CURRENTLY BROKEN: Something went wrong with the calculations for text positioning..
2025-01-03 23:06:31 -05:00
c7d465d06e
Another bugfix for hashmap_chained
2024-12-31 11:26:21 -05:00
ddca5e8668
Finished initial window implementation
2024-12-31 00:17:05 -05:00
2a89778c0f
May have figured out auto-layout for ordering children (horizontally or vertically)
...
I'm going to leave the manual compute_layout options for now but their going to be disabled by default.
2024-12-30 23:05:15 -05:00
d61bd8f161
more misc changes
...
It seems applying ceil to cache_glyph_to_atlas.dst_glyph_size does generally improve text clarity...
2024-12-30 19:55:16 -05:00
2f2253f12c
misc changes
...
* Decided to not have a state scope (going to be more ganular)
* Fixes to settings_menu (prepping to convert to window after log scope is done)
2024-12-30 19:39:41 -05:00
495e14194e
Began to setup a UI_Window (generalized window widget)
2024-12-30 15:01:37 -05:00
841260849e
more reduction of direct mutuable state referencing
2024-12-30 13:26:14 -05:00
7ed0010761
move app/ui_theme to ui/widget_theme
2024-12-30 12:50:21 -05:00
4b3665ad98
Made logger and state scope files (going to be metric & logging viewer ui for the app.
2024-12-30 12:23:33 -05:00
8905105d40
Moved settings menu to its own file, got min_size based on content working (only for the settings menu)
2024-12-30 12:22:58 -05:00
7eab6f9a7f
WIP: attempt to improve text rendering
2024-12-29 10:20:06 -05:00
292d1b58b5
finishex exposing cam zoom settings to the wiget menu and the font size canvas scalaar
2024-11-30 04:51:03 -05:00
dd2f6e9c71
Finished cam_zoom_mode settings entry, reduced anchor and alignment contraints for ui_layout_children_<> procs
2024-11-30 02:34:11 -05:00
7f8a068268
titles for the zoom mode setting menu btns aren't behaving correctly...
2024-11-30 01:04:32 -05:00
eba9ec8a30
changed engine_refresh_hz setting to use the InputBox widget
2024-11-29 23:25:24 -05:00
533da2cdfb
made intial impl for UI_TextInputBox, used it with min and max cam zoom settings ui
2024-11-29 23:17:27 -05:00
f6ba5b2638
minor cleanup before generalization
2024-11-29 20:29:26 -05:00
898c389bb0
prototype cursor done
2024-11-29 20:11:08 -05:00
c62bf2cf07
refinements to input box prototype
...
Added constraints, visual feedback blink when bad input, enter can confirm setting
Adding proto-text cursor next
2024-11-29 17:46:22 -05:00
0655ade456
Support for rounded rectangles & borders (not the best implementation...)
2024-06-30 13:37:24 -04:00
2698670890
Finally reached parity pre-rendering overhaul
2024-06-29 23:49:12 -04:00
597c88c6b7
Misc + made a more controlled digital zoom
...
Trying to get digital zoom to closer target levels that would match specific even font sizes
Various other changes from iterating on VEFontCache
2024-06-29 22:36:22 -04:00
9d0cc125a9
Misc changes
...
* Made refactor rende procedures to specify dependencies instead of directly grabbing from state singleton
2024-06-26 06:03:00 -04:00
1533a14a1b
misc changes
...
* draw_text_string_pos_extent_zoomed can now oversample text futher (if desired)
* render_ui_via_box_tree has a rudimentary render pass layering optimization
Add support for the slab allocator to accept arbitrary alignments (odin's map container needs it)
Messing around with 64-byte alignment as the default for the allocator...
2024-06-25 19:13:41 -04:00
6f722026ce
Text rendering is now around parity (if not better) than what was done before with raylib
...
Performance still sucks since the rendering implementation is subpar
2024-06-24 23:19:08 -04:00
55b80da8e5
Fixed input event buffer issues
...
Queue doesn't properly act as a ring buffer had to roll my own.
I want to make a allocated ring buffer as well...
2024-06-23 13:59:04 -04:00
b698f5166b
Base input pass updated for sokol possibly done (untested)
...
Still need to figure out input event consumption, I don't want to do it with the event ring.
I would like to setup input binding layers and then have the push/pop input contextes with a set of bindings.
If the bindings are detected it should "consume" that binding from further use for the buffered time period.
This will be really important with how heavily model this app will be.I
2024-06-18 01:33:50 -04:00
425a642fd3
Started to setup input events based off sokol
...
Will replace the input polling done with raylib.
Going to also provide the more robust input tracking for consuming events with the UI interactions
2024-06-17 03:35:53 -04:00
65be3eae03
More bug fixing, All latin characters don't look corrupt anymore
...
HMapChained causes memory corruption in VEFontCache (not sure why yet), so I switched temporarily over to HMapZPL.
Fixed bug with parser_get_glyph_shape from me tracking vertices as u16s instead of i16s.
Currently a bug with the frametime example:
text_test_str := str_fmt("frametime: %0.2f", frametime_avg_ms)
It doesn't handle per-frame updates properly compared to C++ source
2024-06-15 14:53:26 -04:00
314582b225
Changes while attempting to debug
2024-06-13 18:25:11 -04:00
f415eada0d
Doing some heavy refactors on the container interfaces
...
Trying to set up their use to be more ideomatic to the core containers
2024-05-31 17:58:18 -04:00
936c0100ba
Got text rendering to work with sokol_gfx (learngl text rendering article #1 )
...
Need to todo the altas article next then the optimizing vod
2024-05-30 13:06:51 -04:00
797ab227e9
Gut raylib usage from the codebase.
...
Going to either fully commit to sokol or if it fails, rolling the platform layer myself.
2024-05-25 11:52:23 -04:00
13c3032dba
Initial setup of sokol_gfx to replace the raylib impl for rendering.
...
Next I need to setup sokol_gp
2024-05-24 16:31:22 -04:00
cf81d3f9bd
Renamed str_fmt_alloc to str_fmt, str_fmt to str_fmt_out, allocator convention enforcement in context
...
I'm enforcing aprintf it as the default formatter.
I changed up the context allocator assignment to reflect how I've been intending to allocation in startup & platform events vs tick.
Tick uses the frame slab's by default with transient on temp. Startup & platform events use the transient by default & for temp, with any use of the persistent allocator being explicit.
2024-05-22 17:13:56 -04:00
368abefccf
Restored some of the window awareness previously avail in raylib for the new sokol layer.
...
Switched frametime_delta32 to frametime_avg_ms.
I'll problably rename it and keept delta32 for actual delta. Reading over the sokol_app code I noticed it uses the avg frametime and definitely want to do that for spike alleviation...
2024-05-22 15:39:19 -04:00
8130faa6ad
got the sokol_app library starting up and ticking!
...
Now I just need to get the events and rendering and fonts and... all hooked up
2024-05-22 03:44:14 -04:00
9cd0692e56
Got it to compile with sokol changes (UNTESTED)
2024-05-22 03:28:22 -04:00
405716e52b
Mostly reviewing progress so far
...
Prepping in the background for swapping raylib with sokol.
2024-05-21 23:35:36 -04:00