adjust raddbg command queue to have two phases; first phase, r/w, core gets chance to push extra commands & consume them immediately same-frame; views get second phase, read-only, where they can consume all commands, but when they push new commands, those are distributed back at the top of the chain, where the core gets first chance

This commit is contained in:
Ryan Fleury committed 2024-09-15 09:47:37 -07:00
1 parent 7a1811fb71
commit 114ebfa27b
3 files changed
+113 -34

No files matched your search

+3 -2
View File
@@ -943,8 +943,9 @@ struct RD_State
F32 seconds_until_autosave;
// rjf: commands
Arena *cmds_arena;
RD_CmdList cmds;
Arena *cmds_arenas[2];
RD_CmdList cmds[2];
U64 cmds_gen;
// rjf: popup state
UI_Key popup_key;