mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +00:00
LibGL: Implement glGetTexImage
The plumbing was already there in LibGPU, so all that was left was to implement the API :^)
This commit is contained in:
parent
4f69022c32
commit
8ab410a536
6 changed files with 46 additions and 0 deletions
|
@ -194,6 +194,7 @@ public:
|
|||
void gl_light_model(GLenum pname, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
||||
void gl_bitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, GLubyte const* bitmap);
|
||||
void gl_copy_tex_image_2d(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
|
||||
void gl_get_tex_image(GLenum target, GLint level, GLenum format, GLenum type, void* pixels);
|
||||
void gl_get_tex_parameter_integerv(GLenum target, GLint level, GLenum pname, GLint* params);
|
||||
void gl_rect(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
|
||||
void gl_tex_gen(GLenum coord, GLenum pname, GLint param);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue