swung0x48 and Claude Fable 5
b8ffd25148
[WIP] Mesa-style buffer overhaul: resource abstraction + immediate transfer ops
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-08 14:47:51 +08:00
swung0x48
bdb276cd68
Revert "[Fix] (MG_Backend/DirectVulkan): separate EGL surface lifecycle"
...
This reverts commit 45f1a13cc3 .
2026-07-03 15:16:46 +08:00
swung0x48
45f1a13cc3
[Fix] (MG_Backend/DirectVulkan): separate EGL surface lifecycle
2026-07-03 12:20:40 +08:00
swung0x48
afdbf0a194
[Fix] (MG_Backend/DirectVulkan): support layered texture framebuffers
2026-07-03 12:05:20 +08:00
swung0x48
940ab5fd8e
[Fix] (MG_State/GLState, MG_Backend): track layered framebuffer textures
2026-07-03 10:38:51 +08:00
swung0x48
6ecefaec75
[Fix] (MG_Backend): track EGL backend surfaces
2026-07-03 09:15:26 +08:00
swung0x48
51d9fa91ed
[Fix] (MG_Impl/GLImpl, MG_Backend): fix piglit texture and buffer cases
2026-07-03 08:51:22 +08:00
swung0x48
1c84422f8e
[Fix] (MG_Impl/GLImpl, MG_Backend/DirectVulkan): allow color renderbuffer framebuffers [skip ci]
2026-07-02 19:59:48 +08:00
swung0x48
91120d86ba
[Fix] (MG_Backend/DirectVulkan): ignore clear buffer without target [skip ci]
2026-07-02 19:16:14 +08:00
swung0x48
fabae2465b
[Fix] (MG_Impl/GLImpl, MG_Backend): fix OpenGL 3.1 piglit cases
2026-07-02 10:34:17 +08:00
swung0x48
2f1949e093
[Feat] (iOS): support MobileGL builds and Metal surfaces
2026-06-30 07:25:20 +08:00
swung0x48
cca4df17d9
[Fix] (MG_Impl): preserve macOS surface during resize
2026-06-29 21:07:12 +08:00
swung0x48
e7e6888768
[Fix] (MG_Util/PixelStoreProcessor, MG_Backend/DirectVulkan): normalize packed RGBA uploads
2026-06-29 16:02:27 +08:00
swung0x48
0ef9c76224
[Feat] (MG_Backend/DirectVulkan): support macOS Metal surfaces
2026-06-28 14:19:51 +08:00
swung0x48
db388e64b9
[Fix] (MG_Backend/DirectVulkan): disable pipeline cache on PowerVR
2026-06-28 01:21:49 +08:00
swung0x48
f0f6d1e5fa
[Fix] (MG_Backend/DirectVulkan): fix prerotated default framebuffer
2026-06-23 20:00:43 +08:00
swung0x48
3736e1fc38
[Fix]: fix Vulkan depth mipmap fallback
...
- add shader fallback for depth-only mipmap generation when format blit is unsupported
- choose native blit or shader path from Vulkan format features
- clean up temporary depth mipmap render resources per frame
2026-06-20 18:10:13 +08:00
swung0x48
19e4ba386d
[Fix]: fix Chocapic V6 Lite
...
- prune unused SPIR-V interface variables before GLES transpilation
- remap shader varyings through glslang IO resolver bindings
- initialize opaque uniforms from explicit sampler bindings only
- avoid side effects in texture binding assertions
- register Chocapic V6 Lite retrace fixture
2026-06-19 18:42:32 +08:00
swung0x48
50eda634e0
[Fix]: fix iterationT
...
- implement glCopyImageSubData frontend export and backend dispatch
- add DirectGLES depth-only CopyImageSubData via framebuffer depth blit
- add DirectGLES R32F CopyImageSubData fallback for GLES drivers rejecting native copy
- allocate DirectGLES generated mipmap storage for depth-only and R11FG11FB10F manual generation
- generate DirectGLES depth-only mipmaps with explicit depth blits
- generate DirectGLES R11FG11FB10F mipmaps with explicit color blits
- add DirectVulkan CopyImageSubData with explicit image copy and layout transitions
- use native Vulkan blit for depth-only mipmap generation
- remove unused Vulkan depth mipmap shader fallback path
2026-06-19 08:14:57 +08:00
swung0x48
4c2c4cb565
[Fix] (trace-replay): stabilize GL4ES OpenRA validation
2026-06-15 22:27:39 +08:00
swung0x48
a88ca75c14
[Fix] (trace-replay): run Vulkan retrace headlessly
2026-06-15 20:37:40 +08:00
swung0x48
c2d6134cfa
[Feat] (android-plugin): add standalone trace replay profile
2026-06-15 16:57:50 +08:00
BZLZHH
a4261f8b19
[Fix] (MG_Backend/DirectVulkan, MG_State/TextureState, MG_Test): harden default-fbo clear lifetime tracking
2026-06-10 09:49:16 +08:00
BZLZHH
6051588458
[Feat] (MG_Backend/DirectVulkan): implement multisample texture backend
2026-06-10 01:56:37 +08:00
BZLZHH
83a6f24f93
Merge remote-tracking branch 'origin/Feat/Backend-Direct-Vulkan' into Agent/CodexAudit
...
# Conflicts:
# MobileGL/MG_Backend/BackendObject.h
# MobileGL/MG_Backend/DirectGLES/Managers.cpp
# MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp
# MobileGL/MG_Backend/DirectVulkan/Renderer/FrameContext.cpp
# MobileGL/MG_Backend/DirectVulkan/Renderer/VkTextureManager.cpp
# MobileGL/MG_Backend/DirectVulkan/Renderer/VulkanRenderer.cpp
# MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.cpp
# MobileGL/MG_Impl/GLImpl/Exporting/Definitions.cpp
# MobileGL/MG_Impl/GLImpl/Framebuffer/GL_Framebuffer.cpp
# MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp
# MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.h
# MobileGL/MG_Impl/GLImpl/Program/GL_Program.cpp
# MobileGL/MG_Impl/GLImpl/Program/GL_Program.h
# MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.cpp
# MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.h
# MobileGL/MG_Impl/GLImpl/Texture/GL_Texture.cpp
# MobileGL/MG_Impl/GLImpl/VertexArray/GL_VertexArray.cpp
# MobileGL/MG_Impl/GLImpl/VertexArray/GL_VertexArray.h
# MobileGL/MG_State/GLState/BufferState/BufferObject.cpp
# MobileGL/MG_State/GLState/BufferState/BufferObject.h
# MobileGL/MG_Util/BackendLoaders/Vulkan/Loader.cpp
# MobileGL/MG_Util/BackendLoaders/Vulkan/Loader.h
2026-06-09 21:18:12 +08:00
BZLZHH
727939af5b
[Fix] (MG_Impl, MG_State, MG_Backend, MG_Util): Do source audit by Codex.
2026-06-09 15:34:19 +08:00
swung0x48
dd52f0381a
[Fix] (MG_Backend/DirectVulkan): fix Voxy subgroup and indirect draw sync
...
- Implement Vulkan subgroup capability querying and expose KHR subgroup getter values.
- Fix DirectVulkan memory barriers so GL_COMMAND_BARRIER_BIT makes generated indirect draw commands visible.
- Keep Voxy on the DirectVulkan gpu_shader_int64 quad decode path while filtering unsupported optional int64 usage on backends that do not advertise it.
- Add MG_Test coverage for subgroup getters, Voxy subgroup/int64 shader probes, command barrier mapping, and indirect draw command layout.
- Check for whether driver supports shader subgroup operation, disable on demand, and provide env var `MOBILEGL_DISABLE_SUBGROUP` to explicitly disable subgroup features
2026-06-09 09:46:07 +08:00
swung0x48
cf165c0db5
[Fix] (MG_Backend/DirectVulkan): support Voxy rendering
...
Implemented:
- Advertise Voxy-required DirectVulkan extensions without raising the reported OpenGL version.
- Add DirectVulkan compute, indirect draw count, DSA, readback, and buffer state paths needed by Voxy.
Fixed:
- Enable Vulkan shaderInt64 and drawIndirectFirstInstance so Voxy baseInstance-driven LOD draws address the correct section data.
- Fix DirectVulkan synchronization, framebuffer, texture readback, and shader interface handling used by Voxy and Minecraft screenshots.
Tests:
- Add MG_Test coverage for DirectVulkan extension advertising, DSA buffer/texture/framebuffer/vertex-array behavior, persistent mapped readback, and shader/program paths.
2026-06-09 00:37:37 +08:00
swung0x48
d553e363a7
[Feat] (MG_Impl/GL_Buffer, MG_State/BufferState, MG_Backend): implement persistent mapping
2026-06-08 14:08:35 +08:00
swung0x48
357807666d
[Fix] (MG_Backend/DirectVulkan, MG_Backend/DirectGLES): fix vulkan program
...
cache, get EGLSurfaceSize on viewport = 0
2026-06-08 05:41:38 +08:00
swung0x48
a701c896f0
[Feat] (MG_Backend/DirectVulkan): wire up client-side buffer
2026-06-07 18:05:48 +08:00
swung0x48
b0de886f8e
[Fix] (MG_Backend/DirectVulkan): make glmark2 work on Magma
2026-06-07 16:24:30 +08:00
swung0x48
5cfe9c8998
[Feat] (MG_Backend/DirectVulkan): support compute shaders
2026-06-05 11:52:10 +08:00
swung0x48
59733a2a26
[Fix] (MG_Backend/DirectVulkan): clear alpha as 1.0f when using RGB format on GL side. Transition to VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL for clearing
2026-05-24 19:23:36 +08:00
swung0x48
c107d9edcf
[Fix] (MG_Backend/DirectVulkan): use RGBA format as RGB format
...
- some drivers (Adreno as I tested) lacks
VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT on 24-bit RGB formats,
use 32-bit ones as a fallback.
2026-05-24 10:07:28 +08:00
swung0x48
dcfe91bdfc
[Optimization] (MG_Backend/DirectVulkan): properly use vkCmdBlitImage() on rotations that
...
applicable, rather than shader-based blit
2026-05-24 00:14:05 +08:00
swung0x48
6072b5b703
[Fix] (MG_Backend/DirectVulkan): use shader-based default framebuffer blit to fix wrong orientation
2026-05-24 00:07:16 +08:00
swung0x48
633b3d3b0a
[Feat] (MG_State/RenderState, MG_Backend/DirectVulkan): make Distant
...
Horizon work
- Implement BlendEquation/CullFaceMode/PointSize/PolygonMode
- Implement GetFramebufferAttachmentParameter*
- Downgrade some color attachment resolve failure
- Downgrade some overly-strict shader stage linkage check (don't check
on unused input var)
2026-05-12 12:38:19 +08:00
swung0x48
9e0e03d4c0
[Optimaization] (MG_Backend/DirectVulkan): optimize perf
...
- Properly reuse descriptor sets rather than always allocating
- Add program lookup cache
2026-05-11 23:20:55 +08:00
swung0x48
4972ebf914
[Fix] (MG_Backend/DirectVulkan): fix 1.21.6+ intermittent crashing
...
- Try coerce vertex input format to please Vulkan driver
- Skip inactive UBO instead of hard fast-fail
2026-05-10 11:53:26 +08:00
swung0x48
4a36d63c1b
[Fix] (MG_Backend/DirectVulkan): fix 26.2 texture bug.
...
- Fix texture object / buffer lifecycle issues
2026-05-10 10:03:03 +08:00
swung0x48
d7e768096e
[Fix] (MG_Backend/DirectVulkan): fix Minecraft 26.2 startup crashes
...
- Support cube map face uploads with cube-compatible images and per-face array layers
- Add uniform texel buffer descriptor support for samplerBuffer bindings
- Cache transient vertex/index buffer uploads per frame to avoid VMA allocation failures
2026-05-10 08:50:55 +08:00
swung0x48
c5bf0dc07d
[Chore] (MG_Backend/DirectVulkan): exclude some validation logic from release build
2026-05-09 13:45:19 +08:00
swung0x48
39c5b28dfb
[Fix] (MG_Backend/DirectVulkan): fixing Photon v1.1
...
- Flatten DailyWeatherVariation interface varyings
- Correct internal-format component counts
- Preserve GL draw-buffer slot semantics in render pass creation
- relax GL_NONE / vec4-to-RGB pipeline checks
2026-05-09 09:56:45 +08:00
swung0x48
407d4344c4
[Feat] (MG_Backend/DirectVulkan): generate mipmap, add fallback texture, implement shader-based depth mipmap blit, enumerate more vk physical device features
...
- Supporting iterationT
2026-05-08 09:25:41 +08:00
swung0x48
76e3950028
[Feat] (MG_Backend/DirectVulkan): GenerateMipmap WIP
2026-05-07 15:14:25 +08:00
swung0x48
ff790e1ff1
[Feat] (MG_Backend/DirectVulkan): implement vulkan backend for glCopyTex(Sub)Image2D
2026-05-06 15:39:59 +08:00
swung0x48
8e4a4359b4
[Chore] (MG_Backend/DirectVulkan): eliminate vague texture binding fallbacks
2026-05-05 18:34:44 +08:00
swung0x48
94e93b171c
[Feat] (MG_Backend/DirectVulkan): get real maxProgramBindings from VkDevice
2026-05-05 13:19:45 +08:00
swung0x48
99b753be9a
[Feat] (MG_Backend/DirectVulkan): implement backend func for glCopyTex(Sub)Image2D
2026-05-05 12:02:33 +08:00