diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-07-31 03:50:15 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-07-31 03:50:15 +0000 |
| commit | c3c38e981fe078d2a83d23283c54f0a0f113ce93 (patch) | |
| tree | b99e049dbb8fc66a6f4e20e395504a4c582002b7 /Graphics/GraphicsEngineD3D11 | |
| parent | Fixed initialization of DebugMessageCallback to work in Release mode (diff) | |
| download | DiligentCore-c3c38e981fe078d2a83d23283c54f0a0f113ce93.tar.gz DiligentCore-c3c38e981fe078d2a83d23283c54f0a0f113ce93.zip | |
Reworked dynamic resource management in Vulkan to not rely on RingBuffer; added FinishFrame() to device context
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
| -rw-r--r-- | Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.h | 2 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp | 4 |
2 files changed, 6 insertions, 0 deletions
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 ); |
