summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicshelperinterface_p.h
diff options
context:
space:
mode:
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;