mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:27:34 +00:00
LibGL: Add stubs for shader and program related functions
This commit is contained in:
parent
75495a5d65
commit
4568dcbb55
5 changed files with 123 additions and 0 deletions
|
@ -228,6 +228,16 @@ public:
|
|||
void gl_delete_buffers(GLsizei n, GLuint const* buffers);
|
||||
void gl_gen_buffers(GLsizei n, GLuint* buffers);
|
||||
|
||||
GLuint gl_create_shader(GLenum shader_type);
|
||||
void gl_delete_shader(GLuint shader);
|
||||
void gl_shader_source(GLuint shader, GLsizei count, GLchar const** string, GLint const* length);
|
||||
void gl_compile_shader(GLuint shader);
|
||||
|
||||
GLuint gl_create_program();
|
||||
void gl_delete_program(GLuint program);
|
||||
void gl_attach_shader(GLuint program, GLuint shader);
|
||||
void gl_link_program(GLuint program);
|
||||
|
||||
private:
|
||||
void sync_device_config();
|
||||
void sync_device_sampler_config();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue