From c3c38e981fe078d2a83d23283c54f0a0f113ce93 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 30 Jul 2018 20:50:15 -0700 Subject: Reworked dynamic resource management in Vulkan to not rely on RingBuffer; added FinishFrame() to device context --- Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.h | 2 ++ Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'Graphics/GraphicsEngineD3D11') diff --git a/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.h b/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.h index 469dd621..002e61ab 100644 --- a/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.h +++ b/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.h @@ -85,6 +85,8 @@ public: virtual void ClearRenderTarget( ITextureView* pView, const float *RGBA )override final; virtual void Flush()override final; + + virtual void FinishFrame(bool ForceRelease)override final; void FinishCommandList(class ICommandList **ppCommandList)override final; diff --git a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp index da8ac073..856bc56c 100644 --- a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp +++ b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp @@ -858,6 +858,10 @@ namespace Diligent m_pd3d11DeviceContext->Flush(); } + void DeviceContextD3D11Impl::FinishFrame(bool ForceRelease) + { + } + void DeviceContextD3D11Impl::SetVertexBuffers( Uint32 StartSlot, Uint32 NumBuffersSet, IBuffer **ppBuffers, Uint32* pOffsets, Uint32 Flags ) { TDeviceContextBase::SetVertexBuffers( StartSlot, NumBuffersSet, ppBuffers, pOffsets, Flags ); -- cgit v1.2.3