diff options
author | Antti Määttä <antti.maatta@qt.io> | 2016-08-26 11:15:51 +0300 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2016-10-20 08:20:55 +0000 |
commit | 866ed69dc48275ecf774bff075f6b14747999d34 (patch) | |
tree | cd859816865680cab5125787dc735f65de656f2e /src/render/graphicshelpers/graphicshelpergl3_3_p.h | |
parent | 1d6b264abd31b8432c0bb700a18d24c0289d5bc6 (diff) |
Add blitFramebuffer to graphics helpers
Add support for glBlitFramebuffer, which is needed to implement render
capture of multisampled framebuffers.
Change-Id: I95afda70e085051fc29e2456580b8248675332d4
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicshelpergl3_3_p.h')
-rw-r--r-- | src/render/graphicshelpers/graphicshelpergl3_3_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicshelpergl3_3_p.h b/src/render/graphicshelpers/graphicshelpergl3_3_p.h index bbea8806a..b2ea8abca 100644 --- a/src/render/graphicshelpers/graphicshelpergl3_3_p.h +++ b/src/render/graphicshelpers/graphicshelpergl3_3_p.h @@ -81,6 +81,7 @@ public: void blendEquation(GLenum mode) Q_DECL_OVERRIDE; void blendFunci(GLuint buf, GLenum sfactor, GLenum dfactor) Q_DECL_OVERRIDE; void blendFuncSeparatei(GLuint buf, GLenum sRGB, GLenum dRGB, GLenum sAlpha, GLenum dAlpha) Q_DECL_OVERRIDE; + void blitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) Q_DECL_OVERRIDE; GLuint boundFrameBufferObject() Q_DECL_OVERRIDE; void buildUniformBuffer(const QVariant &v, const ShaderUniform &description, QByteArray &buffer) Q_DECL_OVERRIDE; bool checkFrameBufferComplete() Q_DECL_OVERRIDE; |