From a0474138aed0ffecc24ae7b0d05c23c9226ef627 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Mon, 10 Feb 2025 23:26:40 +0100 Subject: Graphics cache (work in progress) --- reduced_system_layer.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'reduced_system_layer.c') diff --git a/reduced_system_layer.c b/reduced_system_layer.c index 461155e..ad5e990 100755 --- a/reduced_system_layer.c +++ b/reduced_system_layer.c @@ -51,8 +51,7 @@ #/ + [x] Graphics requests #/ + [x] Memory buffer allocator #/ + [x] Blake2 hash -#/ + [ ] Requests cache -#/ + [ ] Incremental rendering +#/ + [x] Requests cache #/ - Examples #/ - Conway's Game of Life #/ - Julia Set @@ -68,8 +67,8 @@ #/ - Improve microbenchmarks library #/ - System #/ - Window -#/ - Wayland #/ - Windows graphics +#/ - Wayland #/ - Sound #/ - Windows audio #/ - Recording @@ -3745,6 +3744,10 @@ i64 network_send(u16 slot, IP_Address address, i64 size, u8 *data, u16 *local_po i64 current_utc_time_in_milliseconds(void); +void yield_thread_execution(void) { + // Do nothing +} + void suspend_thread_for_milliseconds(i64 duration) { if (duration <= 0) return; @@ -4087,7 +4090,5 @@ i32 main(i32 argc, c8 **argv) { // ================================================================ -#undef LOG_ERROR - #endif // REDUCED_SYSTEM_LAYER_IMPL_GUARD_ #endif // REDUCED_SYSTEM_LAYER_HEADER -- cgit v1.2.3