1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:17:35 +00:00

LibGL: Add buffer API stubs

No implemented functionality, but this makes it easier to see if
software is using this family of functions.
This commit is contained in:
Jelle Raaijmakers 2022-10-15 22:50:32 +02:00 committed by Linus Groh
parent 1c32d93a12
commit 03258f4c96
6 changed files with 80 additions and 1 deletions

View file

@ -213,6 +213,11 @@ public:
void gl_array_element(GLint i);
void gl_copy_tex_sub_image_2d(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
void gl_point_size(GLfloat size);
void gl_bind_buffer(GLenum target, GLuint buffer);
void gl_buffer_data(GLenum target, GLsizeiptr size, void const* data, GLenum usage);
void gl_buffer_sub_data(GLenum target, GLintptr offset, GLsizeiptr size, void const* data);
void gl_delete_buffers(GLsizei n, GLuint const* buffers);
void gl_gen_buffers(GLsizei n, GLuint* buffers);
private:
void sync_device_config();