[idd] transport: route immutable texture frames

This commit is contained in:
Geoffrey McRae
2026-08-13 17:33:32 +10:00
parent ba7a037f23
commit deb963774e
16 changed files with 1207 additions and 37 deletions

View File

@@ -66,11 +66,12 @@ bool Frame::Valid(FrameDamage damage, const RECT * rects, unsigned count,
void CFrameGraph::Reset()
{
m_cfg = GraphCfg {};
m_nodeCount = 0;
m_leafCount = 0;
m_begun = false;
m_sealed = false;
m_cfg = GraphCfg {};
m_generation = 0;
m_nodeCount = 0;
m_leafCount = 0;
m_begun = false;
m_sealed = false;
}
bool CFrameGraph::Begin(const GraphCfg& cfg)
@@ -288,6 +289,14 @@ bool CFrameGraph::Seal()
return true;
}
bool CFrameGraph::Stamp(uint64_t generation)
{
if (!m_sealed || m_generation || !generation)
return false;
m_generation = generation;
return true;
}
bool CFrameGraph::Same(const GraphCfg& cfg) const
{
return m_sealed && Frame::Same(m_cfg, cfg);