Commit Graph
100 Commits
Author SHA1 Message Date
BZLZHH cd3936666d [Fix] (MG_Backend/DirectGLES): Bind current read FBO in CopyTexImage2D. 2026-02-05 15:27:55 +08:00
BZLZHH 41c8850846 [Feat] (MG_Backend/DirectGLES): Try to handle CopyTex*Image2D for depth textures. 2026-02-05 15:16:10 +08:00
BZLZHH 8fe266e027 [Fix] (MG_Test/BufferObject): Migrate to the new API for dirty ranges. 2026-02-05 14:00:23 +08:00
BZLZHH 9af964de67 [Fix] (MG_Backend/DirectGLES): Remove the use of glVertexAttribFormat. 2026-02-05 13:30:30 +08:00
BZLZHH 9f4c9b61a0 [Fix] (MG_Backend/DirectGLES): Correctly sync attrib.Divisor when attrib.Buffer changes. 2026-02-05 12:54:22 +08:00
BZLZHH 7fd9eb15d3 Merge remote-tracking branch 'refs/remotes/origin/Feat/Backend-Direct-GLES' into Feat/Backend-Direct-GLES 2026-02-05 02:48:58 +08:00
BZLZHH 319806c48a [Chore] (CMake): Support using check_c*_compiler_flag to detect LTO capability. 2026-02-05 00:55:42 +08:00
BZLZHH 07638b8577 [Fix] (MG_Backend/DirectGLES): Fix incorrect active texture unit when binding not dirty. 2026-02-04 17:51:56 +08:00
BZLZHH 74509ae0a3 [Perf] (MG_Backend/DirectGLES): No need to use shared_ptr for g_boundVertexBufferObject. 2026-02-03 21:07:14 +08:00
BZLZHH f0ab82ea2a [Fix] (MG_Backend/DirectGLES): Fix VBO binding state leakage. 2026-02-03 21:02:54 +08:00
BZLZHH d251bd3a91 Merge remote-tracking branch 'origin/dev' into Feat/Backend-Direct-GLES 2026-02-03 20:35:06 +08:00
BZLZHH 5addbb3bdd [Perf] (MG_Backend/DirectGLES): Add RenderState sync cache. 2026-02-03 18:42:05 +08:00
BZLZHH 8e3bbda2f2 [Fix] (MG_State/RenderState): Versioning for SetColorMask. 2026-02-03 18:24:26 +08:00
BZLZHH eb4a81b55f Merge remote-tracking branch 'refs/remotes/origin/Feat/Backend-Direct-GLES' into Feat/Backend-Direct-GLES 2026-02-03 17:51:19 +08:00
BZLZHH ea098c0409 [Feat|Refactor] (MG_State/RenderState): Versioning for RenderStateParameters. 2026-02-03 17:50:46 +08:00
BZLZHH fc9653f460 Merge remote-tracking branch 'refs/remotes/origin/Feat/Backend-Direct-GLES' into Feat/Backend-Direct-GLES 2026-02-03 17:30:47 +08:00
BZLZHH afa89772e7 [Refactor] (MG_State/RenderState): Separate RenderStateParameters from RenderState. 2026-02-03 17:29:55 +08:00
BZLZHH 4db0fe58c0 Merge remote-tracking branch 'origin/Feat/Backend-Direct-GLES' into Feat/Backend-Direct-GLES 2026-02-03 16:44:21 +08:00
BZLZHH 5eff8b2e30 [Perf] (MG_Backend/DirectGLES): Add cache for Texture and Sampler binding. 2026-02-03 16:44:00 +08:00
BZLZHH b966ef8b5e [Chore] (CMake): DO not link static lib for Android. 2026-02-03 16:36:40 +08:00
BZLZHH 207b746273 [Perf] (MG_Backend/DirectGLES): Avoid redunant VBO binding. 2026-02-03 11:41:23 +08:00
BZLZHH 1143c961b6 [Perf] (MG_Backend/DirectGLES): Use glVertexAttribFormat to avoid redunant buffer binding. 2026-02-03 02:52:34 +08:00
BZLZHH 2fab6c5b0b [Fix] (MG_Backend/DirectGLES): Always bind VBO before glVertexAttribPointer. 2026-02-03 02:38:50 +08:00
BZLZHH 42ad1634bf [Perf] (MG_State|MG_Util): Do not bump resource version when nothing changes. 2026-02-03 02:17:09 +08:00
BZLZHH 8e897d54a2 [Perf] (MG_Backend/DirectGLES): Skip IBO binding for VA when not dirty. 2026-02-03 01:52:24 +08:00
BZLZHH 863aa77ff0 [Feat] (MG_Util): Versioning for BindingSlot. 2026-02-03 01:49:46 +08:00
BZLZHH 5e3cb98934 [Perf] (MG_Backend/DirectGLES): Use SwitchDirty in VA. 2026-02-03 01:37:27 +08:00
BZLZHH c301591dcc [Feat] (MG_State/VertexArrayState): Add SwitchVersion for VA. 2026-02-03 01:33:50 +08:00
BZLZHH 5c63515259 [Feat|Perf|Fix] (MG_Backend/DirectGLES): Skip redundant sync for VA when not dirty. 2026-02-03 01:29:30 +08:00
BZLZHH 0ae1b76262 [Feat] (MG_State/VertexArrayState): Replace dirty mark with resource version for VA. 2026-02-03 01:27:58 +08:00
BZLZHH 99d32439a8 [Perf] (MG_Backend/DirectGLES): Remove binding state protectors. 2026-02-03 00:42:24 +08:00
BZLZHH 4225cc4333 [Feat|Perf] (MG_Backend/DirectGLES): Skip whole texture params sync when not dirty. 2026-02-03 00:17:02 +08:00
BZLZHH 7daa69cf73 [Feat] (MG_State/TextureState): Add resource version for texture params. 2026-02-03 00:15:50 +08:00
BZLZHH 653ca9ea74 [Feat|Perf] (MG_Backend/DirectGLES): Skip whole sampler object when not dirty. 2026-02-03 00:08:25 +08:00
BZLZHH 3f0744a8ce [Chore] (CMake): Use ThinLTO with priority if possible. 2026-02-02 22:57:29 +08:00
BZLZHH 7f1cb14d33 [Feat] (MG_State/SamplerState): Add resource version. 2026-02-02 22:01:48 +08:00
BZLZHH de17fdf5b0 [Misc] (MG_Backend/DirectGLES): Separate BackendTextureObject::SyncToBackend 2026-02-02 20:35:03 +08:00
BZLZHH 39a8e72ee9 [Perf] (MG_Backend/DirectGLES): Directly sync texture objects instead of collecting first. 2026-02-02 18:28:17 +08:00
BZLZHH 3d420f6d12 Merge branch 'dev' into Feat/Backend-Direct-GLES 2026-02-02 02:29:47 +08:00
BZLZHH 1e58be34da Merge remote-tracking branch 'origin/Feat/Backend-Direct-GLES' into Feat/Backend-Direct-GLES 2026-02-02 02:28:56 +08:00
BZLZHH 0cf9d9223d [Feat|Perf] (*/BufferState): Improve dirty mark for Buffer. 2026-02-02 02:25:41 +08:00
BZLZHH f0ccd40a6b [Docs] (README): Update status & improve descriptions. 2026-01-31 16:15:46 +08:00
BZLZHH 2f39c43270 [Docs] (README): Update status. 2026-01-31 15:41:52 +08:00
BZLZHH 1021a7f741 Merge branch 'Feat/Backend-Direct-GLES' into dev 2026-01-31 12:52:56 +08:00
BZLZHH 91650e29c5 [Misc] (...): Fix typo. 2026-01-31 12:50:52 +08:00
BZLZHH b112fc0408 Merge branch 'Feat/Backend-Direct-GLES' into dev 2026-01-31 08:57:23 +08:00
BZLZHH d0f54395c7 [Chore] (CMake): Use googletest v1.17.0 2026-01-30 20:59:52 +08:00
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