[idd] transport: isolate frame configuration

This commit is contained in:
Geoffrey McRae
2026-08-13 12:50:44 +10:00
parent eb74a8ec9d
commit 081dcf8879
4 changed files with 96 additions and 0 deletions

View File

@@ -42,6 +42,10 @@ private:
CLGMPInputTransport m_input;
CRecovery m_recovery;
std::atomic<bool> m_ready = false;
FrameCfg m_activeCfg;
FrameCfg m_pendingCfg;
bool m_hasActive = false;
bool m_hasPending = false;
public:
explicit CLGMPTransport(const TransportInstance& config);
@@ -60,6 +64,12 @@ public:
uint64_t session, uint32_t serial, bool active,
Recovery state, uint32_t error) override;
const FrameProfile * Profiles(unsigned& count) const override;
CfgResult Probe(const FrameCfg& cfg) const override;
CfgResult Prepare(const FrameCfg& cfg) override;
void Commit() override;
void Abort() override;
std::shared_ptr<const FrameCaps> GetFrameCaps() const override;
DirectFrameBufferMemory GetDirectMemory() const override;