BZLZHH
3da0b1dfd4
[Fix] (MG_Backend/DirectVulkan, MG_Impl/Texture, MG_Test/Texture): fill advertised extension gaps
2026-06-10 01:09:39 +08:00
BZLZHH
720919455f
[Fix] (MG_Backend/DirectGLES, MG_Impl/Texture, MG_Test/Texture): fix Voxy base-instance and bound texStorage2D
2026-06-10 00:07:20 +08:00
BZLZHH
df90753d85
[Fix] (MG_Impl/Framebuffer, MG_Test/Framebuffer): avoid duplicate glFramebufferTexture attach
2026-06-09 22:18:28 +08:00
BZLZHH
7bee645b9a
[Fix] (MG_Util/Texture): remove duplicate depth-stencil normalize case
2026-06-09 21:33:27 +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
8d35be14a0
[Fix] (MG_Backend/DirectGLES, MG_Util/BackendLoader): stop treating partial EGL/GLES symbol load as fatal
2026-06-09 19:57:30 +08:00
swung0x48
85bd0613ca
[Fix] (MG_Backend/DirectGLES): support Voxy rendering
...
Implemented:
- Advertise Voxy-required DirectGLES extensions without raising the reported OpenGL version.
- Add DirectGLES multi draw indirect count emulation and preserve GL draw indirect baseInstance semantics on GLES.
- Add DirectGLES DSA framebuffer clear/blit paths used by Minecraft and Voxy presentation.
Fixed:
- Rewrite gl_BaseInstance in DirectGLES vertex shaders and provide a backend uniform for indirect draw emulation.
- Materialize framebuffer attachment textures during DirectGLES FBO sync so named framebuffer operations do not desync backend attachment state.
- Avoid redundant texture buffer rebinding and handle texture buffers without bound storage during backend sync.
Tests:
- Add MG_Test coverage for DirectGLES Voxy extension advertising, baseInstance shader rewriting, and DSA named framebuffer clear/blit backend wiring.
2026-06-09 17:20:23 +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
ab9db43599
[Chore]: bump version to 26.06
2026-06-08 14:11:20 +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
be3c3eb9bb
[Fix] (MG_Test/VertexArray): lossen too strict error test
2026-06-08 09:43:24 +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
BZLZHH
d1a5a4e39c
[Fix] (MG_Util/BackendLoader): Add /usr/lib64 and /lib64 to library search paths for Fedora/RHEL compatibility.
2026-06-07 20:28:19 +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
ad1ca4ea92
[Feat] (MG_Impl/VertexArray): implement client-side buffer
2026-06-07 13:02:58 +08:00
swung0x48
fbaf5261e2
[Fix]: properly open X11 display for rendering
2026-06-07 12:26:35 +08:00
swung0x48
19ada4b8f9
[Fix]: fix glmark2 crash
...
- deal with legacy GLSL syntax (attribute/varying/gl_FragColor/texture2D/etc.)
- implement glGet GL_SHADER_SOURCE_LENGTH, and make sure returns
original shader source
- expose proper extensions (GL_ARB_depth_texture)
- support env var MOBILEGL_LOG_FILE_PATH
- unit tests to test against those changes
2026-06-07 11:08:38 +08:00
swung0x48
ff41e59282
[Feat] (EGL): support Linux X11 + EGL
2026-06-07 08:21:20 +08:00
swung0x48
a15a13ca46
[Fix]: fix compilation on Linux
2026-06-06 23:18:27 +08:00
swung0x48
2937043e77
[Fix] (MG_Backend/DirectGLES): mark integer varyings flat
2026-06-06 18:58:27 +08:00
swung0x48
24efb0bb17
[Fix] (MG_Impl/Program): implement direct state uniform updates
2026-06-06 17:27:09 +08:00
swung0x48
dd2bd267c1
[Fix] (MG_State/RenderState): track front face mode
2026-06-06 08:46:43 +08:00
swung0x48
5cfe9c8998
[Feat] (MG_Backend/DirectVulkan): support compute shaders
2026-06-05 11:52:10 +08:00
swung0x48
3bd8a62aa8
[Feat] (MG_Backend/DirectGLES): support compute shaders
2026-06-05 10:41:23 +08:00
swung0x48
dcd37f3c38
[Fix] (MG_Util/ShaderTranspiler): preserve reflected uniform backing
2026-06-05 10:39:53 +08:00
swung0x48
a579fd2342
[Feat] (MG_State/ProgramState): attempting to do shader LTO (WIP)
2026-06-01 22:26:16 +08:00
swung0x48
f93ff00642
[Chore] (MG_State/ProgramState): add more remarks to GenerateBinary()
2026-06-01 21:35:28 +08:00
swung0x48
8a628631fb
[Feat] (Backend/DirectVulkan): implement min/max lod
...
- This fixes water waves in Derivative d24.4.14
2026-06-01 05:38:28 +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
c7d385c03d
[Fix] (CI): scan rather than hardcode apk file name
2026-05-24 18:45:24 +08:00
swung0x48
27a8aa057c
[Feat] (MG_Impl/RenderState): implement some blend related states
2026-05-24 17:38:44 +08:00
swung0x48
e63bfbabf0
[Chore] (MG_Backend/DirectVulkan): enable vulkan validation layer only on DEBUG log level
2026-05-24 11:11:12 +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
49e69c1c7d
[CI] (android-plugin): build two (Espryt/Magma) variants
2026-05-24 08:57:02 +08:00
swung0x48
482b6d7bbf
[CI] (android-plugin): specify MOBILEGL_LOG_ACTIVE_LEVEL=MOBILEGL_LOG_LEVEL_INFO define
2026-05-24 08:45:02 +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
9c50ac8a69
[CI]: use DirectVulkan as default backend
2026-05-23 23:01:48 +08:00
swung0x48
8b7acad257
[CI]: add android build key + signing process
2026-05-23 21:54:40 +08:00
swung0x48
cb8cb48a60
[CI]: build MobileGL android renderer plugin
2026-05-23 20:58:03 +08:00
swung0x48
8c00ae1d38
[Fix] (MG_Impl/GL_Texture): don't actually allocate large proxy texture to avoid large allocation makes some devices to crash
2026-05-12 16:33:30 +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
60199c0323
[Optimization] (MG_Backend/DirectVulkan): optimize CreatePipeline hot path with VkPipelineCache
2026-05-12 00:27:52 +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