mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 04:08:32 +09:00
383ec854008a6e6d4e66b4be84cd947f43e062f3
- Add SPIRV-Cross/glslang integration for uniform reflection. - Auto-detect and assign locations for uniforms/samplers. - Support most types of uniform. - Implement glUniform* functions with type safety. - Add MG_Util::Program: - GLSL-SPIRV conversion - SPIRV uniform reflection - Program uniform dumping
MobileGL
Third party components
SPIRV-Cross by KhronosGroup: github
glslang by KhronosGroup: github
GlslOptimizerV2 by aiekick: github
Progress
Target: OpenGL 3.2 Core Profile
| Component | Development Progress |
|---|---|
| OpenGL State Manager | 35 ~ 42% |
| Abstraction Layer (MG_RHI) | 0% |
| OpenGL ES Backend | N/A (of MG_RHI) |
| Vulkan Backend | planned |
Target: OpenGL implementation compatible with Minecraft 1.17 to 1.12.4
| Component | Development Progress* |
|---|---|
| OpenGL State Manager | 38 / 65 |
| Abstraction Layer (MG_RHI) | 0 / 60 |
| OpenGL ES Backend | N/A (of MG_RHI) |
| Vulkan Backend | planned |
* The number of functions that have been implemented
Languages
C++
86.4%
C
10.2%
Python
1.6%
CMake
0.9%
Shell
0.4%
Other
0.5%