diff options
| author | Vasco <[email protected]> | 2026-08-24 17:47:30 +0100 |
|---|---|---|
| committer | Vasco <[email protected]> | 2026-08-24 17:50:52 +0100 |
| commit | cc3429220b19df8c5ca6abf28a02cd38d08de32d (patch) | |
| tree | dd6fe3911535cc75570e5fe34ff84c758028aa81 /demos | |
| parent | ad5248a3e1bafc1b7dec4c8af82d56ed324ef314 (diff) | |
Cool 0.0.0. Rend 1.0.4.
Diffstat (limited to 'demos')
| -rw-r--r-- | demos/compute/rend_compute.c (renamed from demos/rend_compute.c) | 15 | ||||
| -rw-r--r-- | demos/compute/rend_compute.slang (renamed from demos/rend_compute.slang) | 0 | ||||
| -rwxr-xr-x | demos/compute/rend_compute_demo | bin | 446416 -> 434248 bytes | |||
| -rwxr-xr-x | demos/compute/rend_compute_fast | bin | 474256 -> 0 bytes | |||
| -rwxr-xr-x | demos/multiplatform/demo (renamed from demos/demo) | bin | 60352 -> 60392 bytes | |||
| -rw-r--r-- | demos/multiplatform/demo.c (renamed from demos/demo.c) | 2 | ||||
| -rw-r--r-- | demos/multiplatform/demo.html (renamed from demos/demo.html) | 0 | ||||
| -rw-r--r-- | demos/multiplatform/demo.js (renamed from demos/demo.js) | 0 | ||||
| -rwxr-xr-x | demos/multiplatform/demo.wasm (renamed from demos/demo.wasm) | bin | 31763 -> 31779 bytes | |||
| -rwxr-xr-x | demos/multiplatform/demo_run (renamed from demos/demo_run) | bin | 60592 -> 60640 bytes | |||
| -rw-r--r-- | demos/multiplatform/demo_run.c (renamed from demos/demo_run.c) | 2 | ||||
| -rwxr-xr-x | demos/teapot/rend_teapot | bin | 849944 -> 845880 bytes | |||
| -rw-r--r-- | demos/teapot/rend_teapot.c (renamed from demos/rend_teapot.c) | 0 | ||||
| -rw-r--r-- | demos/teapot/teapot.h (renamed from demos/teapot.h) | 0 |
14 files changed, 7 insertions, 12 deletions
diff --git a/demos/rend_compute.c b/demos/compute/rend_compute.c index f82836a..37ee207 100644 --- a/demos/rend_compute.c +++ b/demos/compute/rend_compute.c @@ -1,15 +1,12 @@ +#define PEAK_IMPLEMENTATION +#include "../Rend/rend.h" +#include "../Rend/rend.c" +#include <stddef.h> #include <string.h> -#ifdef DEBUG_MEMORY #define malloc(size) peak_debug_malloc_impl((size), __FILE__, __LINE__, __func__) #define realloc(ptr, size) peak_debug_realloc_impl((ptr), (size), __FILE__, __LINE__, __func__) #define free(ptr) peak_debug_free_impl((ptr), __FILE__, __LINE__, __func__) -#endif - -#define PEAK_IMPLEMENTATION -#include "../Rend/rend.h" -#include "../Rend/rend.c" -#include <stddef.h> float delta = 0; PeakWindow win; @@ -219,13 +216,11 @@ int main() { rend_buffer_destroy(&dst_buf); rend_renderer_destroy(renderer); - rend_quit(); + // rend_quit(); peak_window_close(&win); peak_quit(); -#if DEBUG_MEMORY peak_debug_memory_report(); -#endif return 0; } diff --git a/demos/rend_compute.slang b/demos/compute/rend_compute.slang index 5fb124b..5fb124b 100644 --- a/demos/rend_compute.slang +++ b/demos/compute/rend_compute.slang diff --git a/demos/compute/rend_compute_demo b/demos/compute/rend_compute_demo Binary files differindex 1aecc00..46734c6 100755 --- a/demos/compute/rend_compute_demo +++ b/demos/compute/rend_compute_demo diff --git a/demos/compute/rend_compute_fast b/demos/compute/rend_compute_fast Binary files differdeleted file mode 100755 index d9583f6..0000000 --- a/demos/compute/rend_compute_fast +++ /dev/null diff --git a/demos/demo b/demos/multiplatform/demo Binary files differindex 9f9b6ee..5086695 100755 --- a/demos/demo +++ b/demos/multiplatform/demo diff --git a/demos/demo.c b/demos/multiplatform/demo.c index c095fdb..4e8295f 100644 --- a/demos/demo.c +++ b/demos/multiplatform/demo.c @@ -1,7 +1,7 @@ #include <stdio.h> #define PEAK_IMPLEMENTATION -#include "../Peak/peak.h" +#include "../../Peak/peak.h" void print_window_resize(PeakEvent ev) { printf("window: %u %u\n", ev.resize.width, ev.resize.height); diff --git a/demos/demo.html b/demos/multiplatform/demo.html index a10e85e..a10e85e 100644 --- a/demos/demo.html +++ b/demos/multiplatform/demo.html diff --git a/demos/demo.js b/demos/multiplatform/demo.js index 1de6b03..1de6b03 100644 --- a/demos/demo.js +++ b/demos/multiplatform/demo.js diff --git a/demos/demo.wasm b/demos/multiplatform/demo.wasm Binary files differindex 6dbbbd6..4da868a 100755 --- a/demos/demo.wasm +++ b/demos/multiplatform/demo.wasm diff --git a/demos/demo_run b/demos/multiplatform/demo_run Binary files differindex 45a51e9..f9b8721 100755 --- a/demos/demo_run +++ b/demos/multiplatform/demo_run diff --git a/demos/demo_run.c b/demos/multiplatform/demo_run.c index db3e56a..2b7d681 100644 --- a/demos/demo_run.c +++ b/demos/multiplatform/demo_run.c @@ -1,7 +1,7 @@ #include <stdio.h> #define PEAK_IMPLEMENTATION -#include "../Peak/peak.h" +#include "../../Peak/peak.h" void print_window_resize(PeakEvent ev) { diff --git a/demos/teapot/rend_teapot b/demos/teapot/rend_teapot Binary files differindex c1d3a30..f9a4bb9 100755 --- a/demos/teapot/rend_teapot +++ b/demos/teapot/rend_teapot diff --git a/demos/rend_teapot.c b/demos/teapot/rend_teapot.c index b4430e9..b4430e9 100644 --- a/demos/rend_teapot.c +++ b/demos/teapot/rend_teapot.c diff --git a/demos/teapot.h b/demos/teapot/teapot.h index dfde9be..dfde9be 100644 --- a/demos/teapot.h +++ b/demos/teapot/teapot.h |
