diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-12-24 14:57:00 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-27 11:58:43 +0100 |
commit | abecff1766cde383ca3b76f1616ac226c417c34c (patch) | |
tree | 1b805b954d6bd984008c4b385c0810490c5e057d /Userland/Libraries/LibGL/GL | |
parent | dae63352a3803dbee4d7629921a3531af1a859c1 (diff) | |
download | serenity-abecff1766cde383ca3b76f1616ac226c417c34c.zip |
LibGL: Stub lots of map-related methods
This adds stubs for `glMap(1|2)(d|f)`, `glMapGrid(1|2)(d|f)`,
`glEvalCoord(1|2)(d|f)`, `glEvalMesh(1|2)` and `glEvalPoint(1|2)`.
Diffstat (limited to 'Userland/Libraries/LibGL/GL')
-rw-r--r-- | Userland/Libraries/LibGL/GL/gl.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GL/gl.h b/Userland/Libraries/LibGL/GL/gl.h index 1d00e98b8b..a349d752c7 100644 --- a/Userland/Libraries/LibGL/GL/gl.h +++ b/Userland/Libraries/LibGL/GL/gl.h @@ -578,6 +578,22 @@ GLAPI void glPushAttrib(GLbitfield mask); GLAPI void glPopAttrib(); GLAPI void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, GLubyte const* bitmap); GLAPI void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GLAPI void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, GLdouble const* points); +GLAPI void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, GLfloat const* points); +GLAPI void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble const* points); +GLAPI void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat const* points); +GLAPI void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2); +GLAPI void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2); +GLAPI void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); +GLAPI void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); +GLAPI void glEvalCoord1d(GLdouble u); +GLAPI void glEvalCoord1f(GLfloat u); +GLAPI void glEvalCoord2d(GLdouble u, GLdouble v); +GLAPI void glEvalCoord2f(GLfloat u, GLfloat v); +GLAPI void glEvalMesh1(GLenum mode, GLint i1, GLint i2); +GLAPI void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); +GLAPI void glEvalPoint1(GLint i); +GLAPI void glEvalPoint2(GLint i, GLint j); GLAPI void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); GLAPI void glRecti(GLint x1, GLint y1, GLint x2, GLint y2); GLAPI void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint* params); |