Commit Graph
17 Commits
Author SHA1 Message Date
BZLZHH 59e0291f9e [Improvement] (HeaderSystem): Optimize header system, highly improving performance. 2025-07-10 14:01:09 +08:00
swung0x48 532ca5ced5 [Fix] (MG_State/Texture, MG_State/Framebuffer): add stub for glCopyTexSubImage2D, glDrawBuffer, glDrawBuffers and glReadBuffer 2025-07-08 11:05:59 +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 4316d4e13d [Feat] (ShittilyDrawing): Implement DrawBuffer. Ensure read fbo is bound. 2025-05-17 01:25:13 +08:00
BZLZHH 19e2a5dec2 [Feat] (BufferState): Implement BufferSubData. 2025-05-17 00:19:40 +08:00
BZLZHH e3a25c6274 [Feat] (ShittilyDrawing): Implement more Drawing functions. Make uniform correct. 2025-05-16 23:40:32 +08:00
BZLZHH 6901e9584f [Feat] (BufferState): Implement MapBufferRange, FlushMappedBufferRange and CopyBufferSubData. 2025-05-16 23:23:16 +08:00
BZLZHH 9a692a7845 [Feat] (BufferState): Implement glDeleteBuffers. 2025-05-16 13:34:24 +08:00
swung0x48 bb45906189 [Feat] implement glBlitFramebuffer, making things start to render 2025-05-07 13:33:29 +08:00
swung0x48 4e239832a6 fixing windows compile error WIP 2025-05-06 17:27:15 +08:00
BZLZHH 12649bf4d7 [Fix] (GLDefinitions): Fix wrong stub declarations of glClear(Color). 2025-05-04 11:49:54 +08:00
BZLZHH 0e7483bdd4 [Feat] (ProgramState): Implement more Global-GL-State functions.
- These functions were implemented:
  - glBlendFunc
  - glBlendFuncSeparate
  - glClear
  - glClearColor
  - glClearDepth
  - glColorMask
  - glDepthFunc
  - glDepthMask
  - glDisable
  - glEnable
  - glViewport
2025-05-04 02:09:25 +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