forked from libgdx/libgdx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gdx-lwjgl3-angle extension to add rendering support through ANGLE (li…
…bgdx#6672) * Apply formatter * Add support for ANGLE libEGL and libGLESv2 shared libs need to be loadable, i.e. set DYLD_LIBRARY_PATH on macOS. Get prebuilt ANGLE here: https://github.com/xiaozhuai/angle_builds Then config.setOpenGLVersion(Lwjgl3ApplicationConfiguration.GLVersion.GLES20, 0, 0); to enable the GLES backend. Update LWJGL3 test starter to use ANGLE Added gdx-lwjgl3-angle extension When added to a project as a dependency, and if Lwjgl3ApplicationConfiguration.setOpenGLEmulation(GLEmulation.ANGLE_GLES20, 0, 0) is called, the backend will use ANGLE for rendering. Does not work on macOS yet, as dylib preloading doesn't work like on Windows and Linux. Need to change current working directory to the directory the dylibs have been extracted to, initialize GLFW, then reset the current working directory. # Conflicts: # backends/gdx-backend-lwjgl3/pom.xml Apply formatter Apply formatter Fix ANGLE loading on macOS. Illustrative fix for multi-window framerate drop on macOS with ANGLE * Apply formatter * Fix gdx-lwjgl3-angle extension Natives are now fetched from https://github.com/libgdx/gdx-angle-natives * Removed Maven build file from gdx-lwjgl3-angle. Co-authored-by: GitHub Action <[email protected]>
- Loading branch information
1 parent
da31586
commit 53de67e
Showing
15 changed files
with
1,245 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.