Commit graph

42 commits

Author SHA1 Message Date
02f5c714bc fix RGFW related warnings 2026-01-07 02:54:16 +01:00
dadd2edaf1 basic rendering for both opengl and vulkan 2026-01-07 02:43:00 +01:00
4b18afa040 Merge branch 'master' of git.sr.ht:~lolzdev/topaz 2025-11-12 15:16:37 +01:00
b6a7b2192c Vulkan fixes on Linux 2025-11-12 15:15:46 +01:00
2f8a8ed763 various fixes for arena allocator 2025-11-12 15:15:27 +01:00
099cad3a66 feat(audio): introduce miniaudio.h 2025-11-12 14:29:01 +02:00
0fc18b04d5 feat(core)!: move types.h to core/types.h and modify include paths
accordingly
2025-11-12 14:29:01 +02:00
c0afc54ca1 fixed Linux-Xorg-Vulkan platform 2025-11-10 11:06:40 +01:00
c88119e339 add lisence identifier for audio/audio.h
Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
2025-11-06 07:54:57 +01:00
eb572423da feat(audio): add audio module and audio/audio.h
Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
2025-11-06 07:54:43 +01:00
cce8ae674a added license comments 2025-11-05 22:08:55 +01:00
716d928613 default build type is now DEBUG 2025-11-05 22:05:12 +01:00
b6b0c5091b implemented Vulkan surface creation 2025-11-05 22:04:39 +01:00
fa2a4887df moved linear algebra code to core/ 2025-11-05 20:11:22 +01:00
34b6e19896 removed duplicates of gl and vk folders 2025-11-05 19:56:57 +01:00
1070d03815 feat(layout)!: move /gl and /vk into rendering directory
as I was adding the audio module I realized it looks really ugly that
the audio-related stuff will be in its own directory and the renderer
modules will be scattered in root directory it makes way more sense this
way

Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
2025-11-05 19:39:44 +01:00
5a4db88436 updated vk/renderer.c to follow new renderer.h 2025-11-05 07:11:10 +01:00
c30f2f8f56 feat(renderer): add renderer_present function
Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
2025-11-05 07:09:23 +01:00
a56ebaf19c feat(debug): add NULL check in arena and vector deinit functions in debug builds
Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
2025-11-05 07:09:20 +01:00
97d61eac5a fixed(.gitignore): compile-commands.json typo to compile_commands.json
Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
2025-11-05 07:09:14 +01:00
26dd2aacf5 add(.gitignore): added .cache to .gitignore
Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
2025-11-05 07:09:08 +01:00
fdac7b3502 fixed: .indent.pro now respects gindent parsing bug
when gindent parses -ldiN (eg -ldi3) I do not know what happens but it
just doesn't work so I removed that

Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
2025-11-05 07:08:50 +01:00
3f433627c1 fixed vectors 2025-11-04 20:58:49 +01:00
452deb6db1 fixed: .indent.pro now respects gindent parsing bug
when gindent parses -ldiN (eg -ldi3) I do not know what happens but it
just doesn't work so I removed that

Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
2025-11-04 15:11:12 +01:00
c2f66389f0 remove .BAK file after indenting 2025-11-04 08:21:26 +01:00
0ffdb8c3ac formatted license comment 2025-11-04 00:00:52 +01:00
db5a728846 fixed instance creation on linux 2025-11-03 23:55:59 +01:00
8fa90e10b1 added posix indent configuration and indent make target 2025-11-03 23:36:06 +01:00
a54825931b fixed config.mk from last patch 2025-11-03 20:51:53 +01:00
b9a8fb3722 feat(build)!: add conditions checking for X11 vs Wayland on linux in config.mk and added a DEBUG_BUILD make option which enables debug options instead of having them by default
Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
2025-11-03 20:50:26 +01:00
aebe71fec2 added: llvm tooling configuration to .gitignore
Signed-off-by: Lorenzo Torres <lorenzo@sagittarius-a.org>
2025-11-03 20:47:03 +01:00
6c31a3ce27 added vulkan device and queues creation 2025-11-03 13:08:46 +01:00
89edee7249 implemented vulkan instance creation 2025-11-02 22:06:45 +01:00
84ee267b5d added fatal() in log.h 2025-11-02 20:58:04 +01:00
302198eccc added github mirroring from sourcehut 2025-11-02 20:20:17 +01:00
0330027bff implemented vectors 2025-11-02 20:01:00 +01:00
1dd1049bba implemented arena allocator 2025-11-02 16:48:31 +01:00
1f594fbed7 removed flecs and setted up vulkan building 2025-11-02 14:49:06 +01:00
7be714b81f Added Flecs, license comments and created the project outline. 2025-11-01 17:32:01 +01:00
Lorenzo Torres
d716b6cea7
added license 2025-11-01 16:35:55 +01:00
e6bdc84343 refactoring 2025-11-01 16:32:49 +01:00
aa7b921523 first commit 2025-11-01 16:23:17 +01:00