mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +00:00
LibGL: Implement Texture State Management
Some very primitive Texture State management. Data can now be uploaded to textures.
This commit is contained in:
parent
21dff6d40b
commit
4f324ba4d7
Notes:
sideshowbarker
2024-07-18 17:22:13 +09:00
Author: https://github.com/Quaker762
Commit: 4f324ba4d7
Pull-request: https://github.com/SerenityOS/serenity/pull/7024
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/ccapitalK
Reviewed-by: https://github.com/predmond
Reviewed-by: https://github.com/sunverwerth
8 changed files with 309 additions and 0 deletions
|
@ -57,6 +57,7 @@ public:
|
|||
virtual void gl_hint(GLenum target, GLenum mode) = 0;
|
||||
virtual void gl_read_buffer(GLenum mode) = 0;
|
||||
virtual void gl_read_pixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) = 0;
|
||||
virtual void gl_tex_image_2d(GLenum target, GLint level, GLint internal_format, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* data) = 0;
|
||||
|
||||
virtual void present() = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue