Commit Graph
594 Commits
Author SHA1 Message Date
swung0x48 bfeb827eb7 [Feat]: (MG_Test/Program): add test to check optfine shader behavior 2025-11-12 15:56:40 +08:00
swung0x48 8b8fa41ef2 [Feat]: (MG_Test/ProgramUtil): CompileAndLinkBlitProgram 2025-11-12 13:08:53 +08:00
swung0x48 f0cf49f3ec [Fix]: (MG_Util/ShaderTranspiler/TMglGlslIoResolver): guard against vertex stage 2025-11-11 17:51:33 +08:00
swung0x48 6ac0fd6f0a [Feat]: (MG_Util/ShaderTranspiler): TMglGlslIoResolver: a custom glslang IoResolver to realize glBindAttribLocation semantics 2025-11-11 17:06:46 +08:00
swung0x48 3e9b53cecc [Feat]: (MG_Util/ShaderTranspiler): the skeleton of defining a custom TIoResolver 2025-11-10 15:53:43 +08:00
swung0x48 fd3b5c3881 [Fix] (MG_Impl/GL_Sync): fix compilation error on msvc 2025-11-10 15:49:26 +08:00
swung0x48 d51d75c3ed [Fix] (CMakeLists): detect and enable LTO through CMake 2025-11-10 14:24:58 +08:00
swung0x48 c30ce008ca [Chore] (MG_State/ProgramObject): more friendly global ubo debug msg 2025-11-09 18:21:46 +08:00
BZLZHH b83977b906 [Fix] (MG_State/ProgramState): Separate detach/remove shader in ProgramObject. Add more log. 2025-11-09 11:37:50 +08:00
BZLZHH e68089590d [Chore|Perf] (CMakeLists): Optimize compile/link options. 2025-11-09 10:03:59 +08:00
swung0x48 b151b2bba7 [Fix]: build test on macOS 2025-11-08 20:02:21 +08:00
swung0x48 3f36992f98 [Fix] (MG_State/ProgramObject): don't link when shader involved failed to compile 2025-11-06 23:55:38 +08:00
swung0x48 7228b01c2d [Fix] (GLImpl/Program, MG_Backend/DirectGLES): guard against not linked program object 2025-11-06 23:21:23 +08:00
swung0x48 98a8a3a5e9 [Chore] (GLImpl/GL_Buffer): add some log 2025-11-06 00:02:02 +08:00
swung0x48 a6ffb24f30 [Fix] (MG_State/Program): fix ubo name mistaken for uniform name 2025-11-05 16:18:35 +08:00
swung0x48 13319a6847 [Feat] (MG_Test/Program): add minecraft core shader tex_color_1216 2025-11-05 15:37:55 +08:00
swung0x48 ef1924d7f9 [Feat] (MG_State/Program, DirectGLES): plumb ubo to backend 2025-11-05 15:37:10 +08:00
swung0x48 c39c03d866 [Fix] (MG_Impl/Program): DeleteShader name check bug 2025-11-05 15:12:37 +08:00
swung0x48 62798ce1b8 [Feat] (MG_State/Program): refractor UBO handling 2025-11-05 13:51:05 +08:00
swung0x48 57dd0fe480 [Feat]: implement glBindVertexAttribLocation in DirectGLES backend (fixing OptiFine?) 2025-11-04 22:16:16 +08:00
swung0x48 2f67620a6e [Fix]: some not-added stuff 2025-11-02 23:51:19 +08:00
swung0x48 1ea32e8538 [Fix] (GL_Impl/Program): fix logging 2025-11-02 11:22:52 +08:00
swung0x48 c69e83735c [Chore] (GL_Impl/Program): add more logging 2025-11-02 11:15:42 +08:00
swung0x48 6a21462554 [Fix] (GL_Impl/Program): fix dumb bug regarding IsActiveUniformBlock 2025-11-02 10:59:08 +08:00
swung0x48 1d3fbedf29 [Feat] (GL_State/Buffer, GL_Impl/Buffer): implement glBindBufferRange 2025-11-02 10:31:05 +08:00
swung0x48 4b4d38a00a [Feat] (GL_State/Buffer, GL_Impl/Buffer): implement glBindBufferBase 2025-11-02 09:34:32 +08:00
BZLZHH effeb7d9f7 Merge branch 'Feat/Backend-Direct-GLES' of github.com:MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES 2025-11-01 23:48:42 +08:00
BZLZHH a39d6b67f9 [Fix] (MG_Backend/DirectGLES): Fix wrong return; in buffer syncing. 2025-11-01 23:48:25 +08:00
swung0x48 4e2b348e96 Merge branch 'Feat/Backend-Direct-GLES' of https://github.com/MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES 2025-11-01 23:07:32 +08:00
swung0x48 278656ac5a [Feat]: (MG_Impl/Program, MG_State/Program): implement UBO 2025-11-01 23:06:25 +08:00
BZLZHH 2c05d937e5 Merge branch 'Feat/Backend-Direct-GLES' of github.com:MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES 2025-11-01 21:43:13 +08:00
BZLZHH 984ae97579 [Improvement] (...): Better handling for enabling/disabling attribute in VAO. 2025-11-01 21:42:05 +08:00
swung0x48 4706dea9de [Chore] (GLImpl/Texture): adjust some log level to avoid distraction 2025-11-01 20:52:13 +08:00
swung0x48 69a867a9a9 [Feat] (GLImpl/Getter): GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 2025-11-01 20:48:15 +08:00
swung0x48 fc745c402c [Feat] (GLImpl/Getter): GL_CONTEXT_PROFILE_MASK 2025-11-01 20:41:53 +08:00
BZLZHH d652645346 [Feat] (...): Handle pixel store correctly. 2025-11-01 19:52:33 +08:00
BZLZHH bcb947235d [Feat] (...): Implement scissor box in frontend and backend. 2025-11-01 16:40:38 +08:00
BZLZHH 708db4b5eb [Fix] (MG_Impl/Texture): Fix wrong function call for GL_TEXTURE_MAX_LEVEL. 2025-11-01 16:20:25 +08:00
BZLZHH 6c4340af43 [Feat] (MG_Backend/DirectGLES): Handle newly added params in backend. 2025-11-01 16:03:18 +08:00
BZLZHH cb768f9644 [Feat] (MG_Impl/Texture): Handle newly added params in TexParameter*. 2025-11-01 16:00:35 +08:00
BZLZHH 5ffc4d1e2d [Feat] (MG_Utils/Converters): Add converters for TextureSwizzleParam. 2025-11-01 15:51:58 +08:00
BZLZHH 4d8db7fb3b [Feat] (MG_State/TextureState): Implement full texture parameter track. 2025-11-01 15:49:16 +08:00
BZLZHH dfb08ac8b0 [Fix] (MG_Backend/DirectGLES): Ensure other methods for buffer syncing available. 2025-11-01 13:39:01 +08:00
BZLZHH e8d6cd4b31 [Feat] (...): Implement glDrawArrays. 2025-11-01 13:06:18 +08:00
BZLZHH 0ae69cfe9e [Fix] (MG_Impl/Getter): Fix wrong return value for GL_ACTIVE_TEXTURE. 2025-11-01 12:32:40 +08:00
BZLZHH 3858e8ebda [Fix] (MG_Impl/Getter): Fix crashing when object is nullptr in GetIntegerv. 2025-11-01 12:24:07 +08:00
BZLZHH 7abd9af8b6 [Fix] (MG_State/TextureState): Add missing TextureUnit::GetSamplerObject() 2025-11-01 12:03:20 +08:00
BZLZHH c4992797c7 [Feat] (MG_Impl/Getter): Implement basic GetIntegerv. 2025-11-01 11:59:12 +08:00
BZLZHH 394cf14198 [Feat] (MG_State/TextureObject): Add missing TextureObjectBase::GetExternalIndex() 2025-11-01 11:30:17 +08:00
BZLZHH 1269bc76f3 [Feat] (MG_State): Add external index getter for each object. 2025-11-01 11:18:35 +08:00