emugl: generate GL ES/EGL function prototypes at build type from entries files
This will make the *.entries files the the authoritative place to define additional GL function prototypes. All generated header files are now placed inside the build directory so that nobody will ever try to touch them again.
This commit is contained in:
parent
86cc5f1e37
commit
067201baba
20 changed files with 628 additions and 504 deletions
|
|
@ -3,7 +3,8 @@ set(SOURCES
|
|||
GLESv2Dispatch.cpp
|
||||
GLESv1Dispatch.cpp)
|
||||
|
||||
add_library(OpenGLESDispatch STATIC ${SOURCES} ${GENERATED_SOURCES})
|
||||
add_library(OpenGLESDispatch STATIC ${SOURCES})
|
||||
add_dependencies(OpenGLESDispatch GLHeaders)
|
||||
target_link_libraries(OpenGLESDispatch
|
||||
emugl_common
|
||||
GLESv2_dec
|
||||
|
|
|
|||
|
|
@ -5,9 +5,17 @@ void glCurrentPaletteMatrixARB(GLint index);
|
|||
void glMatrixIndexuivARB(GLint size, GLuint * indices);
|
||||
void glMatrixIndexPointerARB(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
|
||||
void glWeightPointerARB(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
|
||||
void glTexGenf(GLenum coord, GLenum pname, GLfloat param );
|
||||
void glTexGeni(GLenum coord, GLenum pname, GLint param );
|
||||
void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params );
|
||||
void glTexGeniv(GLenum coord, GLenum pname, const GLint *params );
|
||||
void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params );
|
||||
void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params );
|
||||
void glTexGenf(GLenum coord, GLenum pname, GLfloat param);
|
||||
void glTexGeni(GLenum coord, GLenum pname, GLint param);
|
||||
void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params);
|
||||
void glTexGeniv(GLenum coord, GLenum pname, const GLint *params);
|
||||
void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params);
|
||||
void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params);
|
||||
void glDrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
|
||||
void glDrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height);
|
||||
void glDrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
|
||||
void glDrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
|
||||
void glDrawTexsvOES(const GLshort *coords);
|
||||
void glDrawTexivOES(const GLint *coords);
|
||||
void glDrawTexfvOES(const GLfloat *coords);
|
||||
void glDrawTexxvOES(const GLfixed *coords);
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
|
||||
void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
|
||||
void glStencilMaskSeparate(GLenum face, GLuint mask);
|
||||
void glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
|
||||
GLboolean glIsProgram(GLuint program);
|
||||
GLboolean glIsShader(GLuint shader);
|
||||
void glVertexAttrib1f(GLuint indx, GLfloat x);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue