summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicscontext_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/graphicscontext_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/graphicscontext_p.h')
-rw-r--r--src/render/graphicshelpers/graphicscontext_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicscontext_p.h b/src/render/graphicshelpers/graphicscontext_p.h
index bbc93c43d..12145c090 100644
--- a/src/render/graphicshelpers/graphicscontext_p.h
+++ b/src/render/graphicshelpers/graphicscontext_p.h
@@ -186,6 +186,7 @@ public:
void disableAlphaCoverage();
void disableClipPlane(int clipPlane);
void disablePrimitiveRestart();
+ void dispatchCompute(int x, int y, int z);
void drawArrays(GLenum primitiveType, GLint first, GLsizei count);
void drawArraysInstanced(GLenum primitiveType, GLint first, GLsizei count, GLsizei instances);
void drawElements(GLenum primitiveType, GLsizei primitiveCount, GLint indexType, void * indices, GLint baseVertex = 0);