This repository was archived by the owner on Aug 16, 2026. It is now read-only.
feat: MobileGLES — comprehensive iOS-only rewrite of MobileGlues - #64
Closed
EternityQwQ wants to merge 8 commits into
Closed
feat: MobileGLES — comprehensive iOS-only rewrite of MobileGlues#64EternityQwQ wants to merge 8 commits into
EternityQwQ wants to merge 8 commits into
Conversation
[Fix] (texture): Handle non-rev swizzle for glTexSubImage2D
Bump version to 1.3.5
Co-authored-by: traeagent <traeagent@users.noreply.github.com>
- gles/loader: remove dlopen/path_prefix/open_lib, keep RTLD_MAIN_ONLY - gles/loader.h: remove open_lib decl, simplify NATIVE_FUNCTION_HEAD (no ELF alias) - egl/loader: remove unused destroy_temp_egl_ctx - glx/lookup: remove #ifdef __APPLE__ branch, iOS-only dlsym path - gl/log: remove __ANDROID__ stub wrapper, keep no-op - gl/mg: remove __APPLE__ conditionals, no-op log functions on iOS - gl/getter: GL_MG_mobilegles, MobileGLES strings, remove non-Apple GL_EXTENSIONS branch - gl/buffer: remove BIN_FILE_PREFIX and ARB alias block (Mach-O incompatible) - gl/texture, FSR1: remove __ANDROID__/__APPLE__ platform conditionals - gl/glsl_for_es: MG_MOBILEGLES macros, MobileGLES comment - Rename all MOBILEGLUES_* header guards to MOBILEGLES_* - Update file headers via update-source-file-header.py (MobileGLES) - Rewrite README.md and CI workflow for MobileGLES iOS-only
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
Comprehensive rewrite of MobileGlues as MobileGLES, targeting iOS exclusively. All non-Apple platform code (Android, Linux) has been removed.
Key changes
if(NOT APPLE) message(FATAL_ERROR ...)— refuses to build on non-Apple platformsdlopen/path_prefix/open_lib; usesRTLD_MAIN_ONLYpseudo-handle for symbol resolutionNATIVE_FUNCTION_HEADsimplified — removed ELF__attribute__((alias))(Mach-O incompatible)#ifdef __APPLE__branch, iOS-onlydlsympathdestroy_temp_egl_ctxgpu_utils.{cpp,h}(Vulkan/Adreno detection meaningless on iOS);settings.cppsimplified (no launcher env vars, no GPU detection);/sdcard/MG→$HOME/Documents/MG(iOS sandbox)__ANDROID__/__APPLE__platform conditionals__attribute__((alias))not supported on Mach-O)MobileGlues→MobileGLES,MG_MOBILEGLUES→MG_MOBILEGLES,GL_MG_mobileglues→GL_MG_mobilegles,MOBILEGLUES_*header guards →MOBILEGLES_*build.yml(replacesios.yml+build-android.yml), buildslibmobilegles.dylibfor iOSCI status
✅ Build passed on
trae/agent-scTrYY— run #29787560341Breaking changes
dlopen-based GLES/EGL loading (ANGLE framework must be statically linked)