Skip to content

add(GLFW): Vulkan module#204

Draft
alexytomi wants to merge 5 commits intov3_openjdkfrom
feat/cinnabar_fixes
Draft

add(GLFW): Vulkan module#204
alexytomi wants to merge 5 commits intov3_openjdkfrom
feat/cinnabar_fixes

Conversation

@alexytomi
Copy link
Member

Why?

Mojang is swapping over to vulkan due to vibrant visuals. Cinnabar is the closest thing to this, so we will be using it to anticipate the official mojang changes.

Changes

  • Removed tinyfd from jre_lwjgl3glfw
    • Caused issues with Cinnabar mod. Should be re-added if it causes issues when vanilla transitions to vulkan.
  • Added lwjgl-vulkan module

Note

Please merge #203 before this as this builds off that PR.

@alexytomi alexytomi force-pushed the feat/cinnabar_fixes branch 2 times, most recently from e9a5384 to f059607 Compare March 14, 2026 16:38
Jars/Modules and AAR are from
https://github.com/AngelAuraMC/lwjgl3/actions/runs/23080032954

This is for Cinnabar mod, which is in anticipation of vanilla moving
over to vulkan
We get a `InvalidModuleDescriptorException` due to our fat glfw jar
providing tinyfd classes despite not being declared properly in
module-info.class, this then confuses the loader as it tries to load
another different tinyfd jar file with a proper module-info.class.

To avoid this, let's just remove tinyfd. Any mod using it would likely
just ship with it.
@alexytomi alexytomi force-pushed the feat/cinnabar_fixes branch from f059607 to 75054ef Compare March 14, 2026 16:39
TODO: Turn patching into a completely seperate project, that patches
modules one by one. This is needed to work with how module encapsulation
works in Java 9+. We will need to move over all the changes from the
lwjgl repository into our patcher so we can simply fetch LWJGL from
maven. This will be more integrated with the project while letting us
modify LWJGL easily.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant