summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-07-27 02:16:18 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-08-02 19:21:40 +0000
commit8798aa2e94602372a61c362d5c3f288cc07388c9 (patch)
tree9ef14b8e949cac5dd65d74ddb2b81ebdd43c7e43 /Graphics/GraphicsEngineOpenGL
parentImplemented SubpassDependencyDesc struct (diff)
downloadDiligentCore-8798aa2e94602372a61c362d5c3f288cc07388c9.tar.gz
DiligentCore-8798aa2e94602372a61c362d5c3f288cc07388c9.zip
Added BeginRenderPass, NextSubpass, and EndRenderPass device context methods
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp9
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp14
2 files changed, 23 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp
index e80e0d04..8b2651fd 100644
--- a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp
+++ b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp
@@ -110,6 +110,15 @@ public:
ITextureView* pDepthStencil,
RESOURCE_STATE_TRANSITION_MODE StateTransitionMode) override final;
+ /// Implementation of IDeviceContext::BeginRenderPass() in Direct3D11 backend.
+ virtual void DILIGENT_CALL_TYPE BeginRenderPass(const BeginRenderPassAttribs& Attribs) override final;
+
+ /// Implementation of IDeviceContext::NextSubpass() in Direct3D11 backend.
+ virtual void DILIGENT_CALL_TYPE NextSubpass() override final;
+
+ /// Implementation of IDeviceContext::EndRenderPass() in Direct3D11 backend.
+ virtual void DILIGENT_CALL_TYPE EndRenderPass() override final;
+
// clang-format off
/// Implementation of IDeviceContext::Draw() in OpenGL backend.
diff --git a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
index f6308229..bee081fb 100644
--- a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
@@ -403,6 +403,20 @@ void DeviceContextGLImpl::ResetRenderTargets()
m_ContextState.InvalidateFBO();
}
+void DeviceContextGLImpl::BeginRenderPass(const BeginRenderPassAttribs& Attribs)
+{
+ UNEXPECTED("Method not implemented");
+}
+
+void DeviceContextGLImpl::NextSubpass()
+{
+ UNEXPECTED("Method not implemented");
+}
+
+void DeviceContextGLImpl::EndRenderPass()
+{
+ UNEXPECTED("Method not implemented");
+}
void DeviceContextGLImpl::BindProgramResources(Uint32& NewMemoryBarriers, IShaderResourceBinding* pResBinding)
{