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
3b1ab8d9d9
Revert "a bunch of junk, merging 'shitty' branch"
...
This reverts commit c68cbfa37b .
2025-05-17 11:13:31 +08:00
BZLZHH
7debcd7927
[Feat] (Getter): Implement GetIntegerv.
2025-05-17 10:25:58 +08:00
BZLZHH
71df4bae3c
[Misc] (Texture): Start to support GL_DEPTH_COMPONENT32...
2025-05-17 00:03:00 +08:00
BZLZHH
354d0882eb
[Fix] (MG_State): Make uniformObj.count correct. Disable all freeIds now.
2025-05-16 23:35:44 +08:00
swung0x48
5142f3c72b
[Fix] (TextureState, GL_Drawing): mark dirty textures to skip uploading unmodified ones
2025-05-08 20:57:16 +08:00
swung0x48
c52e28cc7a
[Fix] (TextureState): fix a horrible performance bug
2025-05-08 20:36:03 +08:00
swung0x48
40cf5a1ebb
[Optimization] (TextureState): block memcpy
2025-05-08 16:07:17 +08:00
swung0x48
d33fb15ada
[Feat] using unordered_dense somewhere...
2025-05-08 10:00:44 +08:00
swung0x48
c68cbfa37b
a bunch of junk, merging 'shitty' branch
2025-05-06 16:20:18 +08:00
BZLZHH
3fa6aa660c
[Feat] (GL_Drawing): Add DrawElementsSHITTILY. Add SPIRV->GLSL ES conversion.
2025-05-05 10:04:35 +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
b4f7aefb99
[Refactor] (TextureState.*): Optimize code.
2025-05-01 10:19:50 +08:00
BZLZHH
cbff3d2714
[Improvement] (TextureState.cpp): Use memcpy rather than memmove in UpdateRegion2D.
2025-04-30 18:02:49 +08:00
BZLZHH
c5c5172087
[Fix] (TextureState.cpp): Fix texture buffer allocation in UpdateRegion2D to prevent memmove crash.
2025-04-30 17:57:12 +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