Commit Graph

  • 899563165e [Feat] (MG_Backend/DirectGLES): hook up glDrawBuffers swung0x48 2025-11-14 17:08:55 +08:00
  • 0d3236c3cc [Feat] (MG_State/Framebuffer, MG_Impl/Framebuffer): implement glDrawBuffers in the state machine swung0x48 2025-11-14 15:41:25 +08:00
  • 1f831d79a9 [Chore] (Include): Remove junk files. BZLZHH 2025-11-14 13:34:03 +08:00
  • 651c91f78e [Chore] (Gradle): Upgrade NDK version. BZLZHH 2025-11-14 12:43:31 +08:00
  • a01037b6fe [Misc] (MG_State/TextureState): Remove completed TODO. BZLZHH 2025-11-14 11:09:27 +08:00
  • 55e89e169f [Fix?] (MG_Test/Program): why is action sometimes failing? swung0x48 2025-11-13 15:07:07 +08:00
  • 0d26f49d0b [Fix] (GLImpl/Program): fix log name error swung0x48 2025-11-13 14:47:05 +08:00
  • 7ee85e5a76 [Chore] (Defines): use DEBUG log level swung0x48 2025-11-13 14:45:57 +08:00
  • 89bfebf767 [Feat] (MG_Impl/Exporting): export glBindFragDataLocation and glGetFragDataLocation swung0x48 2025-11-13 13:25:33 +08:00
  • b3b304e9e6 [Feat]: Implement glBindFragDataLocation and glGetFragDataLocation swung0x48 2025-11-13 13:23:37 +08:00
  • 5b2d18fdff [Fix]: (MG_Util/ShaderTranspiler): implement logic to reserve explicitly set frag outs swung0x48 2025-11-13 12:54:05 +08:00
  • 1c3a3455ab [Fix]: (MG_Util/ShaderTranspiler): rename explicitAttribLocations to explicitVertexInLocations in ProgramAttrib swung0x48 2025-11-13 12:46:18 +08:00
  • 2878939712 [Fix]: (MG_Util/ShaderTranspiler): add explicitFragmentOutLocations to program link attribs swung0x48 2025-11-13 12:20:07 +08:00
  • cf87891b35 [Fix] (MG_Impl/GL_Program): emit missing gl error swung0x48 2025-11-13 10:51:38 +08:00
  • b04481e6da [Chore] (MG_State/ProgramObject): rename attrib to vertex in for clarity swung0x48 2025-11-13 10:50:37 +08:00
  • d3ea83992c [Fix]: (MG_Util/ShaderTranspiler/ShaderSourceProcessor): fix trailing \n not get removed swung0x48 2025-11-13 09:39:53 +08:00
  • e6c5e132b8 [Fix] (MG_Util/Debug/Log): more log scratch space to avoid truncation swung0x48 2025-11-12 22:50:21 +08:00
  • 6e65942891 [Chore] (MG_Util/ShaderSourceProcessor): trim unnecessary part of shader source swung0x48 2025-11-12 18:03:29 +08:00
  • 755b4605e4 [Fix]: (MG_State/Program): fix incorrect Optfine behavior swung0x48 2025-11-12 16:01:34 +08:00
  • 9bc0ae6b97 [Chore]: (MG_State/Program): use proper enum constant, get rid of junk swung0x48 2025-11-12 16:00:44 +08:00
  • bfeb827eb7 [Feat]: (MG_Test/Program): add test to check optfine shader behavior swung0x48 2025-11-12 15:56:40 +08:00
  • 8b8fa41ef2 [Feat]: (MG_Test/ProgramUtil): CompileAndLinkBlitProgram swung0x48 2025-11-12 13:08:53 +08:00
  • f0cf49f3ec [Fix]: (MG_Util/ShaderTranspiler/TMglGlslIoResolver): guard against vertex stage swung0x48 2025-11-11 17:51:33 +08:00
  • 6ac0fd6f0a [Feat]: (MG_Util/ShaderTranspiler): TMglGlslIoResolver: a custom glslang IoResolver to realize glBindAttribLocation semantics swung0x48 2025-11-11 17:06:46 +08:00
  • 3e9b53cecc [Feat]: (MG_Util/ShaderTranspiler): the skeleton of defining a custom TIoResolver swung0x48 2025-11-10 15:53:43 +08:00
  • fd3b5c3881 [Fix] (MG_Impl/GL_Sync): fix compilation error on msvc swung0x48 2025-11-10 15:49:26 +08:00
  • d51d75c3ed [Fix] (CMakeLists): detect and enable LTO through CMake swung0x48 2025-11-10 14:24:58 +08:00
  • c30ce008ca [Chore] (MG_State/ProgramObject): more friendly global ubo debug msg swung0x48 2025-11-09 18:21:46 +08:00
  • b83977b906 [Fix] (MG_State/ProgramState): Separate detach/remove shader in ProgramObject. Add more log. BZLZHH 2025-11-09 11:37:39 +08:00
  • e68089590d [Chore|Perf] (CMakeLists): Optimize compile/link options. BZLZHH 2025-11-09 10:03:59 +08:00
  • b151b2bba7 [Fix]: build test on macOS swung0x48 2025-11-08 20:02:21 +08:00
  • 3f36992f98 [Fix] (MG_State/ProgramObject): don't link when shader involved failed to compile swung0x48 2025-11-06 23:55:38 +08:00
  • 7228b01c2d [Fix] (GLImpl/Program, MG_Backend/DirectGLES): guard against not linked program object swung0x48 2025-11-06 23:21:23 +08:00
  • 98a8a3a5e9 [Chore] (GLImpl/GL_Buffer): add some log swung0x48 2025-11-06 00:02:02 +08:00
  • a6ffb24f30 [Fix] (MG_State/Program): fix ubo name mistaken for uniform name swung0x48 2025-11-05 16:18:35 +08:00
  • 13319a6847 [Feat] (MG_Test/Program): add minecraft core shader tex_color_1216 swung0x48 2025-11-05 15:37:55 +08:00
  • ef1924d7f9 [Feat] (MG_State/Program, DirectGLES): plumb ubo to backend swung0x48 2025-11-05 15:37:10 +08:00
  • c39c03d866 [Fix] (MG_Impl/Program): DeleteShader name check bug swung0x48 2025-11-05 15:12:37 +08:00
  • 62798ce1b8 [Feat] (MG_State/Program): refractor UBO handling swung0x48 2025-11-05 13:51:05 +08:00
  • 57dd0fe480 [Feat]: implement glBindVertexAttribLocation in DirectGLES backend (fixing OptiFine?) swung0x48 2025-11-04 21:55:26 +08:00
  • 2f67620a6e [Fix]: some not-added stuff swung0x48 2025-11-02 23:50:50 +08:00
  • 1ea32e8538 [Fix] (GL_Impl/Program): fix logging swung0x48 2025-11-02 11:22:52 +08:00
  • c69e83735c [Chore] (GL_Impl/Program): add more logging swung0x48 2025-11-02 11:15:42 +08:00
  • 6a21462554 [Fix] (GL_Impl/Program): fix dumb bug regarding IsActiveUniformBlock swung0x48 2025-11-02 10:59:08 +08:00
  • 1d3fbedf29 [Feat] (GL_State/Buffer, GL_Impl/Buffer): implement glBindBufferRange swung0x48 2025-11-02 10:31:05 +08:00
  • 4b4d38a00a [Feat] (GL_State/Buffer, GL_Impl/Buffer): implement glBindBufferBase swung0x48 2025-11-02 09:34:32 +08:00
  • effeb7d9f7 Merge branch 'Feat/Backend-Direct-GLES' of github.com:MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES BZLZHH 2025-11-01 23:48:42 +08:00
  • a39d6b67f9 [Fix] (MG_Backend/DirectGLES): Fix wrong return; in buffer syncing. BZLZHH 2025-11-01 23:48:25 +08:00
  • 4e2b348e96 Merge branch 'Feat/Backend-Direct-GLES' of https://github.com/MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES swung0x48 2025-11-01 23:07:32 +08:00
  • 278656ac5a [Feat]: (MG_Impl/Program, MG_State/Program): implement UBO swung0x48 2025-11-01 23:06:25 +08:00
  • 2c05d937e5 Merge branch 'Feat/Backend-Direct-GLES' of github.com:MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES BZLZHH 2025-11-01 21:43:13 +08:00
  • 984ae97579 [Improvement] (...): Better handling for enabling/disabling attribute in VAO. BZLZHH 2025-11-01 21:42:05 +08:00
  • 4706dea9de [Chore] (GLImpl/Texture): adjust some log level to avoid distraction swung0x48 2025-11-01 20:52:13 +08:00
  • 69a867a9a9 [Feat] (GLImpl/Getter): GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT swung0x48 2025-11-01 20:48:15 +08:00
  • fc745c402c [Feat] (GLImpl/Getter): GL_CONTEXT_PROFILE_MASK swung0x48 2025-11-01 20:41:53 +08:00
  • d652645346 [Feat] (...): Handle pixel store correctly. BZLZHH 2025-11-01 19:52:33 +08:00
  • bcb947235d [Feat] (...): Implement scissor box in frontend and backend. BZLZHH 2025-11-01 16:40:01 +08:00
  • 708db4b5eb [Fix] (MG_Impl/Texture): Fix wrong function call for GL_TEXTURE_MAX_LEVEL. BZLZHH 2025-11-01 16:20:25 +08:00
  • 6c4340af43 [Feat] (MG_Backend/DirectGLES): Handle newly added params in backend. BZLZHH 2025-11-01 16:03:06 +08:00
  • cb768f9644 [Feat] (MG_Impl/Texture): Handle newly added params in TexParameter*. BZLZHH 2025-11-01 16:00:35 +08:00
  • 5ffc4d1e2d [Feat] (MG_Utils/Converters): Add converters for TextureSwizzleParam. BZLZHH 2025-11-01 15:51:58 +08:00
  • 4d8db7fb3b [Feat] (MG_State/TextureState): Implement full texture parameter track. BZLZHH 2025-11-01 15:49:16 +08:00
  • dfb08ac8b0 [Fix] (MG_Backend/DirectGLES): Ensure other methods for buffer syncing available. BZLZHH 2025-11-01 13:39:01 +08:00
  • e8d6cd4b31 [Feat] (...): Implement glDrawArrays. BZLZHH 2025-11-01 13:06:18 +08:00
  • 0ae69cfe9e [Fix] (MG_Impl/Getter): Fix wrong return value for GL_ACTIVE_TEXTURE. BZLZHH 2025-11-01 12:32:40 +08:00
  • 3858e8ebda [Fix] (MG_Impl/Getter): Fix crashing when object is nullptr in GetIntegerv. BZLZHH 2025-11-01 12:24:07 +08:00
  • 7abd9af8b6 [Fix] (MG_State/TextureState): Add missing TextureUnit::GetSamplerObject() BZLZHH 2025-11-01 12:03:20 +08:00
  • c4992797c7 [Feat] (MG_Impl/Getter): Implement basic GetIntegerv. BZLZHH 2025-11-01 11:58:53 +08:00
  • 394cf14198 [Feat] (MG_State/TextureObject): Add missing TextureObjectBase::GetExternalIndex() BZLZHH 2025-11-01 11:30:17 +08:00
  • 1269bc76f3 [Feat] (MG_State): Add external index getter for each object. BZLZHH 2025-11-01 10:47:59 +08:00
  • 8da681c720 [Fix] (MG_State/ProgramState): Handle version directive in shader source. BZLZHH 2025-11-01 10:07:36 +08:00
  • 9b0589840b [Fix] (MG_Test/VertexArrayTest): Allow default VAO. BZLZHH 2025-10-31 15:29:25 +08:00
  • d36e42103b [Feat] (MG_Impl/VertexArrayState): Allow VAO at index 0. BZLZHH 2025-10-31 14:40:47 +08:00
  • 731281eb61 [Feat] (MG_State/VertexArrayState): Implement default VAO at index 0. BZLZHH 2025-10-31 14:40:14 +08:00
  • 6959405518 [Fix] (MG_Impl/TextureImpl|FramebufferImpl): Handle texture 0. BZLZHH 2025-10-31 14:13:38 +08:00
  • 73f8b88b5c [Fix] (MG_Backend): Fix RendererInfoPtr not accessible. BZLZHH 2025-10-31 13:44:51 +08:00
  • d982928a23 [Improvement] (...): Optimize code. BZLZHH 2025-10-31 13:29:48 +08:00
  • 2652a12fdc [Fix] (Scripts): Ensure full bar at 100% in formatting script. BZLZHH 2025-10-31 12:44:49 +08:00
  • e190f3887d [Feat] (GLImpl/Sync): manifold for Sync swung0x48 2025-10-30 22:59:39 +08:00
  • b82c481605 [Feat] (MG_Backend/DirectGLES, GL_Impl/Getter): hardcode getter, sync some sampler parameters swung0x48 2025-10-29 16:39:03 +08:00
  • 683d8b35bf [Feat] (MG_Impl/Exporting): Unstub MapBufferRange swung0x48 2025-10-29 16:36:30 +08:00
  • 2416225502 [Fix] (MG_State/ProgramState): select correct binary to do reflection swung0x48 2025-10-29 10:28:59 +08:00
  • 1d00808719 [Fix] (MG_Util/Types): Memcpy really should not be constexpr swung0x48 2025-10-29 09:20:50 +08:00
  • 798898b9ad [Feat] (MG_Impl/GLImpl): relax check for DepthComponent32 to workaround misuse in Minecraft 1.21.5+ swung0x48 2025-10-28 22:27:40 +08:00
  • 6927f81754 [Feat] (MG_Backend/DirectGLES): properly implement BlitFramebuffer swung0x48 2025-10-28 21:48:46 +08:00
  • 0e01a7281e [Fix] (MG_State/GL_Texture): SubImage2D missing a row of texels swung0x48 2025-10-28 16:57:06 +08:00
  • b3e7987985 [Fix] (MG_Backend/DirectGLES): properly sync integer vertex pointer swung0x48 2025-10-28 15:43:35 +08:00
  • 67475fcf34 [Fix] (MG_Backend/DirectGLES): properly bind global UBO swung0x48 2025-10-28 14:46:57 +08:00
  • 2597a184f0 [Fix] (MG_Backend/DirectGLES): sync more states at Clear() swung0x48 2025-10-28 13:45:05 +08:00
  • de78e423fd [Fix] (MG_State/GL_Texture): take GL_UNPACK_SKIP_PIXELS and GL_UNPACK_SKIP_ROWS into account swung0x48 2025-10-28 12:13:46 +08:00
  • 7151080a67 [Fix] (Types, GL_Texture): Memcpy insanity, proxy texture fix swung0x48 2025-10-28 11:49:08 +08:00
  • bd01e4f99d [Fix] (MG_Util/TextureMetrics, MG_State/Texture): reimplement TextureMetrics, attempting to fix glTexSubImage2D swung0x48 2025-10-28 10:17:56 +08:00
  • 507476d513 [Feat] (MG_Backend/DirectGLES): sync PBO swung0x48 2025-10-27 17:00:42 +08:00
  • 56c6d73185 [Feat] (MG_State/ProgramObject, MG_Backend/DirectGLES): bind texture to uniform in backend swung0x48 2025-10-27 15:45:36 +08:00
  • 460b7a6eb3 [Chore] (MG_Backend/DirectGLES/Manager): log backend glGetError on failure swung0x48 2025-10-27 14:25:31 +08:00
  • 9883ab47fa Merge branch 'dev' into Feat/Backend-Direct-GLES swung0x48 2025-10-27 13:42:31 +08:00
  • 5b3d5c998a [Feat] (MG_State/ProgramObject, MG_State/GL_Program): implement sampler unit in program state swung0x48 2025-10-27 13:17:42 +08:00
  • 8e5cc46577 [Chore] (MG_State/ProgramObject): directly use TProgram for reflection swung0x48 2025-10-27 12:59:55 +08:00
  • e31f3b8057 Merge branch 'dev' into Feat/Backend-Direct-GLES BZLZHH 2025-10-27 12:06:51 +08:00
  • 47ea1788db [Chore] (All): Format code. BZLZHH 2025-10-27 12:03:05 +08:00