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