opengl.cfg: Add more function configurations.

Some were reported by daca@home
This commit is contained in:
versat 2019-07-24 14:48:09 +02:00
parent 641b350cf7
commit 0041733bd6
1 changed files with 111 additions and 0 deletions

View File

@ -41,6 +41,18 @@
<not-bool/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glBindTexture.xhtml -->
<!-- void glBindTexture( GLenum target, GLuint texture); -->
<function name="glBindTexture">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glClear.xml -->
<!-- void glClear( GLbitfield mask ); -->
<function name="glClear">
@ -153,6 +165,23 @@
<noreturn>false</noreturn>
<returnValue type="void"/>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glGet.xml -->
<!-- void glGetBooleanv( GLenum pname, GLboolean * params); -->
<!-- void glGetDoublev( GLenum pname, GLdouble * params); -->
<!-- void glGetFloatv( GLenum pname, GLfloat * params); -->
<!-- void glGetIntegerv( GLenum pname, GLint * params); -->
<function name="glGetBooleanv,glGetDoublev,glGetFloatv,glGetIntegerv">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="out">
<not-null/>
<not-bool/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glIsEnabled.xml -->
<!-- GLboolean glIsEnabled( GLenum cap ); -->
<function name="glIsEnabled">
@ -164,6 +193,16 @@
<not-bool/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glMatrixMode.xml -->
<!-- void glMatrixMode( GLenum mode); -->
<function name="glMatrixMode">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glNormal.xml -->
<!-- void glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ); -->
<!-- void glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ); -->
@ -201,6 +240,18 @@
<not-bool/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glPushMatrix.xml -->
<!-- void glPopMatrix( void); -->
<function name="glPopMatrix">
<noreturn>false</noreturn>
<returnValue type="void"/>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glPushMatrix.xml -->
<!-- void glPushMatrix( void); -->
<function name="glPushMatrix">
<noreturn>false</noreturn>
<returnValue type="void"/>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glRotate.xml -->
<!-- void glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ); -->
<!-- void glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ); -->
@ -312,6 +363,66 @@
<not-bool/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexParameter.xhtml -->
<!-- void glTexParameterf( GLenum target, GLenum pname, GLfloat param); -->
<!-- void glTexParameteri( GLenum target, GLenum pname, GLint param); -->
<!-- void glTextureParameterf( GLuint texture, GLenum pname, GLfloat param); -->
<!-- void glTextureParameteri( GLuint texture, GLenum pname, GLint param); -->
<function name="glTexParameterf,glTexParameteri,glTextureParameterf,glTextureParameteri">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexParameter.xhtml -->
<!-- void glTexParameterfv( GLenum target, GLenum pname, const GLfloat * params); -->
<!-- void glTexParameteriv( GLenum target, GLenum pname, const GLint * params); -->
<!-- void glTexParameterIiv( GLenum target, GLenum pname, const GLint * params); -->
<!-- void glTexParameterIuiv( GLenum target, GLenum pname, const GLuint * params); -->
<!-- void glTextureParameterfv( GLuint texture, GLenum pname, const GLfloat *params); -->
<!-- void glTextureParameteriv( GLuint texture, GLenum pname, const GLint *params); -->
<!-- void glTextureParameterIiv( GLuint texture, GLenum pname, const GLint *params); -->
<!-- void glTextureParameterIuiv( GLuint texture, GLenum pname, const GLuint *params); -->
<function name="glTexParameterfv,glTexParameteriv,glTexParameterIiv,glTexParameterIuiv,glTextureParameterfv,glTextureParameteriv,glTextureParameterIiv,glTextureParameterIuiv">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" direction="in">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glTranslate.xml -->
<!-- void glTranslated( GLdouble x, GLdouble y, GLdouble z); -->
<!-- void glTranslatef( GLfloat x, GLfloat y, GLfloat z); -->
<function name="glTranslated,glTranslatef">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glVertex.xml -->
<!-- void glVertex2s( GLshort x, GLshort y ); -->
<!-- void glVertex2i( GLint x, GLint y ); -->