summaryrefslogtreecommitdiffstats
path: root/src/render/renderers/opengl/graphicshelpers/graphicshelpergl2_p.h
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2019-06-03 08:07:38 +0200
committerPaul Lemire <paul.lemire@kdab.com>2019-06-04 14:53:15 +0200
commit6eca6eb123588fab5db7a74718f81575f6b2220b (patch)
treebb8f9bc73b328232e8030bb4fd15cfabe84386d4 /src/render/renderers/opengl/graphicshelpers/graphicshelpergl2_p.h
parentdd1d8f51e67ec93031fdd7f7930d63761d1238e6 (diff)
GraphicsHelpers: add bindImageTexture support
Since GL 4.2 and ES 3.1 Change-Id: I3feaaa6e34b3031121771017763d51ac6ef07687 Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/render/renderers/opengl/graphicshelpers/graphicshelpergl2_p.h')
-rw-r--r--src/render/renderers/opengl/graphicshelpers/graphicshelpergl2_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/renderers/opengl/graphicshelpers/graphicshelpergl2_p.h b/src/render/renderers/opengl/graphicshelpers/graphicshelpergl2_p.h
index 56e05e3ff..eb85b8537 100644
--- a/src/render/renderers/opengl/graphicshelpers/graphicshelpergl2_p.h
+++ b/src/render/renderers/opengl/graphicshelpers/graphicshelpergl2_p.h
@@ -76,6 +76,7 @@ public:
void bindFrameBufferAttachment(QOpenGLTexture *texture, const Attachment &attachment) override;
void bindFrameBufferAttachment(RenderBuffer *renderBuffer, const Attachment &attachment) override;
void bindFrameBufferObject(GLuint frameBufferId, FBOBindMode mode) override;
+ void bindImageTexture(GLuint imageUnit, GLuint texture, GLint mipLevel, GLboolean layered, GLint layer, GLenum access, GLenum format) override;
void bindShaderStorageBlock(GLuint programId, GLuint shaderStorageBlockIndex, GLuint shaderStorageBlockBinding) override;
void bindUniformBlock(GLuint programId, GLuint uniformBlockIndex, GLuint uniformBlockBinding) override;
void blendEquation(GLenum mode) override;