summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicshelperinterface_p.h
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2015-12-13 14:39:11 +0100
committerPaul Lemire <paul.lemire@kdab.com>2016-01-13 16:10:51 +0000
commit88c358e8c5970afdf15483ac982b481c895aaa7c (patch)
tree6d34ff781071a85d660664051318fc519e0a53fc /src/render/graphicshelpers/graphicshelperinterface_p.h
parent65bbc12f88154ac9210c88f4fef5312e328b8647 (diff)
GraphicsHelper: add dispatch compute function
Change-Id: I3c2614f0fc484d6f492d9302a3ec9335e827f741 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicshelperinterface_p.h')
-rw-r--r--src/render/graphicshelpers/graphicshelperinterface_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/graphicshelpers/graphicshelperinterface_p.h b/src/render/graphicshelpers/graphicshelperinterface_p.h
index caeb8f0c0..91785d21f 100644
--- a/src/render/graphicshelpers/graphicshelperinterface_p.h
+++ b/src/render/graphicshelpers/graphicshelperinterface_p.h
@@ -71,7 +71,8 @@ public:
PrimitiveRestart,
RenderBufferDimensionRetrieval,
TextureDimensionRetrieval,
- ShaderStorageObject
+ ShaderStorageObject,
+ Compute
};
virtual ~GraphicsHelperInterface() {}
@@ -95,6 +96,7 @@ public:
virtual void disableAlphaCoverage() = 0;
virtual void disableClipPlane(int clipPlane) = 0;
virtual void disablePrimitiveRestart() = 0;
+ virtual void dispatchCompute(GLuint wx, GLuint wy, GLuint wz) = 0;
virtual void drawArrays(GLenum primitiveType, GLint first, GLsizei count) = 0;
virtual void drawArraysInstanced(GLenum primitiveType, GLint first, GLsizei count, GLsizei instances) = 0;
virtual void drawBuffers(GLsizei n, const int *bufs) = 0;