mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibGL: Add stubs for shader and program related functions
This commit is contained in:
parent
75495a5d65
commit
4568dcbb55
Notes:
sideshowbarker
2024-07-17 03:02:42 +09:00
Author: https://github.com/sunverwerth
Commit: 4568dcbb55
Pull-request: https://github.com/SerenityOS/serenity/pull/16225
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/supercomputer7
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