mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
LibGL: Stub more API calls
These stubs are largely implemented the same: their API is exposed, but they print to the debug console and sometimes `TODO()`. These changes allow GLU and Tux Racer to build. Methods stubbed: * `glTexImage1D` * `glTexImage3D` * `glTexCoord2d(v)` * `glNormalPointer` * `glTexGen(d|f|i)` * `glTexGenfv`
This commit is contained in:
parent
abecff1766
commit
ccf6769d95
6 changed files with 139 additions and 2 deletions
|
@ -528,8 +528,12 @@ GLAPI void glHint(GLenum target, GLenum mode);
|
|||
GLAPI void glReadBuffer(GLenum mode);
|
||||
GLAPI void glDrawBuffer(GLenum buffer);
|
||||
GLAPI void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
|
||||
GLAPI void glTexImage2D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* data);
|
||||
GLAPI void glTexImage1D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, GLvoid const* data);
|
||||
GLAPI void glTexImage2D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid const* data);
|
||||
GLAPI void glTexImage3D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLvoid const* data);
|
||||
GLAPI void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* data);
|
||||
GLAPI void glTexCoord2d(GLdouble s, GLdouble t);
|
||||
GLAPI void glTexCoord2dv(GLdouble const* v);
|
||||
GLAPI void glTexCoord2f(GLfloat s, GLfloat t);
|
||||
GLAPI void glTexCoord2fv(GLfloat const* v);
|
||||
GLAPI void glTexCoord4fv(const GLfloat* v);
|
||||
|
@ -570,6 +574,7 @@ GLAPI void glStencilOp(GLenum sfail, GLenum dpfail, GLenum dppass);
|
|||
GLAPI void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
|
||||
GLAPI void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
|
||||
GLAPI void glNormal3fv(GLfloat const* v);
|
||||
GLAPI void glNormalPointer(GLenum type, GLsizei stride, void const* pointer);
|
||||
GLAPI void glRasterPos2i(GLint x, GLint y);
|
||||
GLAPI void glMaterialf(GLenum face, GLenum pname, GLfloat param);
|
||||
GLAPI void glMaterialfv(GLenum face, GLenum pname, GLfloat const* params);
|
||||
|
@ -594,6 +599,10 @@ 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 glTexGend(GLenum coord, GLenum pname, GLdouble param);
|
||||
GLAPI void glTexGenf(GLenum coord, GLenum pname, GLfloat param);
|
||||
GLAPI void glTexGenfv(GLenum coord, GLenum pname, GLfloat const* params);
|
||||
GLAPI void glTexGeni(GLenum coord, GLenum pname, GLint param);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue