Commit Graph
100 Commits
Author SHA1 Message Date
BZLZHH 20fbfc2956 [Chore] (LICENSE): Switch project license to LGPLv3. 2026-01-18 09:33:33 +08:00
BZLZHH 28c15148f2 [Fix] (...): Some fix for TexSubImage2D(MG_Impl) and ... 2026-01-02 19:40:05 +08:00
BZLZHH 3822d8169a [Docs] (README): Better build instructions. 2026-01-02 18:28:42 +08:00
BZLZHH 8db0841949 [Improvement] (CMake): Unify CMake options. 2026-01-02 18:14:44 +08:00
BZLZHH e5c0782615 [Fix|Chore] (3rdparty): Update glslang for disabling GL_ARB_derivative_control. 2026-01-01 13:54:38 +08:00
BZLZHH b68d2859e8 [Feat] (MG_Util|MG_State/TextureState): Add TexturePixelDataType::HalfFloat and TexturePixelDataType::UnsignedInt248. Handle TexturePixelDataType::Float32UnsignedInt248Rev. 2026-01-01 13:17:25 +08:00
BZLZHH 21dcbc9e52 [Chore] (CI): Use Ninja and clang. 2026-01-01 12:16:26 +08:00
BZLZHH e4f027e13b [Fix] (MG_Util): Skip GLES initializing if the libs do not exist. 2026-01-01 11:32:12 +08:00
BZLZHH 876195de80 Revert "[Fix] (...): Skip external libraries loading for MG_Test and MG_Bench."
This reverts commit da0e326534.
2026-01-01 10:49:01 +08:00
BZLZHH e298e5be51 Revert "[Chore] (...): Cmake option MOBILEGL_FORCE_SKIP_EXTERNAL_LIB_LOADING."
This reverts commit 0b262d4f3a.
2026-01-01 10:48:49 +08:00
BZLZHH 0b262d4f3a [Chore] (...): Cmake option MOBILEGL_FORCE_SKIP_EXTERNAL_LIB_LOADING. 2026-01-01 01:48:30 +08:00
BZLZHH da0e326534 [Fix] (...): Skip external libraries loading for MG_Test and MG_Bench. 2026-01-01 01:33:11 +08:00
BZLZHH 3714e275ab [Chore] (All): Update copyright year in source code files. 2026-01-01 00:42:06 +08:00
BZLZHH ee4dc70336 [Fix] (...): Avoid some weird crashes. 2026-01-01 00:41:23 +08:00
BZLZHH 7c2380ccce [Chore] (MG_Util): Always skip patch string when == 0 for Version. 2026-01-01 00:27:11 +08:00
BZLZHH adc927668b [Chore] (Config): Bump version to 26.01 2026-01-01 00:05:11 +08:00
BZLZHH 04335fdad7 [Chore] (LICENSE): Update copyright year in LICENSE. 2026-01-01 00:00:40 +08:00
BZLZHH e7d9da42dc [Chore] (All): Adjust copyright declaration. 2025-12-31 21:49:54 +08:00
BZLZHH 58b620dee3 [Feat] (MG_Backend|MG_State/ProgramState): Add default fragment shader if missing for backends requiring FS. 2025-12-31 21:09:19 +08:00
BZLZHH c902721683 [Feat] (MG_State/RenderbufferState): Add RenderbufferObject::GetExternalIndex() 2025-12-31 19:57:46 +08:00
BZLZHH e5c3a6beba [Feat] (MG_Backend/DirectGLES): Add cache for backend RBO. 2025-12-31 19:52:12 +08:00
BZLZHH 937ace68a6 [Feat] (MG_Backend/DirectGLES): Sync RBO in backend. 2025-12-31 19:45:49 +08:00
BZLZHH 2c214affbe [Fix] (MG_Impl/Framebuffer): Correctly set internal format for RBO. 2025-12-31 19:45:11 +08:00
BZLZHH 9f4a1041ba Merge branch 'dev' into Feat/Backend-Direct-GLES 2025-12-31 15:46:56 +08:00
BZLZHH 8ed8efe347 [Chore] (All): Add standardized source file header and update script. 2025-12-31 15:45:34 +08:00
BZLZHH de028204a2 [Feat] (MG_Backend/DirectGLES): Implement ClearBuffer* in backend. 2025-12-14 12:06:48 +08:00
BZLZHH 5071a98e00 [Feat] (MG_Impl/Framebuffer): Add ClearBuffer*. 2025-12-14 11:37:15 +08:00
BZLZHH 4f1def412c [Fix] (MG_State/RenderBufferState): Add missing RenderbufferObject::GetSamples 2025-12-14 11:30:49 +08:00
BZLZHH 9ab001bf75 [Feat] (MG_Impl/Framebuffer): Implement renderbuffer funcs. 2025-12-14 11:28:02 +08:00
BZLZHH 69a7374b51 [Feat] (MG_Utils/Converters): Converters for Renderbuffer enum. 2025-12-14 11:26:47 +08:00
BZLZHH e4cc101639 [Docs] (README): Fix funny link. 2025-12-14 11:25:13 +08:00
BZLZHH 3063374834 [Feat] (MG_State/RenderbufferObject): Better RenderbufferObject. 2025-12-14 11:17:09 +08:00
BZLZHH 100d5bca99 [Feat] (MG_Util/Types): Add ComponentSizes. 2025-12-14 11:15:27 +08:00
BZLZHH 711e427b76 [Feat] (MG_State): Integration with RenderbufferState. 2025-12-14 09:49:55 +08:00
BZLZHH 5bb9faaaa5 [Feat] (MG_State/RenderBufferState): Initially implement RenderbufferState. 2025-12-14 09:40:36 +08:00
BZLZHH 96c3024544 Merge remote-tracking branch 'origin/Feat/Backend-Direct-GLES' into Feat/Backend-Direct-GLES 2025-12-14 08:17:48 +08:00
BZLZHH 5d2a954b4b [Misc] (MG_Impl/Getter): Stub for GL_MAX_SAMPLES. 2025-12-14 08:17:07 +08:00
BZLZHH 56f45499e1 [Feat] (MG_Backend/DirectGLES): Set divisor for VAO attrib. 2025-12-07 11:07:58 +08:00
BZLZHH 4089a42d3b [Feat] (MG_Impl/VertexArray): Implement VertexAttribDivisor. 2025-12-07 11:03:22 +08:00
BZLZHH 13abb24324 [Feat] (MG_State/VertexArrayState): Implement divisor. 2025-12-07 11:03:00 +08:00
BZLZHH 407d57e9b9 [Feat] (MG_Impl/Drawing): Implement more draw funcs. 2025-12-07 10:50:26 +08:00
BZLZHH b3824c871c [Feat] (MG_Backend/DirectGLES): Implement more draw funcs. Add DrawSyncBit. 2025-12-07 10:50:13 +08:00
BZLZHH 1da2550774 [Chore] (...): Use Calender Versioning. 2025-12-07 09:41:25 +08:00
BZLZHH ecc91290cb [Docs] (README): Better introduction. 2025-12-07 02:13:02 +08:00
BZLZHH c69cae1ba2 [Docs] (README): Introduce this project. 2025-12-07 02:03:32 +08:00
BZLZHH 9934b1b2b3 [Chore] (3rdparty): Remove unordered_dense. 2025-12-07 01:18:42 +08:00
BZLZHH 5860856bc1 [Chore] (3rdparty): Remove glm. 2025-12-07 01:17:16 +08:00
BZLZHH 6293f3f0ab [Feat] (MG_State/TextureState): Add GL_FLOAT_32_UNSIGNED_INT_24_8_REV. 2025-11-30 11:42:20 +08:00
BZLZHH 7a9cb2dafb [Fix] (MG_Backend/DirectGLES): Handle more internal format. 2025-11-30 11:24:21 +08:00
BZLZHH e8b668a701 Merge branch 'Feat/Backend-Direct-GLES' of github.com:MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES 2025-11-30 10:13:43 +08:00
BZLZHH fe741f892e [Fix] (MG_Util/Metrics): Handle TextureInternalFormat::Red 2025-11-30 10:13:31 +08:00
BZLZHH 3ba9709748 Merge branch 'Feat/Backend-Direct-GLES' of github.com:MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES 2025-11-29 23:06:34 +08:00
BZLZHH 51554eac7c [Perf|Fix] (MG_Backend/DirectGLES): Clear dirty after buffer sync. 2025-11-29 22:57:40 +08:00
BZLZHH a9c49cbc77 [Feat] (MG_Impl/Getter|CMake): Show git commit hash. Adjust some texts. 2025-11-29 21:21:13 +08:00
BZLZHH d1c58904f4 [Fix] (MG_Backend/DirectGLES): Bind sampler object in backend. 2025-11-29 20:02:08 +08:00
BZLZHH 49e80ae4cf [Fix] (MG_Backend/DirectGLES): Fix sampler sync. 2025-11-29 20:01:33 +08:00
BZLZHH 37ffacb373 [Fix] (MG_State/ProgramState): Add CompileForOpenGL bit for shader compilation. 2025-11-29 19:27:39 +08:00
BZLZHH a87a828297 [Fix] (MG_Backend/DirectGLES): Also sync minFilter when mipmapMode changes. 2025-11-29 18:06:26 +08:00
BZLZHH 882a9302e5 [Fix] (MG_Backend/DirectGLES): Remove incorrect branch to skip unit binding sync. 2025-11-29 18:04:10 +08:00
BZLZHH b048037145 [Perf] (MG_Backend/DirectGLES): Enable invalidate when syncing buffer data. 2025-11-29 17:59:43 +08:00
BZLZHH d2d95cb4cc [Fix] (MG_State/SamplerState): mipmapMode should be None by default. 2025-11-29 17:56:38 +08:00
BZLZHH 1a9f546309 [Feat] (MG_Util/BackendLoaders): Detect buffer storage extension. 2025-11-29 14:26:01 +08:00
BZLZHH 521bcadbee [Fix] (...): Fix code mess. 2025-11-29 01:43:58 +08:00
BZLZHH 7a30c56b13 [Improvement] (MG_Backend/DirectGLES): Add cache for swizzle params. 2025-11-29 01:35:58 +08:00
BZLZHH 32c062d019 [Feat] (MG_State/TextureState): Add ITextureObject::GetAllSwizzleParams 2025-11-29 01:33:58 +08:00
BZLZHH 75fc52febe [Feat] (MG_State/TextureState): Stubs for unimplemented texture types. 2025-11-29 01:31:41 +08:00
BZLZHH 6ba9382321 [Feat] (MG_Util/Converters): More converters for Texture enum. 2025-11-29 01:23:34 +08:00
BZLZHH 8ca8fa1520 [Perf|Fix] (MG_Backend/DirectGLES): Improve perf. 2025-11-29 01:21:34 +08:00
BZLZHH 936abafde9 Revert "[Improvement] (MG_State/TextureState): Separate TextureStorage.h into .cpp/.h"
This reverts commit 657c672899.
2025-11-28 22:37:49 +08:00
BZLZHH e72bdb67b5 [Feat] (MG_State/TextureState): Add more TextureUploadTarget. 2025-11-28 21:37:47 +08:00
BZLZHH 657c672899 [Improvement] (MG_State/TextureState): Separate TextureStorage.h into .cpp/.h 2025-11-28 21:09:14 +08:00
BZLZHH a6b34ee5bf [Chore] (...): Format code. 2025-11-28 15:17:50 +08:00
BZLZHH c67e6e26fa [Fix] (MG_Backend/DirectGLES): Do not bind PBO. 2025-11-28 15:16:07 +08:00
BZLZHH 9cd749b707 [Improvement] (All): Better assertion. 2025-11-23 10:27:01 +08:00
BZLZHH 131c9a2db6 [Improvement] (MG_Impl/Sampler): Create sampler object even when not bound. 2025-11-16 02:19:16 +08:00
BZLZHH fe7af0839e [Fix] (MG_Impl/Getter): Fix wrong error record for GL_MAX_COLOR_ATTACHMENTS and GL_MAX_DRAW_BUFFERS. 2025-11-16 02:16:23 +08:00
BZLZHH 6b6f224e1e [Feat] (MG_Backend/DirectGLES): Implement sampler object sync. 2025-11-16 01:31:24 +08:00
BZLZHH 850081d313 [Feat] (MG_State/SamplerState): Uniform SamplerParameters. 2025-11-16 00:43:23 +08:00
BZLZHH 60bb091927 [Feat] (MG_Impl/Sampler): Implement full sampler object frontend. 2025-11-16 00:36:21 +08:00
BZLZHH 3809a9f52f [Feat] (MG_State/SamplerState): Implement SamplerState. 2025-11-15 23:53:54 +08:00
BZLZHH c664815fee [Fix] (MG_Backend/DirectGLES): Do not upload junk data for texture. 2025-11-15 23:32:11 +08:00
BZLZHH 784b53344c [Feat] (MG_State/TextureState|MG_Impl/Texture): Add hasData mark for MipmapLevelInternal. 2025-11-15 23:17:01 +08:00
BZLZHH 8b39e3c8a9 [Feat] (MG_Impl/Texture): Implement PBO. 2025-11-15 23:02:00 +08:00
BZLZHH e944944e7c [Misc] (MG_Impl/Getter): GL_MAX_COLOR_ATTACHMENTS in GetIntegerv. 2025-11-15 22:41:30 +08:00
BZLZHH 7af4c7d71b [Fix] (MG_State/FramebufferState): Set default readBuffer value as Color0. 2025-11-15 22:09:57 +08:00
BZLZHH 845f699e3f [Fix] (MG_State/FramebufferState): FramebufferAttachment::IsEmpty should be const. 2025-11-15 21:57:43 +08:00
BZLZHH 49b66c30c1 [Feat] (MG_State/TextureState|MG_Impl/Texture): Add fake CubeMapTexture support. 2025-11-15 21:47:50 +08:00
BZLZHH a0cc3e5f3e [Misc] (MG_Impl/Getter): Hardcode the value returned by GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT as 256. 2025-11-15 21:40:25 +08:00
BZLZHH 2ce2d1c731 [Misc] (MG_State/ProgramState): Better log. 2025-11-15 21:39:01 +08:00
BZLZHH e85b067314 [Fix] (MG_Backend/DirectGLES|MG_Impl/Program): Correct UBO binding. 2025-11-15 21:37:08 +08:00
BZLZHH 4cb82e2e50 [Fix] (MG_Backend/DirectGLES): Correct MRT sync. 2025-11-15 21:34:40 +08:00
BZLZHH 2534394df3 [Improvement] (MG_Backend/DirectGLES): Better buffer sync. 2025-11-15 21:31:34 +08:00
BZLZHH 1c8af9253b [Improvement] (MG_Backend): Better log. 2025-11-15 14:35:44 +08:00
BZLZHH ac5c26af99 [Feat] (MG_Impl/Drawing): Export glDrawElementsBaseVertex. 2025-11-15 14:16:40 +08:00
BZLZHH 1f831d79a9 [Chore] (Include): Remove junk files. 2025-11-14 13:34:03 +08:00
BZLZHH 651c91f78e [Chore] (Gradle): Upgrade NDK version. 2025-11-14 12:43:31 +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
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