Commit Graph

771 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
93f06e84ed Refactor new editor boundaries and test ownership 2026-04-19 15:52:28 +08:00
dc13b56cf3 refactor(srp): collapse universal pipeline wrappers 2026-04-19 15:33:03 +08:00
237a628e2a refactor(srp): rename camera request context surface 2026-04-19 15:20:34 +08:00
8edc68f02b refactor(srp): move recording helpers into universal extensions 2026-04-19 14:42:57 +08:00
570467a083 refactor(srp): rename first-party renderer package to universal 2026-04-19 14:04:19 +08:00
537d7d99fc refactor(srp): remove managed frame planning hook
- derive fullscreen stage planning from pipeline render-graph support
- trim planning-only APIs from the managed SRP bridge and public surface
- update probes and tests to lock the slimmer SRP API boundary
2026-04-19 13:47:20 +08:00
08e2b38df2 refactor(srp): hide pipeline data behind rendering data 2026-04-19 13:12:26 +08:00
0cea7b80e8 refactor(srp): align renderer api with unity contexts 2026-04-19 13:05:57 +08:00
fe7e6dddf3 refactor(srp): move renderer request helpers out of core 2026-04-19 05:34:43 +08:00
11a03a4b46 refactor(srp): unify engine managed assembly discovery 2026-04-19 05:17:42 +08:00
5fa209ab5d refactor(srp): split universal managed pipeline assembly 2026-04-19 05:03:56 +08:00
f45b34a03a Refactor new editor state ownership model 2026-04-19 04:36:52 +08:00
48bfde28e3 refactor(rendering): formalize pipeline selection and engine asset discovery 2026-04-19 04:31:48 +08:00
78bcd2e9ca refactor(new_editor): unify panel input and rename primitives 2026-04-19 03:23:16 +08:00
c59cd83c38 refactor(new_editor): tighten app dependency boundaries 2026-04-19 02:48:41 +08:00
1405ef6a29 feat(project): refresh sample scenes and Nahida assets 2026-04-19 00:29:32 +08:00
f4fef59b2f feat(rendering): add volumetric performance coverage 2026-04-19 00:27:13 +08:00
d2017b251c feat(audio): formalize runtime effects and wav loading 2026-04-19 00:26:28 +08:00
b989edca91 feat(rendering): add managed SRP renderer runtime 2026-04-19 00:05:29 +08:00
a57b322bc7 feat(new_editor): wire project, inspector, and viewport runtime 2026-04-19 00:03:25 +08:00
8257403036 feat(editor): persist graphics settings and shadow overrides 2026-04-19 00:01:49 +08:00
7dfdda2b11 Refine new_editor scene viewport flow 2026-04-18 23:56:17 +08:00
f544b2792b Refactor new editor scene viewport tools 2026-04-18 18:55:19 +08:00
b8e84001fa fix(rendering): preserve managed SRP selection across scene replace 2026-04-18 17:47:11 +08:00
cac6e34fa5 fix(rendering): clear managed SRP selection on runtime stop 2026-04-18 16:52:59 +08:00
30ee70a4d1 feat(rendering): select managed SRP through asset instances 2026-04-18 16:41:53 +08:00
849625e732 feat(rendering): expose managed SRP asset final color defaults 2026-04-18 16:19:54 +08:00
5fd474d08d feat(rendering): add shader-vector fullscreen SRP seam
Generalize the native fullscreen pass and descriptor plumbing so managed SRP can request shader-driven fullscreen stages without being locked to the ColorScale path.

Keep ColorScale as a convenience descriptor mapped to the builtin color-scale shader, and add native fullscreen factory coverage for the new shader-vector path.
2026-04-18 16:08:01 +08:00
c4adbcd83e refactor(rendering): genericize native fullscreen pass descriptors
replace camera-specific post-process descriptor naming with generic fullscreen pass types

route camera planning and managed SRP runtime through the same fullscreen pass seam
2026-04-18 14:59:55 +08:00
788b1b971e refactor(rendering): rename native scene recorder seam 2026-04-18 13:36:37 +08:00
cf54014de9 refactor(rendering): remove builtin naming from managed srp context 2026-04-18 13:30:45 +08:00
2409f479e9 refactor(rendering): route managed scene recording through native scene renderer factory 2026-04-18 01:24:21 +08:00
1ba73fdf0a refactor(rendering): extract native scene renderer contract for srp 2026-04-18 01:19:02 +08:00
df02a4e741 fix(rendering): refresh managed pipelines on srp environment changes 2026-04-18 01:10:45 +08:00
e388b6fbe3 fix(rendering): rebind managed srp asset runtime after bridge reset 2026-04-18 01:01:30 +08:00
afb2c1579c test(rendering): prove managed forward pipeline scene render path 2026-04-18 00:51:51 +08:00
b48760ca3d Refactor new editor scene runtime ownership 2026-04-18 00:45:14 +08:00