Commit Graph

454 Commits

Author SHA1 Message Date
d196ec9264 refactor(srp): add renderer data invalidation seam
Introduce ScriptableRendererData dirty/invalidation support so renderer and feature caches can be released and rebuilt within the same managed asset runtime.

Add managed probes and scripting coverage for non-public dirty APIs and for renderer rebuild after invalidation, then archive the completed phase plan.
2026-04-20 02:48:16 +08:00
5e88449e3d refactor(srp): move renderer feature setup into renderer data
Introduce a formal ScriptableRendererData setup seam so renderer feature attachment is owned by renderer data instead of renderer constructors pulling feature caches.

Route lifecycle and reuse probes through the new setup path, lock the non-public setup seam in the API surface probe, and update scripting expectations accordingly.
2026-04-20 02:30:07 +08:00
778913ddcb refactor(srp): make universal renderer execution context-first
Promote ScriptableRenderer renderer-recording context methods to the primary Universal execution seam and route the renderer-driven pipeline through that seam.

Update managed probes and scripting expectations to cover the new non-public renderer recording contract, and archive the completed phase plan.
2026-04-20 02:15:47 +08:00
cd29c8b2bc feat(srp): add renderer-driven pipeline backbone
Introduce renderer-driven and renderer-backed managed pipeline base types in the Universal package.

Move shared renderer-data/default-renderer ownership out of UniversalRenderPipelineAsset, migrate probe assets onto the generic seam, and expose renderer recording/request context types for future SRP expansion.

Update scripting API-surface expectations and validate with build, unit tests, scripting tests, and old editor smoke.
2026-04-20 02:05:17 +08:00
9e6c473186 feat(srp): add managed camera frame planning seam
Expose native camera frame planning controls to managed pipeline assets and renderer features.

Allow managed planning to override fullscreen stage heuristics while keeping CameraFramePlan as the native execution contract.

Add scripting coverage, probe assets, and archive the phase plan after build, test, and editor smoke validation.
2026-04-20 01:48:16 +08:00
58dde75d3d refactor(srp): add managed lifecycle cleanup seams
Invoke managed pipeline disposal and asset runtime cleanup from the native bridge lifecycle. Add Universal renderer and feature cleanup hooks plus regression probes to verify runtime cache teardown semantics.
2026-04-20 01:14:37 +08:00
beaf5809d5 refactor(srp): unify managed pipeline instance ownership
Move shared managed ScriptableRenderPipeline instance ownership into MonoManagedRenderPipelineAssetRuntime.

Make stage recorders borrow the runtime-owned pipeline instead of creating and destroying private handles.

Add a regression test that locks one CreatePipeline call across multiple stage recorders.
2026-04-20 00:44:09 +08:00
cbc0ddbd42 refactor(srp): formalize universal renderer selection and caching 2026-04-20 00:16:32 +08:00
ad32d64269 refactor(srp): move universal backend ownership into renderer data 2026-04-20 00:04:24 +08:00
9c8f2ae84c refactor(srp): let universal assets declare native backend keys 2026-04-19 23:32:41 +08:00
21b790c2f8 refactor(srp): unify mono recorder backend ownership 2026-04-19 23:09:34 +08:00
74e790891c refactor(srp): decouple managed pipeline assets from fixed native backend 2026-04-19 21:46:05 +08:00
20e727e882 refactor(srp): close universal recording composition seam 2026-04-19 17:00:48 +08:00
6c605bbe20 refactor(srp): hide universal recording helpers behind base apis 2026-04-19 16:17:38 +08:00
93f06e84ed Refactor new editor boundaries and test ownership 2026-04-19 15:52:28 +08:00
570467a083 refactor(srp): rename first-party renderer package to universal 2026-04-19 14:04:19 +08:00
f45b34a03a Refactor new editor state ownership model 2026-04-19 04:36:52 +08:00
c59cd83c38 refactor(new_editor): tighten app dependency boundaries 2026-04-19 02:48:41 +08:00
8164baba0a docs(plan): archive thesis drafts and reference updates 2026-04-19 00:24:25 +08:00
9ca7960346 docs(plan): archive editor and SRP milestones 2026-04-18 23:57:55 +08:00
7dfdda2b11 Refine new_editor scene viewport flow 2026-04-18 23:56:17 +08:00
eb39f87cdd docs: rewrite MiniEngine Core graphics feature guide 2026-04-18 15:02:48 +08:00
ed9b5178f8 docs: archive old plans 2026-04-17 22:43:27 +08:00
a10d1d80b0 docs: clarify new_editor closure status 2026-04-17 22:37:26 +08:00
bf9a906464 new_editor: filter closing windows from interaction 2026-04-17 22:35:16 +08:00
ba8437d919 new_editor: make window sync rollback safe 2026-04-17 22:32:58 +08:00
69319b4a7b new_editor: filter dead windows from live workspace sets 2026-04-17 22:20:06 +08:00
8f051fd1d1 new_editor: harden cross-window drag validation 2026-04-17 22:16:34 +08:00
066442cee5 new_editor: revalidate same-window workspace mutations 2026-04-17 22:12:01 +08:00
0ef6d2a365 new_editor: tighten detached window transfer invariants 2026-04-17 22:03:56 +08:00
af6e0858be new_editor: close integration build boundary 2026-04-17 21:57:24 +08:00
4e2261ad37 docs: fix MiniEngine Core guide encoding 2026-04-17 21:42:06 +08:00
f4fb859972 feat(scripting): add managed SRP runtime bridge 2026-04-17 21:38:22 +08:00
8f847db816 new_editor: tighten window workspace validation 2026-04-17 21:23:47 +08:00
a8b3877f4b docs: add MiniEngine Core beginner guide 2026-04-17 19:53:42 +08:00
e087f1f2b0 docs(rendering): add rendergraph and SRP architecture overview 2026-04-17 19:42:38 +08:00
966106e0c0 refactor(rendering): make camera frame plans own generated sequences 2026-04-15 21:06:30 +08:00
8798e63e32 refactor(rendering): formalize native graph recording helpers 2026-04-15 20:46:00 +08:00
3937badf37 docs: restructure thesis chapters 4 to 6 2026-04-15 14:55:52 +08:00
982a877714 docs: refine thesis chapters 3 and 7 2026-04-15 14:23:51 +08:00
077786e4c7 docs: update thesis draft chapters 2026-04-15 13:23:32 +08:00
3317e47009 feat(physics): add runtime physics scaffolding 2026-04-15 11:58:27 +08:00
dedf149f59 docs: update thesis draft 2026-04-15 11:11:22 +08:00
8b156dd112 docs(new_editor): archive legacy plans and define consolidation roadmap 2026-04-15 07:52:56 +08:00
aa727202af Add managed render pipeline selection bridge 2026-04-15 01:57:14 +08:00
d0ce2d7883 Centralize render-graph recording context builders 2026-04-15 01:18:15 +08:00
f064d6ed68 Extract camera frame fullscreen stage planner 2026-04-15 00:53:51 +08:00
1d171ea61c Split builtin forward pipeline into feature and internal modules 2026-04-14 20:50:31 +08:00
4b58df9a61 audio: share decoded clip cache across sources 2026-04-14 16:17:17 +08:00
3f871a4f45 Lay groundwork for detached editor windows 2026-04-14 15:07:52 +08:00