Commit Graph

171 Commits

Author SHA1 Message Date
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
05ce4f32a1 remove scratch.h 2025-07-03 12:29:09 -05:00
6841ff9784 remove thread local storage 2025-07-03 12:20:17 -05:00
fe40690871 fibers test wip 2025-07-02 14:56:49 -05:00
b017a9a477 rename atomic eval -> fetch 2025-07-02 13:26:34 -05:00
f26339ffc3 fiber testing 2025-07-02 13:12:31 -05:00
d7f0cb2d5e move tracy src file compilation from build system to src file 2025-07-01 17:08:32 -05:00
d38046a007 formatting 2025-07-01 16:17:15 -05:00
1a19a9e693 atomic lock for jobs 2025-07-01 02:37:46 -05:00
892daa5ed2 call resource callbacks in job 2025-07-01 01:03:06 -05:00
fea0346982 pinned jobs 2025-06-30 20:00:11 -05:00
749cc0f625 replace job system w/ with one that makes data parallelism easier 2025-06-30 15:39:48 -05:00
e503fc9bdf d3d12 profiling 2025-06-25 16:17:14 -05:00
a0f659959d shape drawing 2025-06-25 13:10:59 -05:00
5a9d9debba shape shader start 2025-06-25 00:11:05 -05:00
5bdaba67e7 add grid to material shader 2025-06-24 17:25:29 -05:00
d51c694795 sprite prefetch 2025-06-18 14:21:35 -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
cfd8fb5f21 store arena in its own committed memory 2025-06-17 22:21:58 -05:00
05668865a7 rename temp_arena -> arena_temp 2025-06-07 21:20:35 -05:00
f1ac650471 create separate dx12 direct & compute queues 2025-06-06 21:26:06 -05:00
e7bdb1c24f wait on swapchain to reduce vsync latency 2025-06-02 19:32:54 -05:00
88a1ad1450 dx11_unbind. test shader. 2025-06-02 15:21:16 -05:00
d48706d1f7 simple in-game debug console 2025-05-24 13:49:22 -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
84b0caf379 sys_thread_try_release 2025-05-16 11:10:37 -05:00
57174796b9 arena push zero by default 2025-05-15 08:42:12 -05:00
5e81b78ac1 re-add sim pausing & stepping 2025-05-15 05:27: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
d8f1d646da fix resource watch list merging & deduplication 2025-05-13 06:49:33 -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
abac85d324 shader hot reloading 2025-05-07 16:57:36 -05:00
fc3c67b445 tiles in progress 2025-04-24 13:21:36 -05:00
f821ce6490 fix mouse4 & mouse5 sys btn 2025-03-01 13:36:30 -06:00
b909a392f1 fix some warnings 2025-03-01 11:46:29 -06:00
48999f5ab4 remove embedded noise data, mix bits for determinism instead 2025-02-27 08:18:14 -06:00
b049a56a28 faster app shutdown 2025-02-19 08:51:20 -06:00
9bccd4eae3 add sampled profiling build option 2025-02-14 12:23:49 -06:00
be5d10e2b0 replace byteio with bitbuff 2025-02-13 17:15:23 -06:00
dcbabbdfd1 fix precise sleep inaccurate because scheduler period not set 2025-02-10 16:37:32 -06:00
16e8bb0dca command line arg passthrough 2025-02-08 12:40:59 -06:00
d13a7c70e7 host progress 2025-02-07 10:56:37 -06:00
062285b1b3 socket progress 2025-01-31 10:26:07 -06:00
d7f1ac06cb remove buffer struct, use string struct instead 2025-01-30 15:12:26 -06:00
aaaa7deb81 rename timer frequency -> qpc per second 2025-01-30 08:50:39 -06:00
489fc8eca3 store sys timer start in qpc 2025-01-30 08:49:08 -06:00
f0a25248c3 remove sys_timestamp, refactor into generalized i64 holding nanoseconds 2025-01-29 11:29:31 -06:00
a20e8eced5 store win32 timer start & frequency in terms of nanoseconds 2025-01-29 10:56:40 -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
9d745e3475 set minimum window size 2025-01-21 08:32:05 -06:00
ceb1ac2059 remove gen from sys thread 2025-01-20 09:43:04 -06:00
e6cea55854 slight renderer refactor. grid shader. 2025-01-16 18:04:21 -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
dbdd653ae8 fix epa collision not detecting when diagonals touch 2024-09-19 17:37:24 -05:00
5593db5202 replace { 0 } initializers with new ZI macro. enable 'Wmissing-field-initializers' 2024-09-19 12:15:55 -05:00
eed68f04cd accumulate impulses 2024-09-19 12:11:00 -05:00
657d8206fc fix alt key handling in win32 message loop 2024-08-30 19:50:18 -05:00
192d5db2a5 arena_set_readwrite 2024-08-12 15:04:27 -05:00
094b64078b add (UNUSED) after lock assertions 2024-08-09 15:02:13 -05:00
bac9d797b9 fix entity gen comparison 2024-08-06 16:05:29 -05:00
91ea995209 cleanup double semicolons 2024-07-22 13:04:44 -05:00
5eb515ab90 rename suffix assume_locked -> ...locked 2024-06-25 19:58:48 -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
1d43fee5a1 fix cv using wrong handle 2024-05-29 17:16:43 -05:00
ebc73abfb7 more buildit accommodations 2024-05-22 18:45:51 -05:00
27d6acadc7 minor tweaks 2024-05-16 23:50:17 -05:00
00629aa988 merge texture & sheet into 'sprite' 2024-05-01 15:50:50 -05:00
cf3d678699 texture cache w/ eviction & reloading 2024-05-01 00:22:06 -05:00
f414cd874b sheet eviction when over memory budget 2024-04-30 14:04:18 -05:00
9733b1369e parallel sheet eviction scanning 2024-04-29 19:50:21 -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
f72c05297b wait for panic event to be ready before aborting 2024-04-15 21:08:12 -05:00
3f1d714e7b sleep thread after panicking 2024-04-15 20:59:42 -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
d646d3434c rename ase & sheet 'tag' -> 'span'. begin sheet testing. 2024-04-15 14:25:10 -05:00
f399c093ca rename utf.h -> uni.h 2024-04-12 12:03:39 -05:00
2d593fee03 rename global 'L' vars to 'G' 2024-04-11 12:50:28 -05:00
02b31ab441 rename DEBUG_LVAR -> DEBUG_ALIAS 2024-04-11 12:42:44 -05:00
db9550a356 font testing 2024-04-10 17:22:50 -05:00
d11d2d8309 rename tls -> thread_local 2024-04-07 00:10:29 -05:00
773a221b44 more unified tls model. testing json parsing & unicode display. 2024-04-05 18:02:17 -05:00
d29b0569ee define UNICODE when including windows 2024-04-04 17:57:26 -05:00
8035e3d4bd fix - use W versions of GetMessage & DispatchMessage 2024-04-04 17:10:42 -05:00
e4ecc217e3 process unicode input in win32 2024-04-04 14:51:32 -05:00
354c372e26 indent labels 2024-04-03 23:20:31 -05:00
7eb63bc80f only call CreateFileMapping if size > 0 2024-04-03 22:59:18 -05:00
9a8b712f98 unicode support in win32 layer 2024-04-03 19:34:52 -05:00
59239ce13f cleanup - move linker lib imports to source code 2024-04-03 02:33:29 -05:00
c3d395a44e give app its own thread 2024-04-03 01:48:32 -05:00