Skip to content

[26.2] ELS renderer abstraction#430

Open
XFactHD wants to merge 8 commits into
neoforged:mainfrom
XFactHD:els_backend
Open

[26.2] ELS renderer abstraction#430
XFactHD wants to merge 8 commits into
neoforged:mainfrom
XFactHD:els_backend

Conversation

@XFactHD

@XFactHD XFactHD commented Jun 21, 2026

Copy link
Copy Markdown
Member

This PR implements a renderer abstraction layer for the early loading screen and changes the handover to throw away the existing window instead of handing it over to vanilla. This allows the ELS to continue using a (relatively) simple OpenGL renderer before the vanilla game opens (likely to be replaced with a Vk renderer once vanilla goes primarily/exclusively Vk) without preventing the full game from using Vulkan and also keeps the responsibility of the full Vk setup (including whatever extensions mods might request) in the vanilla B3D code instead of moving it to the ELS once it switches to Vk.

@neoforged-pr-publishing

neoforged-pr-publishing Bot commented Jun 21, 2026

Copy link
Copy Markdown
  • Publish PR to GitHub Packages

Last commit published: 86519d03c9d9a0b286ae9c9bb2d63f0e072e1b13 - version: 11.0.24-pr-430-els_backend

PR Publishing

The artifacts published by this PR:

Repository Declaration

In order to use the artifacts published by the PR, add the following repository to your buildscript:

repositories {
    maven {
        name = "Maven for PR #430" // https://github.com/neoforged/FancyModLoader/pull/430
        url = uri("https://prmaven.neoforged.net/FancyModLoader/pr430")
        content {
            includeModule("net.neoforged.fancymodloader", "earlydisplay")
            includeModule("net.neoforged.fancymodloader", "junit-fml")
            includeModule("net.neoforged.fancymodloader", "loader")
        }
    }
}

@neoforged-compatibility-checks

Copy link
Copy Markdown

@XFactHD, this PR introduces breaking changes.
Fortunately, this project is currently accepting breaking changes, but if they are not intentional, please revert them.
Last checked commit: 86519d03c9d9a0b286ae9c9bb2d63f0e072e1b13.

loader (:loader)

  • net/neoforged/fml/loading/EarlyLoadingScreenController
    • takeOverGlfwWindow()J: ❗ API method was removed
    • handOverToMinecraft(Ljava/util/function/Supplier;)V: ❗ Method was made abstract

@XFactHD XFactHD requested a review from RogueLogix June 21, 2026 23:45
@sciwhiz12 sciwhiz12 added the enhancement New feature or request label Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants