mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-25 08:06:30 +00:00
20 lines
460 B
C++
20 lines
460 B
C++
#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);
|
|
}; |