mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-11 01:48:09 +00:00
[idd] rewrite to support DirectX12 copy
This commit is contained in:
20
idd/LGIdd/CFrameBufferPool.h
Normal file
20
idd/LGIdd/CFrameBufferPool.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "CFrameBufferResource.h"
|
||||
#include "CIndirectDeviceContext.h"
|
||||
#include "common/KVMFR.h"
|
||||
|
||||
//class CSwapChainProcessor;
|
||||
|
||||
class CFrameBufferPool
|
||||
{
|
||||
CSwapChainProcessor * m_swapChain;
|
||||
|
||||
CFrameBufferResource m_buffers[LGMP_Q_FRAME_LEN];
|
||||
|
||||
public:
|
||||
void Init(CSwapChainProcessor * swapChain);
|
||||
void Reset();
|
||||
|
||||
CFrameBufferResource* CFrameBufferPool::Get(const CIndirectDeviceContext::PreparedFrameBuffer& buffer, size_t minSize);
|
||||
};
|
Reference in New Issue
Block a user