Drop-in replacement for OpenGLES framework for iOS using ANGLE and MetalANGLE's MGLKit.
Note
Not all games will work, it may show a black screen instead. Please open an issue and specify your game.
- OpenGLES game is limited to 60fps regardless of refresh rate of your device.
- Metal Performance HUD is not available in system OpenGLES framework.
No source code modification is required, thus you can use this for closed-source games.
- Build ANGLE from source to get
libEGL.framework
andlibGLESv2.framework
, or use precompiled frameworks in Releases. - Place all frameworks into the app bundle's
Frameworks
folder. - Run
install_name_tool -add_rpath @executable_path/Frameworks <Mach-O file>
. This may return error if it already exists, it's safe to ignore. - Run
install_name_tool -change /System/Library/Frameworks/OpenGLES.framework/OpenGLES @rpath/ANGLEGLKit.framework/ANGLEGLKit <Mach-O file>
for all files that link against OpenGLES framework.