Commit Graph
489 Commits
Author SHA1 Message Date
BZLZHH 115cdef6fd [Feat] (MG_State/TextureState): Add TextureUploadTarget enum. Add more TextureTarget enum. 2025-08-14 15:19:32 +08:00
swung0x48 238d0ffade [Feat] (MG_State/Program): GetActiveUniform 2025-08-14 13:50:34 +08:00
swung0x48 aa2aefac28 [Feat] (MG_State/Program): glGetUniformLocation 2025-08-13 23:32:33 +08:00
swung0x48 df444655e3 [Feat] (MG_State/Program): retrieve/generate layout location from/for program, and retrieve generated ubo size and all the offsets of members 2025-08-13 23:14:22 +08:00
swung0x48 09d1e035ed Revert "[Fix] (MG_State/Program): use vector to save uniforms instead"
This reverts commit bfb62872c9.
2025-08-13 17:05:21 +08:00
swung0x48 bfb62872c9 [Fix] (MG_State/Program): use vector to save uniforms instead 2025-08-13 16:41:46 +08:00
swung0x48 7f0e65f8c7 [Feat] (MG_Util/ShaderCompiler, MG_State/Program): reflect uniform location 2025-08-13 15:18:34 +08:00
BZLZHH 4eba014513 [Fix] (MG_State/TextureState): Fix incorrect behavior. 2025-08-12 18:11:36 +08:00
swung0x48 1f7053cb31 [Feat] (MG_State/Program): GetProgramInfoLog, GetShaderInfoLog 2025-08-11 23:37:58 +08:00
swung0x48 408b62a495 [Feat] (MG_State/Program): GetAttachedShaders 2025-08-11 23:07:15 +08:00
swung0x48 21a46ee151 [Feat] (MG_State/Program): glShaderSource, glUseProgram 2025-08-11 16:47:18 +08:00
swung0x48 19071c0217 [Fix] (MG_State/Program): typo in ProgramState::CreateProgram 2025-08-11 16:02:42 +08:00
swung0x48 429618a00a [Feat] (MG_Impl/Program): glAttachShader 2025-08-11 15:50:24 +08:00
swung0x48 2c40177f06 [Feat] (MG_Impl/Program, MG_State/Program): initial impl of shader related states 2025-08-11 15:19:35 +08:00
swung0x48 e96e0ecc42 [Fix] (MG_State/Program): fix ShaderObject compilation error 2025-08-11 13:12:50 +08:00
BZLZHH 1ca0a96628 [Fix] (MG_Test): Fix compiling error. 2025-08-10 23:34:15 +08:00
BZLZHH 253e14f2c9 [Improvement] (...): Optimize code. 2025-08-10 23:18:01 +08:00
BZLZHH 0b13cb5714 [Feat] (MG_State/TextureState): Implement TextureState. 2025-08-10 23:13:22 +08:00
BZLZHH 93ca669929 [Refactor] (All): Restructure include system. 2025-08-09 23:10:34 +08:00
swung0x48 4ecd4e4a07 [Feat] (MG_State/Program, MG_Impl/Program): skeleton and initial impl of program/shader state machine 2025-08-09 13:08:26 +08:00
swung0x48 919274924e [Feat]: Flags<Bit, Underlying> template for manipulating flag sets 2025-08-08 16:49:41 +08:00
BZLZHH fa2bf8b665 Merge commit '54826327' into dev 2025-08-06 18:09:18 +08:00
BZLZHH 75f0d27ca7 [Misc] (...): Fix CMake error. Fix unexpected error. 2025-08-06 18:04:11 +08:00
swung0x48 2c651f2359 [Optimization] (MG_State/BufferState, VertexArrayState): optimize performance on vao deletion 2025-08-06 10:32:16 +08:00
BZLZHH 3d18e702b0 [Fix] (MG_State/BufferState, VertexArrayState): Correct IBO binding slot. 2025-08-03 18:56:50 +08:00
BZLZHH e7a21423da [Feat] (MG_State/VertexArrayState): Add IsInteger in attribute. 2025-07-25 19:28:40 +08:00
BZLZHH 4154d3f4ee [Feat] (MG_State/VertexArrayState): Implement VertexArrayState. 2025-07-25 16:52:38 +08:00
BZLZHH fc9018f97c [Misc] (MG_State/Buffer): Separate BufferState.cpp into 2 files. 2025-07-25 14:06:51 +08:00
BZLZHH e79a2fa809 [Feat|Fix|Improvement] (All): Continue building the basic structure.
Feat: implement MG_Impl/Buffer
Feat: implement MG_State/ErrorState and integrate it into MG_State/GLContext
Feat: add buffer deletion management
Feat: introduce `INSERTION_POINT` (https://github.com/MobileGL-Dev/MobileGLCodeManager)
Feat: add tests about MG_Impl/Buffer and buffer deletion feature
Feat: add several converters
Fix: fix some compiling errors
Fix: fix some incorrect behaviors in MG_State/Buffer
Improvement: remove some current statements at the beginning of the source file, which will be added uniformly soon
Improvement: optimize some naming
2025-07-23 23:04:36 +08:00
swung0x48 4665735c89 [Fix] (MG_State/Buffer): do not shrink_to_fit() if not necessary 2025-07-20 09:58:17 +08:00
BZLZHH 6c920ce5dc [Feat|Fix] (MG_State/BufferState): Implement more functions.
Implemented:
    BufferObject: ReleaseMemory, FlushMemoryRange, UploadSubData, CopyDataFrom, ClearDirty

Fixed:
    BufferObject: AcquireMemory, AcquireMemoryRange
    Range1D: UnionUpdate
2025-07-20 02:30:53 +08:00
swung0x48 16697b8c2b [Fix] (MG_State/Buffer): pass PingPong test 2025-07-19 22:00:01 +08:00
swung0x48 0d73120d15 [Feat] (MG_State/Buffer): separate UploadData() into Resize()+UploadData() 2025-07-18 10:01:40 +08:00
swung0x48 3f0a99d272 [Fix] (MG_State/Buffer): fix some typo 2025-07-17 22:46:16 +08:00
swung0x48 5c1b0a8f10 [Test] (BufferTest): add Binding test, and fix compile errors 2025-07-17 22:15:31 +08:00
swung0x48 e72c1f70aa [Fix] (MG_State/Buffer): remove redundant buffer target 2025-07-17 21:55:27 +08:00
swung0x48 f000ef4cbd [Fix] (MG_State/Core): fix typo 2025-07-17 21:39:06 +08:00
BZLZHH ea64124963 [Feat] (MG_State/GLState): Implement BufferState. 2025-07-17 13:21:28 +08:00
BZLZHH 62be9fed93 [Feat] (MG_State/GLState): Implement BufferObject. 2025-07-16 17:51:42 +08:00