]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/commands_backend.h
Support compute shaders and compute operations
[libs/gl.git] / source / backends / opengl / commands_backend.h
index 0fe989a730256127ba45bf00b6e8ccb2e42582a8..e6a3161ad105f464e2d825baab1360d1ad0a7eb6 100644 (file)
@@ -17,10 +17,14 @@ protected:
 
        OpenGLCommands() = default;
 
+       void begin_frame(unsigned) { }
+       void submit_frame();
+
        void use_pipeline(const PipelineState *);
        void clear(const ClearValue *);
        void draw(const Batch &);
        void draw_instanced(const Batch &, unsigned);
+       void dispatch(unsigned, unsigned, unsigned);
        void resolve_multisample(Framebuffer &);
 
        void begin_query(const QueryPool &, unsigned);