fix(render): harden portal exit handoff
This commit is contained in:
parent
ddbd7e4096
commit
82e4b4cb6d
17 changed files with 896 additions and 119 deletions
|
|
@ -415,6 +415,23 @@ internal sealed class SessionPlayerCompositionPhase
|
|||
? revealMeshes.SetDestinationRevealUploadPriority
|
||||
: static _ => { },
|
||||
foundation.TextureCache.SetDestinationRevealUploadPriority);
|
||||
IRenderFrameResourceDiagnosticsSource? revealResourceDiagnostics =
|
||||
StreamingDiagnostics.ProbeRevealTiming
|
||||
? new RuntimeRenderFrameResourceDiagnosticsSource(
|
||||
particles: null,
|
||||
particleBindings: null,
|
||||
worldDispatcher: revealDispatcher,
|
||||
environmentCells: null,
|
||||
particleRenderer: null,
|
||||
uiTextRenderer: null,
|
||||
portalDepthMask: null,
|
||||
clipFrame: null,
|
||||
terrain: null,
|
||||
lighting: null,
|
||||
meshes: foundation.MeshAdapter,
|
||||
textures: foundation.TextureCache,
|
||||
preparedAssets: content.PreparedAssets)
|
||||
: null;
|
||||
var worldReveal = new WorldRevealCoordinator(
|
||||
live.WorldTransit,
|
||||
// #280: read the radii LIVE from the streaming controller rather
|
||||
|
|
@ -450,7 +467,8 @@ internal sealed class SessionPlayerCompositionPhase
|
|||
worldQuiescence,
|
||||
streaming,
|
||||
revealRenderResources,
|
||||
() => live.WorldState.LoadedLandblockCount);
|
||||
() => live.WorldState.LoadedLandblockCount,
|
||||
revealResourceDiagnostics);
|
||||
Fault(SessionPlayerCompositionPoint.WorldRevealCreated);
|
||||
|
||||
return CompleteSessionPlayer(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue