diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2016-05-06 11:17:29 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2016-05-06 11:19:11 +0100 |
commit | 05e5c863bde2d0cb1cea14b50e77b524a719833b (patch) | |
tree | d924e3cd70381deceb0329828bae1c02d60f938f /specs | |
parent | 0ae45f5f469945fd6f9328f6d772f3cc4804d9e4 (diff) |
gltrace: Add missing OS X prototypes.
For completeness. Specially because theres no *GetProcAddress on OS X,
so there's no warning when an app uses them.
Even with this change, there's still a few obscure entrypoint missing.
Diffstat (limited to 'specs')
-rw-r--r-- | specs/glapi.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/specs/glapi.py b/specs/glapi.py index 7692778a..5bc2c345 100644 --- a/specs/glapi.py +++ b/specs/glapi.py @@ -949,6 +949,10 @@ glapi.addFunctions([ GlFunction(GLenum, "glObjectUnpurgeableAPPLE", [(GLenum, "objectType"), (GLuint, "name"), (GLenum, "option")]), GlFunction(Void, "glGetObjectParameterivAPPLE", [(GLenum, "objectType"), (GLuint, "name"), (GLenum, "pname"), Out(Array(GLint, "_gl_param_size(pname)"), "params")], sideeffects=False), + # GL_APPLE_vertex_point_size + GlFunction(Void, "glPointSizePointerAPPLE", [(GLenum, "type"), (GLsizei, "stride"), (GLpointerConst, "pointer")]), + GlFunction(Void, "glVertexPointSizefAPPLE", [(GLfloat, "size")]), + # GL_APPLE_sync GlFunction(GLsync, "glFenceSyncAPPLE", [(GLenum, "condition"), (GLbitfield, "flags")]), GlFunction(GLboolean, "glIsSyncAPPLE", [(GLsync, "sync")], sideeffects=False), @@ -1870,6 +1874,9 @@ glapi.addFunctions([ GlFunction(Void, "glGetTexBumpParameterivATI", [(GLenum, "pname"), Out(Array(GLint, "_gl_param_size(pname)"), "param")], sideeffects=False), GlFunction(Void, "glGetTexBumpParameterfvATI", [(GLenum, "pname"), Out(Array(GLfloat, "_gl_param_size(pname)"), "param")], sideeffects=False), + # GL_ATI_blend_equation_separate + GlFunction(Void, "glBlendEquationSeparateATI", [(GLenum, "equationRGB"), (GLenum, "equationAlpha")]), + # GL_ATI_fragment_shader GlFunction(Handle("fragmentShaderATI", GLuint, "range"), "glGenFragmentShadersATI", [(GLuint, "range")]), GlFunction(Void, "glBindFragmentShaderATI", [(GLfragmentShaderATI, "id")]), @@ -1894,6 +1901,10 @@ glapi.addFunctions([ GlFunction(Void, "glPNTrianglesiATI", [(GLenum, "pname"), (GLint, "param")]), GlFunction(Void, "glPNTrianglesfATI", [(GLenum, "pname"), (GLfloat, "param")]), + # GL_ATIX_pn_triangles + GlFunction(Void, "glPNTrianglesiATIX", [(GLenum, "pname"), (GLint, "param")]), + GlFunction(Void, "glPNTrianglesfATIX", [(GLenum, "pname"), (GLfloat, "param")]), + # GL_ATI_separate_stencil GlFunction(Void, "glStencilOpSeparateATI", [(GLenum, "face"), (GLenum, "sfail"), (GLenum, "dpfail"), (GLenum, "dppass")]), GlFunction(Void, "glStencilFuncSeparateATI", [(GLenum, "frontfunc"), (GLenum, "backfunc"), (GLint, "ref"), (GLuint, "mask")]), |