BZLZHH
47cd496e6d
[Fix] (Init): Refactor MG_Initialize/MG_Destroy for multi-platform compatibility.
2025-06-05 07:57:07 +08:00
BZLZHH
33e4b6d8de
Merge branch 'Feat/dev-es-shittily-draw' into dev-es without ShittilyDraw
...
# Conflict:
# MG/Includes.h
# Changes:
# Remove ShittilyDraw, ready to implement MG_RHI...
# Update progress.
2025-05-17 11:50:47 +08:00
BZLZHH
9297542dcf
Revert "use unordered_dense to mitigate __next_prime overflow error"
...
This reverts commit b082e2e06b .
2025-05-17 11:13:19 +08:00
swung0x48
3edb48d5fc
[Misc]: add ankerl/unordered_dense
2025-05-08 09:49:09 +08:00
swung0x48
f98f877e07
[Fix] (GL_Drawing.cpp): realize glBindAttribLocation, and other misc fixes
2025-05-07 23:25:46 +08:00
swung0x48
b082e2e06b
use unordered_dense to mitigate __next_prime overflow error
2025-05-07 10:57:26 +08:00
swung0x48
12cedbae0e
fix compilation on android
2025-05-06 17:53:22 +08:00
swung0x48
4e239832a6
fixing windows compile error WIP
2025-05-06 17:27:15 +08:00
BZLZHH
30beaf6eb9
[Feat] (...): Add FramebufferState while implementing these gl functions.
2025-05-04 01:17:09 +08:00
BZLZHH
383ec85400
[Feat] (ProgramState): Implement automatic GLSL uniform management.
...
- 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
2025-05-03 22:50:41 +08:00
BZLZHH
00140d8b57
[Feat] (...): Add ProgramState while implementing these gl functions. Rename some functions in MG_State.
2025-05-03 02:26:03 +08:00
BZLZHH
33104f699a
[Feat] (...): Add BufferState and VertexBufferState while implementing these gl functions.
2025-05-01 22:20:34 +08:00
BZLZHH
04976daa9f
[Refactor] (...): Optimize code file structure.
2025-05-01 09:22:50 +08:00
BZLZHH
e644efbe81
[Feat|Improvement] (...): (MG_State) Implement glPixelStorei. Optimize code.
2025-04-30 17:31:10 +08:00
BZLZHH
91fa9e2d01
[Feat] (...): Add GLES Backend.
2025-04-26 12:03:42 +08:00
BZLZHH
41fefb8e54
[Feat] (...): Add global OpenGL state. Add gl texture state (almost complete for Minecraft) and implementation gl texture functions that Minecraft would use. Add gl error state.
2025-04-04 23:02:59 +08:00
BZLZHH
d64eb04dd5
[Docs|Misc] (...): Add PlannedFunctions.md. Add more directories about these funcs.
2025-04-04 10:52:33 +08:00
BZLZHH
c12e353c68
[Misc] (...): Define BACKEND_TYPE in Includes.h. Fix some compiling errors of GL_Common.
2025-04-04 09:32:27 +08:00
BZLZHH
5af3057456
[Feat|Fix] (...): Emulate EGL. Emulate glClear and glClearColor.
...
Signed-off-by: BZLZHH <admin@bzlzhh.top >
2025-03-30 12:07:14 +08:00
BZLZHH
a60bc2644d
[Improvement] (...): Log more info.
...
Signed-off-by: BZLZHH <admin@bzlzhh.top >
2025-03-15 20:49:39 +08:00
BZLZHH
e9d5caab2a
Initial Commit: MobileGL
...
Signed-off-by: BZLZHH <admin@bzlzhh.top >
2025-03-15 19:30:03 +08:00