diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-08-01 06:31:05 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-08-02 19:21:42 +0000 |
| commit | b875435c82aa5efbea55ee17719c4a57b171a811 (patch) | |
| tree | ea29b2579438e995d5b5ccdc655f516d3b23f95b /Graphics/GraphicsEngineOpenGL | |
| parent | Added pRenderPass and SubpassIndex members to GraphicsPipelineDesc struct (diff) | |
| download | DiligentCore-b875435c82aa5efbea55ee17719c4a57b171a811.tar.gz DiligentCore-b875435c82aa5efbea55ee17719c4a57b171a811.zip | |
Base implementation of BeginRenderPass/NextSubpass/EndRenderPass methods
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp | 4 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp index 8b2651fd..ad9ff03b 100644 --- a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp +++ b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp @@ -35,6 +35,8 @@ #include "BufferGLImpl.hpp" #include "TextureBaseGL.hpp" #include "QueryGLImpl.hpp" +#include "FramebufferGLImpl.hpp" +#include "RenderPassGLImpl.hpp" #include "PipelineStateGLImpl.hpp" namespace Diligent @@ -47,6 +49,8 @@ struct DeviceContextGLImplTraits using PipelineStateType = PipelineStateGLImpl; using DeviceType = RenderDeviceGLImpl; using QueryType = QueryGLImpl; + using FramebufferType = FramebufferGLImpl; + using RenderPassType = RenderPassGLImpl; }; /// Device context implementation in OpenGL backend. diff --git a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp index bee081fb..c585137b 100644 --- a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp @@ -405,16 +405,19 @@ void DeviceContextGLImpl::ResetRenderTargets() void DeviceContextGLImpl::BeginRenderPass(const BeginRenderPassAttribs& Attribs) { + TDeviceContextBase::BeginRenderPass(Attribs); UNEXPECTED("Method not implemented"); } void DeviceContextGLImpl::NextSubpass() { + TDeviceContextBase::NextSubpass(); UNEXPECTED("Method not implemented"); } void DeviceContextGLImpl::EndRenderPass() { + TDeviceContextBase::EndRenderPass(); UNEXPECTED("Method not implemented"); } |
