BZLZHH
6d3b00e820
[Chore] (docs, MobileGL, scripts, tools, .github): use US spelling in identifiers and file names
2026-10-31 20:06:22 +08:00
BZLZHH
4f50bedde0
[Docs, Chore] (docs, tools, MobileGL, scripts, CONTRIBUTING.md, .gitignore): translate the documentation and use US spelling
2026-10-31 19:58:19 +08:00
swung0x48
d1293354d1
[Fix] (CMakeLists.txt, MG_Backend/DirectGLES, MG_Pipe, MG_Test/Backend, MG_Test/ShaderTranspiler, MG_Util/ShaderTranspiler): give integer attributes their GL value in Espryt
...
- every integer array reaches the driver with its input's signedness, at the pointer, zero-stride and client-memory call sites, so each fetch is one ES defines
- 8/16-bit data of the other signedness is widened back by the program's runtime-width seeds, armed on the first draw that needs them and set as two uniforms per draw
- capture programs with integer inputs are armed at their first build; arming is part of the ESSL translation key
- a build whose seeds cannot be verified keeps the driver's own value for narrow data; one that fails to link is rebuilt without them
- the program's integer input masks are memoized on its shader record
2026-10-19 02:53:01 -04:00
swung0x48
f4994ee36e
[Chore] (MG_Backend, MG_Backend/DirectGLES, MG_Backend/DirectVulkan, MG_Backend/MGPipe, MG_Backend/Record, MG_Benchmark/Buffer, MG_Benchmark/Container, MG_Benchmark/Driver, MG_Benchmark/Program, MG_Benchmark/ShaderCache, MG_Benchmark/Transpile, MG_Gbm, MG_Impl, MG_Impl/CGLImpl, MG_Impl/DyldInterpose, MG_Impl/EGLImpl, MG_Impl/GLImpl, MG_Impl/GLXImpl, MG_Impl/NSOpenGLImpl, MG_Impl/Pipe, MG_Impl/WGLImpl, MG_IntegrationTest, MG_IntegrationTest/Harness, MG_IntegrationTest/Scenarios, MG_Pipe, MG_Remote, MG_Remote/Client, MG_Remote/Protocol, MG_Remote/Server, MG_Remote/Transport, MG_Remote/Wire, MG_State/EGLState, MG_State/GLState, MG_Test, MG_Test/Backend, MG_Test/BackendLoader, MG_Test/Buffer, MG_Test/EGLState, MG_Test/Framebuffer, MG_Test/Gbm, MG_Test/Pipe, MG_Test/Pipeline, MG_Test/Program, MG_Test/Query, MG_Test/SelfTest, MG_Test/ShaderTranspiler, MG_Test/State, MG_Test/Swapchain, MG_Test/Texture, MG_Test/Util, MG_Test/VertexArray, MG_Test/Wire, MG_Util/Async, MG_Util/BackendLoaders, MG_Util/Converters, MG_Util/Damage, MG_Util/Debug, MG_Util/Math, MG_Util/Metrics, MG_Util/SelfTest, MG_Util/ShaderTranspiler, MG_Util/Texture, MG_Util/X11, MobileGL, scripts/data, tools/cts, tools/device_bench, tools/spikes, tools/trace_replay, tools/wgl-smoke): clang-format every C and C++ source
...
- Layout only: token streams match up to split literals, continuations and using order
- The size totals fall, so the structure baseline is lowered
2026-10-16 06:30:38 -04:00
swung0x48
91294a19f8
[Docs] (MG_Backend/DirectGLES, MG_Backend/DirectVulkan, MG_Backend/Record, MG_Impl/Pipe, MG_IntegrationTest/Scenarios, MG_Pipe, MG_Remote/Client, MG_Remote/Server, MG_State/GLState, MG_Test, MG_Test/Backend, MG_Test/Buffer, MG_Test/Pipe, MG_Test/Wire, scripts, scripts/ci): cite symbols, not lines, in the split backend files
2026-10-16 05:16:51 -04:00
swung0x48
d1f220c1a2
[Refactor] (CMakeLists.txt, MG_Backend/DirectGLES): split Managers.cpp by object kind
...
- helpers and state several files share lose `static`; ManagersInternal.h declares them
2026-10-16 05:10:03 -04:00
swung0x48
265966a15d
[Docs] (MG_Backend/DirectGLES, MG_Backend/MGPipe, MG_Backend/Record, MG_Impl/Pipe, MG_IntegrationTest, MG_IntegrationTest/Harness, MG_IntegrationTest/Scenarios, MG_Pipe, MG_Pipe/generated, MG_Remote, MG_Remote/Client, MG_Remote/Server, MG_Remote/Transport, MG_Remote/Wire, MG_State/GLState, MG_Test/Pipe, MG_Test/Wire, MG_Util/Metrics, MobileGL, scripts, scripts/ci): cite symbols, not line numbers, in the shortened files
2026-10-15 22:27:15 -04:00
swung0x48
aabca3c171
[Docs] (.claude/skills, .github/workflows, CMakeLists.txt, docs/archive, docs/Disaggregated, docs/MobileVA, docs/Performance, MG_Backend, MG_Backend/DirectGLES, MG_Backend/DirectVulkan, MG_Backend/Record, MG_Gbm, MG_Impl, MG_Impl/EGLImpl, MG_Impl/GLImpl, MG_Impl/GLXImpl, MG_Impl/Pipe, MG_IntegrationTest, MG_IntegrationTest/Harness, MG_IntegrationTest/Scenarios, MG_Pipe, MG_Pipe/generated, MG_Remote, MG_Remote/Client, MG_Remote/Server, MG_Remote/Transport, MG_Remote/Wire, MG_State/GLState, MG_Test/Pipe, MG_Test/Util, MG_Test/Wire, MobileGL, scripts, scripts/data, tools/device_bench, userguide): archive the planning notes and agent contracts under docs/archive
...
- DEBTS.md and OPEN-QUESTIONS.md stay maintained, now in docs/Disaggregated.
2026-10-15 20:01:45 -04:00
swung0x48
5370d917d0
[Docs] (.github/workflows, MG_Backend/DirectGLES, MG_Backend/DirectVulkan, MG_Benchmark/Driver, MG_Impl/EGLImpl, MG_Impl/Pipe, MG_IntegrationTest, MG_IntegrationTest/Harness, MG_IntegrationTest/Scenarios, MG_Pipe, MG_State/GLState, MG_Test, MG_Test/Pipe, MG_Test/Program, MG_Test/SelfTest, MG_Test/ShaderTranspiler, MG_Test/Swapchain, MG_Test/Wire, MG_Util/Async, MG_Util/BackendLoaders, MG_Util/SelfTest, MG_Util/ShaderTranspiler, MobileGL, scripts/ci, tools/spikes, tools/trace_replay): name drivers and techniques instead of external projects
2026-10-15 10:15:37 -04:00
swung0x48
506ab1541d
[Docs] (.github/workflows, CMakeLists.txt, MG_Backend, MG_Backend/DirectGLES, MG_Backend/DirectVulkan, MG_Backend/MGPipe, MG_Backend/Record, MG_Impl/Pipe, MG_IntegrationTest, MG_IntegrationTest/Harness, MG_IntegrationTest/Scenarios, MG_Pipe, MG_Remote, MG_Remote/Client, MG_Remote/Server, MG_Remote/Transport, MG_Remote/Wire, MG_State/GLState, MG_Test, MG_Test/Buffer, MG_Test/Purity, MG_Test/Util, MG_Test/Wire, MG_Util/Metrics, MobileGL, scripts, tools/trace_replay): replace stale line-number citations with sections and symbols
2026-10-15 10:15:35 -04:00
swung0x48
d6b0eba8fe
[Feat] (Subgroups): use native subgroups or emulate them on both backends
2026-10-13 06:03:57 -04:00
swung0x48
cfbaffd757
[Fix] (Espryt): defer geometry emits behind memory writes on drivers that drop them
2026-10-12 23:57:48 -04:00
swung0x48
05d58a566a
[Fix] (Espryt): sample cube-array shadow textures at LOD 0 with texture() outside the fragment stage
2026-10-12 19:05:33 -04:00
swung0x48
09b315197b
[Fix] (Espryt): bound usampler2DMS fetches by the bound texture's real sample count
2026-10-12 08:39:26 -04:00
swung0x48
8fff9363f7
[Fix] (Backend): apply framebuffer no-attachment defaults on both backends
2026-10-12 08:32:51 -04:00
swung0x48
454083bf57
[Fix] (DirectGLES): redeclare input gl_PerVertex with the producer's clip/cull sizes
2026-10-12 08:10:04 -04:00
swung0x48
2eae028938
[Fix] (GL): report tessellation-stage image uniform limits from the backend and enforce them at link
2026-10-12 08:08:58 -04:00
swung0x48
6d27499f3c
[Feat] (ShaderTranspiler): carry shading-rate built-ins through the ESSL leg
2026-10-12 08:03:28 -04:00
swung0x48
9b5e15dfc8
[Fix] (Espryt): swizzle GL_BGRA vertex arrays into RGBA streams instead of disabling them
2026-10-12 05:59:29 -04:00
swung0x48
c639e17514
[Fix] (Espryt): barrier re-uploads into image-accessed textures ahead of the dispatch that reads them
2026-10-12 05:59:27 -04:00
swung0x48
2a1920adce
[Fix] (Espryt): redeclare clip/cull distance outputs inside gl_PerVertex for ESSL
2026-10-12 03:55:46 -04:00
swung0x48
f4f2bec711
[Perf] (Espryt): drain small partial writes as a whole-store orphan map
2026-10-10 04:14:25 -04:00
swung0x48
575be3532d
[Perf] (TLS): pGLContext and gPipeInputs become pointer slots
2026-10-10 04:14:09 -04:00
swung0x48
b4e209e12b
[Perf] (Espryt): a shadow of each driver VAO's attribute state makes the vertex walk emit only differences (FCL host GLES calls 3717 -> 850/frame, CPU 2.78 -> 2.67 ms at cpuhunt).
2026-10-08 10:49:29 -04:00
swung0x48
785df78d77
[Perf] (P14): one UBO-ring lookup per draw, split residual copy/stamp loops, one context read for GPU-write marks, Magma slice stamps from the owner's counter (rd12 monolith Espryt 88.8 -> 90.3, Magma 69.8 -> 70.3 fps).
2026-10-07 16:06:02 -04:00
swung0x48
afcf8d96f9
[Perf] (Espryt): a VAO twin adopts an unchanged buffer set and element buffer instead of re-emitting them (rd12 monolith 75.2 -> 80.5 fps).
2026-10-07 12:15:10 -04:00
swung0x48
a9108e1a0b
[Perf] (Espryt): a VAO twin whose buffer set alone moved re-points enabled arrays without the 32-slot enable walk (rd12 monolith 70.3 -> 73.5 fps).
2026-10-07 10:07:43 -04:00
swung0x48
de6ab16756
[Refactor] (P13): the legacy BufferBackendOps table, Magma's never-populated texture/render-pass/renderbuffer caches and VkClearManager go, and the buffer mock tests drive the resource op table instead (ratchet 36 -> 27).
2026-10-06 21:39:39 -04:00
swung0x48
fa77b1874f
[Refactor] (P13): Espryt's frontend-keyed slot-table entries and the apply-thread refusals go, death notices release twins by handle, and the link ratchet refuses any '# P13' line (49 -> 36 symbols).
2026-10-06 20:55:16 -04:00
swung0x48
dab827d54f
[Refactor] (P13 W6e): the backends' frontend-framebuffer clear, blit and readback entries go - the verb port owns those slots in every mode - with Magma's frontend render-pass, pending-clear and renderbuffer halves.
2026-10-06 18:57:15 -04:00
swung0x48
8bc39c79d2
[Test] (P13 W6d): the unmigrated-emulation list is empty, the dead storage-view format case goes, and Espryt's bring-up check is the colour-attachment cap alone.
2026-10-06 18:20:50 -04:00
swung0x48
8abae647d0
[Refactor] (P13 W6d): Espryt's family arm predicates fold to the record arm, checked once at capability bring-up, and the frontend-arm walks they selected go.
2026-10-06 18:08:33 -04:00
swung0x48
dc1e95b4c3
[Refactor] (P13 W6c): Magma's frontend arm goes - the frontend program source, sampled-set walk, placeholder textures, VAO draw memos, identity tables and fast path - leaving the record arm.
2026-10-06 17:55:44 -04:00
swung0x48
e0113503af
[Refactor] (P13 W6b): the frontend-arm code after each record-arm return goes, and the transform-feedback state keeps one role.
2026-10-06 16:46:09 -04:00
swung0x48
742d43aeb4
[Refactor] (P13 W6b): the data-arm predicate folds out of every backend branch; frontend-arm unit cases go, three adapted, and two GL sampling rules move to an integration scenario.
2026-10-06 16:39:52 -04:00
swung0x48
7fb18840dc
[Refactor] (P13 W5 S8): MOBILEGL_BUILD_RECORD_ARM is folded away - the record arm is unconditional - and retired_switches keeps it from coming back.
2026-10-06 15:03:11 -04:00
swung0x48
a37212eac9
[Fix] (P13 W5 S7): Espryt's T0 re-import after a context loss stays transport-only inside the record arm's twin re-arm.
2026-10-06 14:46:52 -04:00
swung0x48
557975bf2d
[Refactor] (P13 W5 S7): the record verbs' verb-state stamps, the record-reading draw and sampler passes and the image-bindable re-mint follow the record-arm guard.
2026-10-06 13:51:25 -04:00
swung0x48
aa5c12b08c
[Fix] (P13 W5 S7): Espryt's shared-image arm in the storage sync stays on the transport guard inside the record arm.
2026-10-06 13:45:23 -04:00
swung0x48
7ac3ce0376
[Fix] (P13 W5 S7): Espryt's shared-image sync stays on the transport guard.
2026-10-06 13:44:53 -04:00
swung0x48
956e3847cd
[Refactor] (P13 W5 S7): the record arm's remaining transport-guarded blocks (XFB capture landing, staged-texture follows, view-window mips, tracker membership, unit-window checks) follow the record-arm guard.
2026-10-06 13:42:45 -04:00
swung0x48
4ec65e801a
[Fix] (P13 W5 S7): Espryt's copy-image store follow and its driver-write mark build with the record arm.
2026-10-06 13:37:43 -04:00
swung0x48
cb81610b2b
[Refactor] (P13 W5 S3): the record arm's definitions and its depth-resolve probe source follow the record-arm guard.
2026-10-06 11:58:18 -04:00
swung0x48
c879776a26
[Refactor] (P13 W5 S3): Espryt's shared-image checks stay on the transport guard.
2026-10-06 11:53:51 -04:00
swung0x48
8a2ddc8150
[Refactor] (P13 W5 S3): Magma's funnels, the texture ops and the staged-texture macros follow the record-arm guard; shared images stay transport.
2026-10-06 11:53:24 -04:00
swung0x48
d00d5c9416
[Refactor] (P13 W5 S3): the record stores' includes and the slot tables' refusals follow the record-arm guard.
2026-10-06 11:50:26 -04:00
swung0x48
73a185f6d1
[Refactor] (P13 W5 S4): the staged stores move to MG_Backend/Record as MG_Record and die through the record fail seam.
2026-10-06 11:35:24 -04:00
swung0x48
e544121eed
[Refactor] (P13 W5 S3): record-arm declarations, role-guard stubs and the T0 split in the backends.
2026-10-06 11:29:37 -04:00
swung0x48
036d1ac36e
[Refactor] (P13 W5 S2): MG_Backend/DirectGLES's record-arm guards name MOBILEGL_BUILD_RECORD_ARM.
2026-10-06 10:51:25 -04:00
swung0x48
cfd6c8730b
[Fix] (P13 W4b): the aliasing texture store follows glCopyImageSubData into a server-owned destination.
2026-10-06 09:29:11 -04:00