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/GraphicsEngineOpenGL/include/DeviceContextGLImpl.h | 2 ++ Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.h b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.h index bff4710d..6967f15a 100644 --- a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.h +++ b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.h @@ -78,6 +78,8 @@ public: virtual void Flush()override final; + virtual void FinishFrame(bool ForceRelease)override final; + virtual void FinishCommandList(class ICommandList **ppCommandList)override final; virtual void ExecuteCommandList(class ICommandList *pCommandList)override final; diff --git a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp index 394542aa..e00af85c 100644 --- a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp @@ -976,6 +976,10 @@ namespace Diligent glFlush(); } + void DeviceContextGLImpl::FinishFrame(bool ForceRelease) + { + } + void DeviceContextGLImpl::FinishCommandList(class ICommandList **ppCommandList) { LOG_ERROR("Deferred contexts are not supported in OpenGL mode"); -- cgit v1.2.3