refactor(render): remove stale portal products from frame exchange
This commit is contained in:
parent
4d0379744b
commit
a2f2eb7d78
1 changed files with 0 additions and 45 deletions
|
|
@ -170,17 +170,6 @@ internal readonly struct RenderFrameView
|
||||||
public ReadOnlySpan<RenderFrameCandidateRange> RouteRanges =>
|
public ReadOnlySpan<RenderFrameCandidateRange> RouteRanges =>
|
||||||
Arena.RouteRanges;
|
Arena.RouteRanges;
|
||||||
|
|
||||||
public PortalVisibilityFrame? PortalFrame => Arena.PortalFrame;
|
|
||||||
|
|
||||||
public ClipFrameAssembly? ClipAssembly => Arena.ClipAssembly;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Exact portal-view cones captured by the retail frame walk for each
|
|
||||||
/// building look-in turn. The packed dispatcher consumes these at
|
|
||||||
/// per-GfxObj granularity, matching RenderDeviceD3D::DrawMesh.
|
|
||||||
/// </summary>
|
|
||||||
public IWalkLookInViewSource? WalkLookInViews => Arena.WalkLookInViews;
|
|
||||||
|
|
||||||
public RenderFrameDiagnosticCounts DiagnosticCounts =>
|
public RenderFrameDiagnosticCounts DiagnosticCounts =>
|
||||||
Arena.DiagnosticCounts;
|
Arena.DiagnosticCounts;
|
||||||
|
|
||||||
|
|
@ -251,12 +240,6 @@ internal sealed class RenderFrameArena
|
||||||
|
|
||||||
public ulong FrameSequence { get; private set; }
|
public ulong FrameSequence { get; private set; }
|
||||||
|
|
||||||
public PortalVisibilityFrame? PortalFrame { get; private set; }
|
|
||||||
|
|
||||||
public ClipFrameAssembly? ClipAssembly { get; private set; }
|
|
||||||
|
|
||||||
public IWalkLookInViewSource? WalkLookInViews { get; private set; }
|
|
||||||
|
|
||||||
public RenderSceneDigest SourceDigest { get; private set; }
|
public RenderSceneDigest SourceDigest { get; private set; }
|
||||||
|
|
||||||
public RenderFrameDiagnosticCounts DiagnosticCounts =>
|
public RenderFrameDiagnosticCounts DiagnosticCounts =>
|
||||||
|
|
@ -336,9 +319,6 @@ internal sealed class RenderFrameArena
|
||||||
_routeRangeCount = 0;
|
_routeRangeCount = 0;
|
||||||
_opaqueClassificationCount = 0;
|
_opaqueClassificationCount = 0;
|
||||||
_alphaClassificationCount = 0;
|
_alphaClassificationCount = 0;
|
||||||
PortalFrame = null;
|
|
||||||
ClipAssembly = null;
|
|
||||||
WalkLookInViews = null;
|
|
||||||
SourceDigest = default;
|
SourceDigest = default;
|
||||||
_sourceDigestSet = false;
|
_sourceDigestSet = false;
|
||||||
Generation = generation;
|
Generation = generation;
|
||||||
|
|
@ -349,18 +329,6 @@ internal sealed class RenderFrameArena
|
||||||
return _epoch;
|
return _epoch;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void SetBorrowedProducts(
|
|
||||||
ulong epoch,
|
|
||||||
PortalVisibilityFrame? portalFrame,
|
|
||||||
ClipFrameAssembly? clipAssembly,
|
|
||||||
IWalkLookInViewSource? walkLookInViews)
|
|
||||||
{
|
|
||||||
EnsureBuilding(epoch);
|
|
||||||
PortalFrame = portalFrame;
|
|
||||||
ClipAssembly = clipAssembly;
|
|
||||||
WalkLookInViews = walkLookInViews;
|
|
||||||
}
|
|
||||||
|
|
||||||
internal void SetSourceDigest(ulong epoch, in RenderSceneDigest digest)
|
internal void SetSourceDigest(ulong epoch, in RenderSceneDigest digest)
|
||||||
{
|
{
|
||||||
EnsureBuilding(epoch);
|
EnsureBuilding(epoch);
|
||||||
|
|
@ -560,9 +528,6 @@ internal sealed class RenderFrameArena
|
||||||
{
|
{
|
||||||
EnsureBuilding(epoch);
|
EnsureBuilding(epoch);
|
||||||
ClearReferenceStorage();
|
ClearReferenceStorage();
|
||||||
PortalFrame = null;
|
|
||||||
ClipAssembly = null;
|
|
||||||
WalkLookInViews = null;
|
|
||||||
SourceDigest = default;
|
SourceDigest = default;
|
||||||
_sourceDigestSet = false;
|
_sourceDigestSet = false;
|
||||||
_state = ArenaState.Available;
|
_state = ArenaState.Available;
|
||||||
|
|
@ -667,16 +632,6 @@ internal readonly struct RenderFrameWriter
|
||||||
_epoch = epoch;
|
_epoch = epoch;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetBorrowedProducts(
|
|
||||||
PortalVisibilityFrame? portalFrame,
|
|
||||||
ClipFrameAssembly? clipAssembly,
|
|
||||||
IWalkLookInViewSource? walkLookInViews = null) =>
|
|
||||||
Arena.SetBorrowedProducts(
|
|
||||||
_epoch,
|
|
||||||
portalFrame,
|
|
||||||
clipAssembly,
|
|
||||||
walkLookInViews);
|
|
||||||
|
|
||||||
public void SetSourceDigest(in RenderSceneDigest digest) =>
|
public void SetSourceDigest(in RenderSceneDigest digest) =>
|
||||||
Arena.SetSourceDigest(_epoch, in digest);
|
Arena.SetSourceDigest(_epoch, in digest);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue