summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-07-31 03:50:15 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-07-31 03:50:15 +0000
commitc3c38e981fe078d2a83d23283c54f0a0f113ce93 (patch)
treeb99e049dbb8fc66a6f4e20e395504a4c582002b7 /Graphics/GraphicsEngineOpenGL
parentFixed initialization of DebugMessageCallback to work in Release mode (diff)
downloadDiligentCore-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/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp4
2 files changed, 6 insertions, 0 deletions
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");