1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:47:46 +00:00

LibGL: Implement glDrawArrays

This commit is contained in:
Stephan Unverwerth 2021-08-13 15:22:29 +02:00 committed by Andreas Kling
parent b9261ade52
commit e64d0d43d2
5 changed files with 147 additions and 1 deletions

View file

@ -69,6 +69,7 @@ public:
virtual void gl_vertex_pointer(GLint size, GLenum type, GLsizei stride, const void* pointer) = 0;
virtual void gl_color_pointer(GLint size, GLenum type, GLsizei stride, const void* pointer) = 0;
virtual void gl_tex_coord_pointer(GLint size, GLenum type, GLsizei stride, const void* pointer) = 0;
virtual void gl_draw_arrays(GLenum mode, GLint first, GLsizei count) = 0;
virtual void present() = 0;
};