Add GameActivity support and macOS ANGLE Vulkan compatibility#136
Closed
Icehunter wants to merge 1 commit into
Closed
Add GameActivity support and macOS ANGLE Vulkan compatibility#136Icehunter wants to merge 1 commit into
Icehunter wants to merge 1 commit into
Conversation
Adds support for Android GameActivity SDK (used by Minecraft 1.21+) with fake JNI class implementations for GameActivity, Configuration, LocaleList, WindowInsetsCompat, and related classes. Changes: - 8 fake JNI classes for GameActivity SDK integration - Null-checks on GameActivity callbacks with onResume lifecycle - AAssetManager_fromJava returning FakeAssetManager - ANativeWindow stubs (setBuffersGeometry, getFormat, acquire, release) - Locale methods (getLanguage, getScript, getCountry, getVariant) - Zero-init GameActivity structs to prevent crashes - Force OpenGL ES surface flag (-fes) version gate removal for ANGLE
Author
|
This is also related to: google/angle#103 Locally when I run everything after a build a get a substantial improvement in vibrant visuals, but i'm still fighting over some artifacts on/in water, and some leaf shading during the day. |
Member
|
I am a bit confused, since for me
kosmickrisp might do better than mvk. Did the switch in a few days to not need to compile anything additionally |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds support for Android GameActivity SDK (used by Minecraft 1.21+) with fake JNI class implementations, enabling Minecraft Bedrock 1.26.x to run on macOS ARM64 with GLES 3.1 via ANGLE Vulkan.
Changes
Testing
Requires building mcpelauncher from source with this branch.
Prerequisites: cmake 4.x, a C++17 compiler, SDL3, and the usual mcpelauncher dependencies.
To run Minecraft 1.26.10.4 with Vibrant Visuals on macOS ARM64:
VK_ICD_FILENAMES,ANGLE_DEFAULT_PLATFORM=vulkan-fesflagTested on Apple M5 Pro, macOS 26.3, Minecraft Bedrock 1.26.10.4 with Vibrant Visuals enabled.
https://youtu.be/lBNuIqISYa4