Commit Graph

68 Commits

Author SHA1 Message Date
f1f54fe519 more sleep yield testing 2025-07-10 11:16:15 -05:00
1dd5bf90d0 yield sleep testing 2025-07-09 22:04:11 -05:00
166db8575b consolidate yielder & fiber_ctx into fiber struct 2025-07-09 13:39:02 -05:00
e720e7e2af worker sleeping 2025-07-06 22:47:08 -05:00
2b08223472 add SYS_PRIORITY_INHERIT 2025-07-06 18:06:25 -05:00
a397458c72 mutex spinning 2025-07-06 17:46:10 -05:00
69a8a7aa9a move synchronization primitives out of sys layer 2025-07-06 16:20:07 -05:00
60613815d7 wrap tracy fiber funcs in NO_INLINE 2025-07-06 13:15:16 -05:00
40dcdb40dc fiber wait wip 2025-07-05 22:40:39 -05:00
d47b951b82 wait / wake wip 2025-07-05 21:01:30 -05:00
402f8a12c9 waiter testing 2025-07-05 18:04:13 -05:00
5e99224b28 allocate counters in sys layer 2025-07-05 16:18:07 -05:00
ca5c1d6ee3 rename 'runner' -> 'worker' 2025-07-05 15:43:18 -05:00
55187aed97 remove old job system 2025-07-05 14:44:00 -05:00
514c2a6496 fibers wip 2025-07-03 19:53:59 -05:00
ca94dbec3e launch profiler capture program at start 2025-07-03 14:32:21 -05:00
fdf35c698d use compiler static assert when possible 2025-07-03 13:02:16 -05:00
6841ff9784 remove thread local storage 2025-07-03 12:20:17 -05:00
892daa5ed2 call resource callbacks in job 2025-07-01 01:03:06 -05:00
749cc0f625 replace job system w/ with one that makes data parallelism easier 2025-06-30 15:39:48 -05:00
b50ba7d4e2 move mutexes & cvs into opaque ptrs 2025-06-17 23:30:59 -05:00
04f4c3a180 convert sys thread & watch structs to opaque ptrs 2025-06-17 23:06:42 -05:00
2dc481bfc0 don't prefix resource names with res directory. check for resource existence after opening. 2025-05-23 23:35:43 -05:00
7c9a07ff94 gpu profiling. proper vsync disabling 2025-05-20 23:52:41 -05:00
84b0caf379 sys_thread_try_release 2025-05-16 11:10:37 -05:00
fafbfbfa6a sprite hot-reload without prematurely unloading (remove reload flicker) 2025-05-15 02:46:33 -05:00
d0be0d8908 simpler sprite evict sorting logic 2025-05-14 03:08:03 -05:00
c3d0869707 fix dangling resource watch monitor thread 2025-05-13 09:25:48 -05:00
79ce7a9d6e delay & deduplicate resource watch events 2025-05-13 05:33:59 -05:00
86a696a70a resource reloading via file change notifications 2025-05-13 00:41:44 -05:00
48999f5ab4 remove embedded noise data, mix bits for determinism instead 2025-02-27 08:18:14 -06:00
d7f1ac06cb remove buffer struct, use string struct instead 2025-01-30 15:12:26 -06:00
f0a25248c3 remove sys_timestamp, refactor into generalized i64 holding nanoseconds 2025-01-29 11:29:31 -06:00
4eef91dd63 convert sys_timestamp_t to struct 2025-01-29 10:22:00 -06:00
b9bc22a019 profile locks 2025-01-26 21:29:03 -06:00
ceb1ac2059 remove gen from sys thread 2025-01-20 09:43:04 -06:00
acced9dfed render to texture 2025-01-17 19:29:57 -06:00
ad7ca7d68c pre-generate rand.dat file for deterministic noise. calculate shake based on world time 2025-01-15 14:32:36 -06:00
85234c8dac add random direction to blood test 2025-01-13 09:50:01 -06:00
787bb9e0d1 mark published tick entity store read only 2024-08-12 15:18:51 -05:00
192d5db2a5 arena_set_readwrite 2024-08-12 15:04:27 -05:00
04db1226e2 refactor mutexes to use 'sys_lock' objects. make all mutexes rw mutexes. 2024-06-25 19:54:33 -05:00
3061d465d1 minor tweaks & fixes 2024-06-25 18:35:53 -05:00
3e9ac3e99c incorporate buildit dep hist 2024-05-24 16:02:08 -05:00
cf3d678699 texture cache w/ eviction & reloading 2024-05-01 00:22:06 -05:00
5a32c90813 sheet eviction & reload detection 2024-04-29 18:59:32 -05:00
925ef5a482 replace semaphore usage w/ condition variable 2024-04-24 20:03:07 -05:00
e3830fccae working sheet cache prototype 2024-04-24 18:19:19 -05:00
228bef5a68 more proper sys_panic 2024-04-15 19:31:22 -05:00
511364ee05 app exit / shutdown callbacks 2024-04-15 18:02:38 -05:00