1
0
Fork
You've already forked axiom
0

Vulkan #1

Merged
Arnau478 merged 15 commits from vulkan into master 2025年09月21日 01:07:11 +02:00
Arnau478 commented 2025年09月06日 15:05:16 +02:00 (Migrated from github.com)
Copy link

Summary

This is about implementing a vulkan renderer.

Architecture

With this change, the render component is now removed from the engine module. Instead, there will be a separate module called vulkan. I think it makes much more sense, since a vulkan (or opengl until now) renderer implementation doesn't really fit into the browser engine. In fact, the draw commands are trivial to understand and implement, so some applications might want to implement their own renderer backend. However, I suspect a vulkan implementation would be useful to applications embedding axiom, so it will be exported as a module (as opposed to IPC, GUI, etc. which won't be exported).

# Summary This is about implementing a vulkan renderer. # Architecture With this change, the `render` component is now removed from the `engine` module. Instead, there will be a separate module called `vulkan`. I think it makes much more sense, since a vulkan (or opengl until now) renderer implementation doesn't really fit into the browser *engine*. In fact, the draw commands are trivial to understand and implement, so some applications might want to implement their own renderer backend. However, I suspect a vulkan implementation would be useful to applications embedding axiom, so it will be exported as a module (as opposed to IPC, GUI, etc. which won't be exported).
Arnau478 commented 2025年09月20日 19:44:01 +02:00 (Migrated from github.com)
Copy link

A triangle on the screen! Big milestone for this PR 🎉

[画像:image]
A triangle on the screen! Big milestone for this PR :tada: <img width="585" height="494" alt="image" src="https://github.com/user-attachments/assets/217676e4-eebb-4c71-b44d-10b51d6382a2" />
Arnau478 commented 2025年09月21日 01:05:44 +02:00 (Migrated from github.com)
Copy link

Finally, feature parity with the opengl implementation. Ready to merge.

Demo

[画像:image]

Finally, feature parity with the opengl implementation. Ready to merge. <details><summary>Demo</summary> <p> <img width="452" height="492" alt="image" src="https://github.com/user-attachments/assets/9ba7bbc5-9085-4ca5-b9a7-d082e6857102" /> </p> </details>
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
arnauc/axiom!1
Reference in a new issue
arnauc/axiom
No description provided.
Delete branch "vulkan"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?