Commit Graph
963 Commits
Author SHA1 Message Date
BZLZHH 2abdebcd96 [Fix] (MG_Backend/DirectVulkan): Acquire next frame image only at the start of frame. 2026-02-08 18:56:25 +08:00
BZLZHH e39af3b940 [Fix|Refactor] (MG_Backend/DirectVulkan): Fix incorrect vkAcquireNextImageKHR call. MOBILEGL_ASSERT_VK -> VK_VERIFY. 2026-02-08 16:28:12 +08:00
BZLZHH 3b2c2028b9 [Feat] (MG_Backend/DirectVulkan): Present frame in eglSwapBuffers. 2026-02-08 14:58:42 +08:00
BZLZHH 55020a1e86 [Improvement] (MG_Backend/DirectVulkan): Unify error handling. 2026-02-08 14:48:04 +08:00
swung0x48 6d4ddc47f6 [Fix] (MG_Backend/DirectVulkan): request Vulkan 1.1 (to make renderdoc happy) 2026-02-08 13:47:27 +08:00
swung0x48 2aff5dc650 [Fix] (MG_Impl/EGL/EGLForVulkan): use GL semantics for demo shader 2026-02-08 13:31:51 +08:00
swung0x48 7aa7b82628 [Fix] (buildsystem): fix build on Android 2026-02-08 11:51:14 +08:00
swung0x48 fd530156a6 [Fix] (buildsystem): fix build on Windows 2026-02-08 10:00:08 +08:00
BZLZHH 56c98041e3 [Misc] (MG_Backend/DirectVulkan): Prioritize MAILBOX/IMMEDIATE present modes. 2026-02-08 01:09:12 +08:00
BZLZHH 6eeb67f08b Merge branch 'dev' into Feat/Backend-Direct-Vulkan 2026-02-07 12:32:16 +08:00
BZLZHH 155aaa0d4b [Docs] (README): Improve accuracy. 2026-02-07 12:32:03 +08:00
BZLZHH 9a6cf7fc7f Merge branch 'dev' into Feat/Backend-Direct-Vulkan 2026-02-07 11:41:11 +08:00
BZLZHH aaeb2711ff Merge branch 'Feat/Backend-Direct-GLES' into dev 2026-02-07 11:25:28 +08:00
BZLZHH d4d0407a1c [Fix] (MG_Backend/DirectGLES): Fix GetTexImage. 2026-02-06 21:42:07 +08:00
BZLZHH eb3621cb3c Revert "[Misc] (MG_Backend/DirectGLES): Handle GL_BGRA as GL_RGBA in ReadPixels and GetTexImage."
This reverts commit 2ad7e2da40.
2026-02-06 20:48:01 +08:00
BZLZHH 2ad7e2da40 [Misc] (MG_Backend/DirectGLES): Handle GL_BGRA as GL_RGBA in ReadPixels and GetTexImage. 2026-02-06 20:21:10 +08:00
BZLZHH a7d8e90600 [Feat] (MG_Backend/DirectGLES|MG_Impl): Initial implementions of GetTexImage and ReadPixels. 2026-02-06 20:14:18 +08:00
BZLZHH e8f385820a Merge branch 'Feat/Backend-Direct-GLES' into dev 2026-02-06 01:11:55 +08:00
BZLZHH 07927dc4a3 [Feat] (MG_Backend/DirectGLES): Sync indexed blend states. 2026-02-06 01:05:18 +08:00
BZLZHH 91eb75a95d [Feat] (MG_Impl/RenderState): Implement Enablei, Disablei, BlendFuncSeparatei, IsEnabled, IsEnabledi. 2026-02-06 01:03:51 +08:00
BZLZHH a109675f1f [Feat] (MG_State/RenderState): Support indexed blend states. 2026-02-06 00:41:30 +08:00
BZLZHH 78f42b5cd0 Merge branch 'Feat/Backend-Direct-GLES' into dev 2026-02-05 22:00:49 +08:00
BZLZHH 68bdea41d2 [Fix] (*/Texture*): Correctly handle the format in CopyTexImage2D. 2026-02-05 21:50:14 +08:00
BZLZHH 00eb158196 [Feat] (MG_Util/Converters): Add ConvertInternalFormatToUnsized. 2026-02-05 18:06:26 +08:00
BZLZHH 3b27533793 [Fix] (MG_Backend/DirectGLES): Bind current texture in CopyTexImage2D. 2026-02-05 16:50:56 +08:00
swung0x48 93f08e251d [Fix] (MG_Util/ShaderTranspiler): forcefully disable validator of spvtools 2026-02-05 15:59:14 +08:00
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
swung0x48 8e962345e4 [Fix] (MG_Backend/DirectGLES): remove depth tex copy codepath, fixing FBO state leak 2026-02-05 12:22:11 +08:00
swung0x48 5319367869 [Feat] (MG_Backend/DirectGLES): assertion to check FBO cache integrity 2026-02-05 12:21:32 +08:00
swung0x48 e351ef9f41 [Fix] (MG_Impl/Texture): mark dirty only when pixel transfer happens 2026-02-05 12:20:42 +08:00
swung0x48 4bfa8ce934 [Fix] (MG_State/Framebuffer): properly bump FBO version 2026-02-05 12:20:06 +08:00
swung0x48 6855ae42ef [Feat] (MG_Backend/DirectGLES): add assertion checks against FBO cache 2026-02-05 10:34:24 +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
swung0x48 de8342a96b Revert "[Optimize] (MG_Backend/DirectGLES): Texture object mipmap dirty bit"
This reverts commit 8f551794
2026-02-04 22:56:28 +08:00
swung0x48 6577e1bcc1 [Feat] (MG_Util/Converters): add depth formats to ConvertInternalFormatToSized 2026-02-04 22:01:44 +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
swung0x48 d13a19126b [Fix] (MG_Backend/DirectGLES): properly handle default fbo's attachment? 2026-02-04 16:20:51 +08:00
swung0x48 dfaa2c259b [Fix] (MG_State/Framebuffer): bump attachmentVersions on SetDrawBuffer 2026-02-04 16:19:57 +08:00
swung0x48 cb27ebc576 [Feat] (MG_Util/Converters): add symbolic constants for default FBO into ConvertFramebufferAttachmentTypeToGLEnum 2026-02-04 15:51:16 +08:00
swung0x48 fd5cc2e5c1 [Feat] (MG_Util/Converters): add symbolic constants for default FBO into ConvertGLEnumToFramebufferAttachmentType 2026-02-04 15:34:41 +08:00
swung0x48 5bfb55cfd8 [Fix] (MG_Backend/DirectGLES): re-implement glClearBuffer* 2026-02-04 14:44:41 +08:00
swung0x48 1b47f1bb92 [Fix] (MG_Backend/DirectGLES): re-implement FBO sync, attachment remapping 2026-02-04 14:42:48 +08:00
swung0x48 f4ce17af51 [Perf] (MG_Backend/DirectGLES): skip redundant attachment object sync 2026-02-04 10:42:23 +08:00
swung0x48 2088009c01 [Fix] (MG_Backend/DirectGLES): direct draw buffer mapping, fix up simple case 2026-02-04 10:27:01 +08:00
swung0x48 77378bbf07 [Fix] (MG_Backend/DirectGLES): fix renaming error in BackendFramebufferObject::SyncToBackend 2026-02-03 23:43:55 +08:00