Commit Graph
100 Commits
Author SHA1 Message Date
swung0x48 ad6ffbe42e [Fix] (MG_Backend/DirectVulkan): create framebuffer and renderpass 2026-02-14 12:34:45 +08:00
swung0x48 5f94f72be5 [Fix] (MG_Backend/DirectVulkan): create command pool and command buffer 2026-02-14 10:21:25 +08:00
swung0x48 0ce95894a3 [Fix] (MG_Backend/DirectVulkan): fix present mode pick logic 2026-02-14 09:27:45 +08:00
swung0x48 beb9301282 [Feat] (MG_Backend/DirectVulkan): get rid of stuff that no longer needed 2026-02-13 15:24:18 +08:00
swung0x48 0822cb871d [Feat] (MG_Test/Backend/DirectVulkan): swapchain image view 2026-02-12 21:37:33 +08:00
swung0x48 bfea5dc8ba [Feat] (MG_Backend/DirectVulkan): get swapchain images 2026-02-12 19:03:46 +08:00
swung0x48 9fb5a38172 [Feat] (MG_Backend/DirectVulkan): create swapchain 2026-02-12 13:50:06 +08:00
swung0x48 74ff24e4a4 [Feat] (MG_Backend/DirectVulkan): more friendly device picker log 2026-02-12 12:55:18 +08:00
swung0x48 178dbd33ba [Feat] (MG_Backend/DirectVulkan): inspect ChooseSwapchainSurfaceFormat, ChooseSwapchainPresentMode 2026-02-12 12:27:13 +08:00
swung0x48 f5e59b1c84 [Feat] (MG_Backend/DirectVulkan): inspect SwapchainCapabilities 2026-02-12 11:43:34 +08:00
swung0x48 ba7bf87ee0 [Feat] (MG_Backend/DirectVulkan): retrieve and check device extension 2026-02-12 11:08:57 +08:00
swung0x48 99bc2e121b [Feat] (MG_Test/Backend/DirectVulkan): pick and compare physical device 2026-02-12 00:07:52 +08:00
swung0x48 341749706d [Feat] (MG_Test/Backend/DirectVulkan): graphics queue and present queue 2026-02-11 23:20:31 +08:00
swung0x48 a25bfcb0d0 [Fix] (MG_Test/Backend/DirectVulkan): prevents double init 2026-02-11 22:54:07 +08:00
swung0x48 b2ea29b91d [Chore] (MG_Test/Backend/DirectVulkan): create surface first, then logical device 2026-02-11 22:53:50 +08:00
swung0x48 a28f5eeee6 [Feat] (MG_Backend/DirectVulkan): refactor queue family stuff 2026-02-11 18:04:24 +08:00
swung0x48 2febb10319 [Feat] (MG_Backend/DirectVulkan): Create vkSurfaceKHR 2026-02-11 17:20:39 +08:00
swung0x48 ae3a27bf06 [Feat] (MG_Backend/DirectVulkan): Create logical device 2026-02-11 15:32:56 +08:00
swung0x48 5a751a6745 [Feat] (MG_Backend/DirectVulkan): pick vkPhysicalDevice 2026-02-11 14:35:37 +08:00
swung0x48 0a7061f375 [Feat] (MG_Backend/DirectVulkan): redo the whole thing, bringing up Vulkan instance 2026-02-11 13:54:40 +08:00
swung0x48 c7db89a200 [Chore] (MG_Backend/DirectVulkan): fix up variable and type naming scheme 2026-02-11 09:15:48 +08:00
swung0x48 a6784e7714 [Feat] (MG_Test/Backend/DirectVulkan): fix wrong preprocessor directive 2026-02-10 23:39:24 +08:00
swung0x48 a9b92a756b [Chore] (MG_Test/Backend/DirectVulkan): use warning instead of error 2026-02-10 23:38:40 +08:00
swung0x48 52eb6b3f2a [Feat] (MG_Test/Backend/DirectVulkan): add a simple test environment 2026-02-10 23:14:20 +08:00
swung0x48 43e59d8fce [Fix] (MG_Backend/DirectVulkan): fix validation error on Windows 2026-02-10 14:16:23 +08:00
swung0x48 ceaa6ff5f8 [Fix] (MG_Backend/DirectVulkan): silence some validation error on Windows 2026-02-10 13:39:51 +08:00
swung0x48 a77088eeb3 [Feat] (MG_Backend/DirectVulkan): use VK_USE_PLATFORM_*_KHR macro instead 2026-02-10 13:32:20 +08:00
swung0x48 162dbf8750 [Feat] (MG_Backend/DirectVulkan): hooking up Windows VK WSI 2026-02-10 13:28:05 +08:00
swung0x48 1c2924eef9 [Feat] (MG_Test/Backend/DirectVulkan): some sanity tests 2026-02-10 13:24:24 +08:00
swung0x48 acc826ee9f [Fix] (MG_Impl/EGLImpl/EGLForVulkan): fix wrong egl function signatures 2026-02-10 11:21:16 +08:00
swung0x48 8e58875b8f [Feat] (MG_Backend/DirectVulkan): use rgba instead of xyzw 2026-02-09 22:34:44 +08:00
swung0x48 51451e8de3 [Feat] (MG_Backend/DirectVulkan): make helper functions static 2026-02-09 22:23:53 +08:00
swung0x48 b806397ae3 [Feat] (MG_Backend/DirectVulkan/RenderStateManager): impelement RenderStateManager 2026-02-09 22:16:22 +08:00
swung0x48 358efe4d1b [Feat] (MG_Backend/DirectVulkan/VertexInputStateManager): impelement VertexInputStateManager 2026-02-09 21:31:27 +08:00
swung0x48 cd3ff1f881 [Feat] (MG_Backend/DirectVulkan/ProgramManager): impelement CreatePipelineShaderStages/GetPipelineShaderStages 2026-02-09 21:02:27 +08:00
swung0x48 6c10876532 [Fix] (MG_Backend/DirectVulkan): fix file header 2026-02-09 20:51:36 +08:00
swung0x48 ce8a2356d7 [Fix] (MG_Test/Program): fix hardcoded stage-index relationship 2026-02-09 20:30:22 +08:00
swung0x48 22bc4fbbc9 [Feat] (MG_Backend/DirectVulkan): ProgramManager - hash program object 2026-02-09 16:18:50 +08:00
swung0x48 18941f9e83 [Feat] (MobileGL/Config): add CacheVersion 2026-02-09 14:43:29 +08:00
swung0x48 0b332bdc58 [Chore] (3rdparty): add xxHash 2026-02-09 13:55:05 +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
swung0x48 93f08e251d [Fix] (MG_Util/ShaderTranspiler): forcefully disable validator of spvtools 2026-02-05 15:59:14 +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
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
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
swung0x48 bf0bae0e59 Merge branch 'Feat/Backend-Direct-GLES' of https://github.com/MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES 2026-02-03 17:50:34 +08:00
swung0x48 41f6670a10 [Perf] (MG_Backend/DirectGLES): less shared_ptr deref 2026-02-03 17:50:20 +08:00
swung0x48 c2ffa93c90 [Perf] (MG_Backend/DirectGLES): use version to skip unnecessary FBO sync in BindCurrentFBO 2026-02-03 17:49:47 +08:00
swung0x48 ca23fe4d6f [Perf] (MG_Backend/DirectGLES): use version to skip unnecessary FBO sync 2026-02-03 17:29:10 +08:00
swung0x48 522d5ad9f7 Merge branch 'Feat/Backend-Direct-GLES' of https://github.com/MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES 2026-02-03 16:58:38 +08:00
swung0x48 202922613b [Refactor] (MG_State/Framebuffer, MG_Backend/DirectGLES): Versioned framebuffer sync 2026-02-03 16:50:20 +08:00
swung0x48 751c5745b0 [Fix] (MG_Util/Converters): properly handle GL_NONE in ConvertGLEnumToFramebufferAttachmentType 2026-02-03 13:06:55 +08:00
swung0x48 6823b1e46a [Feat] (MG_Impl/Framebuffer): implement glReadBuffer 2026-02-03 12:59:11 +08:00
swung0x48 edff307782 [Chore] (MG_Impl/Framebuffer, MG_Impl/RenderState): move ReadBuffer to the right place 2026-02-03 10:23:20 +08:00
swung0x48 8f55179493 [Optimize] (MG_Backend/DirectGLES): Texture object mipmap dirty bit 2026-02-02 15:37:55 +08:00
swung0x48 cb2ce8f2a5 [Optimize] (MG_Backend/DirectGLES): sync buffer object directly 2026-02-02 12:58:50 +08:00
swung0x48 33a4afba5e [Optimize] (MG_Backend/DirectGLES): get rid of dedup logic in buffer sync 2026-02-02 11:17:16 +08:00
swung0x48 acda4c24aa [Fix]: fix typo 2026-01-31 13:10:45 +08:00
swung0x48 a09d6fa8ff [Fix]: fix typo 2026-01-31 12:50:21 +08:00
swung0x48 9d6a6548e8 [Fix] (MG_Impl/Buffer): wrong range set in BindBufferBase_State 2026-01-31 11:49:55 +08:00
swung0x48 31b3053c56 [Chore] (MG_Util/ShaderTranspiler): rename function, more log 2026-01-30 16:44:33 +08:00
swung0x48 f69fbef4b0 [Chore] (MG_Util/ShaderTranspiler): rename function 2026-01-30 11:10:27 +08:00
swung0x48 99299cf0f3 [Fix] (MG_Impl/Getter): avoid crash when no buffer is bound 2026-01-29 23:43:27 +08:00
swung0x48 197fdb972b [Chore] (Defines): shouldn't enable scope marker by default 2026-01-29 22:57:25 +08:00
swung0x48 9ae554cabe [Fix] (MG_Backend/DirectGLES): fix broken mipmap uploading (hardcoded level for some reason) 2026-01-29 22:53:07 +08:00
swung0x48 0fe514fe1d [Chore] (MG_Impl/Texture): more logs 2026-01-29 20:23:21 +08:00
swung0x48 5c7457dbc6 [Chore] (MG_Backend/DirectGLES, MG_Impl/Texture): more logging 2026-01-29 17:58:25 +08:00
swung0x48 77aa26661d [Feat] (MG_Util/BackendLoaders/OpenGL, MG_Impl/Getter): retrieve real GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT from backend 2026-01-29 16:48:01 +08:00
swung0x48 ffec1618f1 [Fix] (MG_State/Texture): relaxing completeness check on reasonable 0x0 mipmap 2026-01-29 15:17:53 +08:00
swung0x48 afc97efcaf [Chore] (MG_Util/Texture): more logs 2026-01-29 14:12:53 +08:00
swung0x48 aa0cff5742 [Fix] (MG_Util/ShaderTranspiler): fix bug FloatEqualsZeroEliminationPass where it may skip one instruction 2026-01-25 13:19:28 +08:00
swung0x48 639ec18a50 [Fix]: fix compilation on Windows 2026-01-25 11:27:51 +08:00
swung0x48 0b4014d665 [Feat] (MG_Util/ShaderTranspiler): patch op OpFOrdNotEqual/OpFUnordNotEqual 2026-01-24 22:14:00 +08:00
swung0x48 e9ef6db44b [Fix] (MG_State/Program): properly invoke SPIR-V sanitize routine 2026-01-24 19:22:13 +08:00
swung0x48 eac7a9e474 [Fix] (MG_Backend/DirectGLES): revert to targeting essl 320 2026-01-24 19:21:10 +08:00
swung0x48 53e4778054 [Fix] (MG_Impl/EGLImpl): fix BindAPI debug log 2026-01-24 19:03:08 +08:00
swung0x48 484174767d [Feat] (MG_Util/ShaderTranspiler): do FloatEqualsZero elimination by leveraging SPIRV-Tool opt pass 2026-01-24 17:35:33 +08:00
swung0x48 3b5047f2c4 [Feat] (MG_Util/Converters): EGLEnumConverter 2026-01-23 13:04:06 +08:00
swung0x48 0a7bd794b5 [Chore] (MG_Impl/EGLImpl): add more logs to EGLWrapper 2026-01-23 11:21:33 +08:00
swung0x48 8c2dd621b6 [Fix] (EGLImpl/EGLWrapper): hardcode binding to EGL_OPENGL_ES_API for now 2026-01-18 22:06:43 +08:00
swung0x48 f60a3002e9 [Fix] (MG_State/Texture): add missing RGB16 format 2026-01-18 18:50:54 +08:00
swung0x48 a52ec9116e [Fix] (MG_Util/BackendLoaders): correct LibPathPrefixes precedence, fixing load on Android 2026-01-18 10:55:17 +08:00
swung0x48 8a388f3908 [Fix] (MG_Util/BackendLoaders, MG_Impl/GetProcAddress): fixing hiccups when load by LD_LIBRARY_PATH 2026-01-17 13:04:44 +08:00
swung0x48 35fd55d4be [Chore]: small program to do a tiny self-check 2026-01-17 11:23:36 +08:00