summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/APIspec
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-12-04 23:43:31 +0000
committerBrian Paul <[email protected]>2001-12-04 23:43:31 +0000
commit471a774f433c23b263828aa591415741e78a35da (patch)
treeb4fa5af95ed18cbb40def5e01afa114c78900bc9 /src/mesa/glapi/APIspec
parentc34cb25bdd63766a26db771353d7a96c07f112a8 (diff)
dispatch changes to minimize hassle with XFree86 libGL
Diffstat (limited to 'src/mesa/glapi/APIspec')
-rw-r--r--src/mesa/glapi/APIspec522
1 files changed, 261 insertions, 261 deletions
diff --git a/src/mesa/glapi/APIspec b/src/mesa/glapi/APIspec
index 4587298c744..d3eb56b7dfa 100644
--- a/src/mesa/glapi/APIspec
+++ b/src/mesa/glapi/APIspec
@@ -1,4 +1,4 @@
-# $Id: APIspec,v 1.3 2001/11/26 23:41:24 brianp Exp $
+# $Id: APIspec,v 1.4 2001/12/04 23:43:31 brianp Exp $
# This file describes all the OpenGL functions.
# We use a number of Python scripts to parse this file and
@@ -2843,300 +2843,314 @@ category 1.2
offset 373
-# OpenGL 1.3
+# GL_ARB_multitexture
-name ActiveTexture
+name ActiveTextureARB
return void
param texture GLenum
-category 1.3
+category GL_ARB_multitexture
offset 374
-name ClientActiveTexture
+name ClientActiveTextureARB
return void
param texture GLenum
-category 1.3
+category GL_ARB_multitexture
offset 375
-name MultiTexCoord1d
+name MultiTexCoord1dARB
return void
param target GLenum
param s GLdouble
-category 1.3
+category GL_ARB_multitexture
offset 376
-name MultiTexCoord1dv
+name MultiTexCoord1dvARB
return void
param target GLenum
param v const GLdouble *
-category 1.3
+category GL_ARB_multitexture
offset 377
-name MultiTexCoord1f
+name MultiTexCoord1fARB
return void
param target GLenum
param s GLfloat
-category 1.3
+category GL_ARB_multitexture
offset 378
-name MultiTexCoord1fv
+name MultiTexCoord1fvARB
return void
param target GLenum
param v const GLfloat *
-category 1.3
+category GL_ARB_multitexture
offset 379
-name MultiTexCoord1i
+name MultiTexCoord1iARB
return void
param target GLenum
param s GLint
-category 1.3
+category GL_ARB_multitexture
offset 380
-name MultiTexCoord1iv
+name MultiTexCoord1ivARB
return void
param target GLenum
param v const GLint *
-category 1.3
+category GL_ARB_multitexture
offset 381
-name MultiTexCoord1s
+name MultiTexCoord1sARB
return void
param target GLenum
param s GLshort
-category 1.3
+category GL_ARB_multitexture
offset 382
-name MultiTexCoord1sv
+name MultiTexCoord1svARB
return void
param target GLenum
param v const GLshort *
-category 1.3
+category GL_ARB_multitexture
offset 383
-name MultiTexCoord2d
+name MultiTexCoord2dARB
return void
param target GLenum
param s GLdouble
param t GLdouble
-category 1.3
+category GL_ARB_multitexture
offset 384
-name MultiTexCoord2dv
+name MultiTexCoord2dvARB
return void
param target GLenum
param v const GLdouble *
-category 1.3
+category GL_ARB_multitexture
offset 385
-name MultiTexCoord2f
+name MultiTexCoord2fARB
return void
param target GLenum
param s GLfloat
param t GLfloat
-category 1.3
+category GL_ARB_multitexture
offset 386
-name MultiTexCoord2fv
+name MultiTexCoord2fvARB
return void
param target GLenum
param v const GLfloat *
-category 1.3
+category GL_ARB_multitexture
offset 387
-name MultiTexCoord2i
+name MultiTexCoord2iARB
return void
param target GLenum
param s GLint
param t GLint
-category 1.3
+category GL_ARB_multitexture
offset 388
-name MultiTexCoord2iv
+name MultiTexCoord2ivARB
return void
param target GLenum
param v const GLint *
-category 1.3
+category GL_ARB_multitexture
offset 389
-name MultiTexCoord2s
+name MultiTexCoord2sARB
return void
param target GLenum
param s GLshort
param t GLshort
-category 1.3
+category GL_ARB_multitexture
offset 390
-name MultiTexCoord2sv
+name MultiTexCoord2svARB
return void
param target GLenum
param v const GLshort *
-category 1.3
+category GL_ARB_multitexture
offset 391
-name MultiTexCoord3d
+name MultiTexCoord3dARB
return void
param target GLenum
param s GLdouble
param t GLdouble
param r GLdouble
-category 1.3
+category GL_ARB_multitexture
offset 392
-name MultiTexCoord3dv
+name MultiTexCoord3dvARB
return void
param target GLenum
param v const GLdouble *
-category 1.3
+category GL_ARB_multitexture
offset 393
-name MultiTexCoord3f
+name MultiTexCoord3fARB
return void
param target GLenum
param s GLfloat
param t GLfloat
param r GLfloat
-category 1.3
+category GL_ARB_multitexture
offset 394
-name MultiTexCoord3fv
+name MultiTexCoord3fvARB
return void
param target GLenum
param v const GLfloat *
-category 1.3
+category GL_ARB_multitexture
offset 395
-name MultiTexCoord3i
+name MultiTexCoord3iARB
return void
param target GLenum
param s GLint
param t GLint
param r GLint
-category 1.3
+category GL_ARB_multitexture
offset 396
-name MultiTexCoord3iv
+name MultiTexCoord3ivARB
return void
param target GLenum
param v const GLint *
-category 1.3
+category GL_ARB_multitexture
offset 397
-name MultiTexCoord3s
+name MultiTexCoord3sARB
return void
param target GLenum
param s GLshort
param t GLshort
param r GLshort
-category 1.3
+category GL_ARB_multitexture
offset 398
-name MultiTexCoord3sv
+name MultiTexCoord3svARB
return void
param target GLenum
param v const GLshort *
-category 1.3
+category GL_ARB_multitexture
offset 399
-name MultiTexCoord4d
+name MultiTexCoord4dARB
return void
param target GLenum
param s GLdouble
param t GLdouble
param r GLdouble
param q GLdouble
-category 1.3
+category GL_ARB_multitexture
offset 400
-name MultiTexCoord4dv
+name MultiTexCoord4dvARB
return void
param target GLenum
param v const GLdouble *
-category 1.3
+category GL_ARB_multitexture
offset 401
-name MultiTexCoord4f
+name MultiTexCoord4fARB
return void
param target GLenum
param s GLfloat
param t GLfloat
param r GLfloat
param q GLfloat
-category 1.3
+category GL_ARB_multitexture
offset 402
-name MultiTexCoord4fv
+name MultiTexCoord4fvARB
return void
param target GLenum
param v const GLfloat *
-category 1.3
+category GL_ARB_multitexture
offset 403
-name MultiTexCoord4i
+name MultiTexCoord4iARB
return void
param target GLenum
param s GLint
param t GLint
param r GLint
param q GLint
-category 1.3
+category GL_ARB_multitexture
offset 404
-name MultiTexCoord4iv
+name MultiTexCoord4ivARB
return void
param target GLenum
param v const GLint *
-category 1.3
+category GL_ARB_multitexture
offset 405
-name MultiTexCoord4s
+name MultiTexCoord4sARB
return void
param target GLenum
param s GLshort
param t GLshort
param r GLshort
param q GLshort
-category 1.3
+category GL_ARB_multitexture
offset 406
-name MultiTexCoord4sv
+name MultiTexCoord4svARB
return void
param target GLenum
param v const GLshort *
-category 1.3
+category GL_ARB_multitexture
offset 407
-name LoadTransposeMatrixf
+
+# GL_ARB_transpose_matrix
+
+name LoadTransposeMatrixfARB
return void
param m const GLfloat *
-category 1.3
+category GL_ARB_transpose_matrix
offset 408
-name LoadTransposeMatrixd
+name LoadTransposeMatrixdARB
return void
param m const GLdouble *
-category 1.3
+category GL_ARB_transpose_matrix
offset 409
-name MultTransposeMatrixf
+name MultTransposeMatrixfARB
return void
param m const GLfloat *
-category 1.3
+category GL_ARB_transpose_matrix
offset 410
-name MultTransposeMatrixd
+name MultTransposeMatrixdARB
return void
param m const GLdouble *
-category 1.3
+category GL_ARB_transpose_matrix
offset 411
-name SampleCoverage
+
+# GL_ARB_multisample
+
+name SampleCoverageARB
return void
param value GLclampf
param invert GLboolean
-category 1.3
+category GL_ARB_multisample
offset 412
-name CompressedTexImage3D
+name __unused413
+return void
+category unused
+offset 413
+
+
+# GL_ARB_texture_compression
+
+name CompressedTexImage3DARB
return void
param target GLenum
param level GLint
@@ -3147,10 +3161,10 @@ param depth GLsizei
param border GLint
param imageSize GLsizei
param data const GLvoid *
-category 1.3
+category GL_ARB_texture_compression
offset 554
-name CompressedTexImage2D
+name CompressedTexImage2DARB
return void
param target GLenum
param level GLint
@@ -3160,10 +3174,10 @@ param height GLsizei
param border GLint
param imageSize GLsizei
param data const GLvoid *
-category 1.3
+category GL_ARB_texture_compression
offset 555
-name CompressedTexImage1D
+name CompressedTexImage1DARB
return void
param target GLenum
param level GLint
@@ -3172,10 +3186,10 @@ param width GLsizei
param border GLint
param imageSize GLsizei
param data const GLvoid *
-category 1.3
+category GL_ARB_texture_compression
offset 556
-name CompressedTexSubImage3D
+name CompressedTexSubImage3DARB
return void
param target GLenum
param level GLint
@@ -3188,10 +3202,10 @@ param depth GLsizei
param format GLenum
param imageSize GLsizei
param data const GLvoid *
-category 1.3
+category GL_ARB_texture_compression
offset 557
-name CompressedTexSubImage2D
+name CompressedTexSubImage2DARB
return void
param target GLenum
param level GLint
@@ -3202,10 +3216,10 @@ param height GLsizei
param format GLenum
param imageSize GLsizei
param data const GLvoid *
-category 1.3
+category GL_ARB_texture_compression
offset 558
-name CompressedTexSubImage1D
+name CompressedTexSubImage1DARB
return void
param target GLenum
param level GLint
@@ -3214,327 +3228,313 @@ param width GLsizei
param format GLenum
param imageSize GLsizei
param data const GLvoid *
-category 1.3
+category GL_ARB_texture_compression
offset 559
-name GetCompressedTexImage
+name GetCompressedTexImageARB
return void
param target GLenum
param level GLint
param img GLvoid *
-category 1.3
+category GL_ARB_texture_compression
offset 560
-# GL_ARB_multitexture
+# OpenGL 1.3
-name ActiveTextureARB
-alias ActiveTexture
+name ActiveTexture
+alias ActiveTextureARB
return void
param texture GLenum
-category GL_ARB_multitexture
+category 1.3
-name ClientActiveTextureARB
-alias ClientActiveTexture
+name ClientActiveTexture
+alias ClientActiveTextureARB
return void
param texture GLenum
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord1dARB
-alias MultiTexCoord1d
+name MultiTexCoord1d
+alias MultiTexCoord1dARB
return void
param target GLenum
param s GLdouble
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord1dvARB
-alias MultiTexCoord1dv
+name MultiTexCoord1dv
+alias MultiTexCoord1dvARB
return void
param target GLenum
param v const GLdouble *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord1fARB
-alias MultiTexCoord1f
+name MultiTexCoord1f
+alias MultiTexCoord1fARB
return void
param target GLenum
param s GLfloat
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord1fvARB
-alias MultiTexCoord1fv
+name MultiTexCoord1fv
+alias MultiTexCoord1fvARB
return void
param target GLenum
param v const GLfloat *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord1iARB
-alias MultiTexCoord1i
+name MultiTexCoord1i
+alias MultiTexCoord1iARB
return void
param target GLenum
param s GLint
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord1ivARB
-alias MultiTexCoord1iv
+name MultiTexCoord1iv
+alias MultiTexCoord1ivARB
return void
param target GLenum
param v const GLint *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord1sARB
-alias MultiTexCoord1s
+name MultiTexCoord1s
+alias MultiTexCoord1sARB
return void
param target GLenum
param s GLshort
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord1svARB
-alias MultiTexCoord1sv
+name MultiTexCoord1sv
+alias MultiTexCoord1svARB
return void
param target GLenum
param v const GLshort *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord2dARB
-alias MultiTexCoord2d
+name MultiTexCoord2d
+alias MultiTexCoord2dARB
return void
param target GLenum
param s GLdouble
param t GLdouble
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord2dvARB
-alias MultiTexCoord2dv
+name MultiTexCoord2dv
+alias MultiTexCoord2dvARB
return void
param target GLenum
param v const GLdouble *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord2fARB
-alias MultiTexCoord2f
+name MultiTexCoord2f
+alias MultiTexCoord2fARB
return void
param target GLenum
param s GLfloat
param t GLfloat
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord2fvARB
-alias MultiTexCoord2fv
+name MultiTexCoord2fv
+alias MultiTexCoord2fvARB
return void
param target GLenum
param v const GLfloat *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord2iARB
-alias MultiTexCoord2i
+name MultiTexCoord2i
+alias MultiTexCoord2iARB
return void
param target GLenum
param s GLint
param t GLint
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord2ivARB
-alias MultiTexCoord2iv
+name MultiTexCoord2iv
+alias MultiTexCoord2ivARB
return void
param target GLenum
param v const GLint *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord2sARB
-alias MultiTexCoord2s
+name MultiTexCoord2s
+alias MultiTexCoord2sARB
return void
param target GLenum
param s GLshort
param t GLshort
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord2svARB
-alias MultiTexCoord2sv
+name MultiTexCoord2sv
+alias MultiTexCoord2svARB
return void
param target GLenum
param v const GLshort *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord3dARB
-alias MultiTexCoord3d
+name MultiTexCoord3d
+alias MultiTexCoord3dARB
return void
param target GLenum
param s GLdouble
param t GLdouble
param r GLdouble
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord3dvARB
-alias MultiTexCoord3dv
+name MultiTexCoord3dv
+alias MultiTexCoord3dvARB
return void
param target GLenum
param v const GLdouble *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord3fARB
-alias MultiTexCoord3f
+name MultiTexCoord3f
+alias MultiTexCoord3fARB
return void
param target GLenum
param s GLfloat
param t GLfloat
param r GLfloat
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord3fvARB
-alias MultiTexCoord3fv
+name MultiTexCoord3fv
+alias MultiTexCoord3fvARB
return void
param target GLenum
param v const GLfloat *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord3iARB
-alias MultiTexCoord3i
+name MultiTexCoord3i
+alias MultiTexCoord3iARB
return void
param target GLenum
param s GLint
param t GLint
param r GLint
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord3ivARB
-alias MultiTexCoord3iv
+name MultiTexCoord3iv
+alias MultiTexCoord3ivARB
return void
param target GLenum
param v const GLint *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord3sARB
-alias MultiTexCoord3s
+name MultiTexCoord3s
+alias MultiTexCoord3sARB
return void
param target GLenum
param s GLshort
param t GLshort
param r GLshort
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord3svARB
-alias MultiTexCoord3sv
+name MultiTexCoord3sv
+alias MultiTexCoord3svARB
return void
param target GLenum
param v const GLshort *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord4dARB
-alias MultiTexCoord4d
+name MultiTexCoord4d
+alias MultiTexCoord4dARB
return void
param target GLenum
param s GLdouble
param t GLdouble
param r GLdouble
param q GLdouble
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord4dvARB
-alias MultiTexCoord4dv
+name MultiTexCoord4dv
+alias MultiTexCoord4dvARB
return void
param target GLenum
param v const GLdouble *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord4fARB
-alias MultiTexCoord4f
+name MultiTexCoord4f
+alias MultiTexCoord4fARB
return void
param target GLenum
param s GLfloat
param t GLfloat
param r GLfloat
param q GLfloat
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord4fvARB
-alias MultiTexCoord4fv
+name MultiTexCoord4fv
+alias MultiTexCoord4fvARB
return void
param target GLenum
param v const GLfloat *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord4iARB
-alias MultiTexCoord4i
+name MultiTexCoord4i
+alias MultiTexCoord4iARB
return void
param target GLenum
param s GLint
param t GLint
param r GLint
param q GLint
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord4ivARB
-alias MultiTexCoord4iv
+name MultiTexCoord4iv
+alias MultiTexCoord4ivARB
return void
param target GLenum
param v const GLint *
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord4sARB
-alias MultiTexCoord4s
+name MultiTexCoord4s
+alias MultiTexCoord4sARB
return void
param target GLenum
param s GLshort
param t GLshort
param r GLshort
param q GLshort
-category GL_ARB_multitexture
+category 1.3
-name MultiTexCoord4svARB
-alias MultiTexCoord4sv
+name MultiTexCoord4sv
+alias MultiTexCoord4svARB
return void
param target GLenum
param v const GLshort *
-category GL_ARB_multitexture
-
-
-# GL_ARB_transpose_matrix
+category 1.3
-name LoadTransposeMatrixfARB
-alias LoadTransposeMatrixf
+name LoadTransposeMatrixf
+alias LoadTransposeMatrixfARB
return void
param m const GLfloat *
-category GL_ARB_transpose_matrix
+category 1.3
-name LoadTransposeMatrixdARB
-alias LoadTransposeMatrixd
+name LoadTransposeMatrixd
+alias LoadTransposeMatrixdARB
return void
param m const GLdouble *
-category GL_ARB_transpose_matrix
+category 1.3
-name MultTransposeMatrixfARB
-alias MultTransposeMatrixf
+name MultTransposeMatrixf
+alias MultTransposeMatrixfARB
return void
param m const GLfloat *
-category GL_ARB_transpose_matrix
+category 1.3
-name MultTransposeMatrixdARB
-alias MultTransposeMatrixd
+name MultTransposeMatrixd
+alias MultTransposeMatrixdARB
return void
param m const GLdouble *
-category GL_ARB_transpose_matrix
-
-
-# GL_ARB_multisample
+category 1.3
-name SampleCoverageARB
-alias SampleCoverage
+name SampleCover
+alias SampleCoverageARBARB
return void
param value GLclampf
param invert GLboolean
-category GL_ARB_multisample
-
-name __unused413
-return void
-category unused
-offset 413
-
-
-# GL_ARB_texture_compression
+category 1.3
-name CompressedTexImage3DARB
-alias CompressedTexImage3D
+name CompressedTexImage3D
+alias CompressedTexImage3DARB
return void
param target GLenum
param level GLint
@@ -3545,10 +3545,10 @@ param depth GLsizei
param border GLint
param imageSize GLsizei
param data const GLvoid *
-category GL_ARB_texture_compression
+category 1.3
-name CompressedTexImage2DARB
-alias CompressedTexImage2D
+name CompressedTexImage2D
+alias CompressedTexImage2DARB
return void
param target GLenum
param level GLint
@@ -3558,10 +3558,10 @@ param height GLsizei
param border GLint
param imageSize GLsizei
param data const GLvoid *
-category GL_ARB_texture_compression
+category 1.3
-name CompressedTexImage1DARB
-alias CompressedTexImage1D
+name CompressedTexImage1D
+alias CompressedTexImage1DARB
return void
param target GLenum
param level GLint
@@ -3570,10 +3570,10 @@ param width GLsizei
param border GLint
param imageSize GLsizei
param data const GLvoid *
-category GL_ARB_texture_compression
+category 1.3
-name CompressedTexSubImage3DARB
-alias CompressedTexSubImage3D
+name CompressedTexSubImage3D
+alias CompressedTexSubImage3DARB
return void
param target GLenum
param level GLint
@@ -3586,10 +3586,10 @@ param depth GLsizei
param format GLenum
param imageSize GLsizei
param data const GLvoid *
-category GL_ARB_texture_compression
+category 1.3
-name CompressedTexSubImage2DARB
-alias CompressedTexSubImage2D
+name CompressedTexSubImage2D
+alias CompressedTexSubImage2DARB
return void
param target GLenum
param level GLint
@@ -3600,10 +3600,10 @@ param height GLsizei
param format GLenum
param imageSize GLsizei
param data const GLvoid *
-category GL_ARB_texture_compression
+category 1.3
-name CompressedTexSubImage1DARB
-alias CompressedTexSubImage1D
+name CompressedTexSubImage1D
+alias CompressedTexSubImage1DARB
return void
param target GLenum
param level GLint
@@ -3612,15 +3612,15 @@ param width GLsizei
param format GLenum
param imageSize GLsizei
param data const GLvoid *
-category GL_ARB_texture_compression
+category 1.3
-name GetCompressedTexImageARB
-alias GetCompressedTexImage
+name GetCompressedTexImage
+alias GetCompressedTexImageARB
return void
param target GLenum
param level GLint
param img GLvoid *
-category GL_ARB_texture_compression
+category 1.3
# GL_ARB_vertex_blend
@@ -4477,51 +4477,51 @@ category GL_SGIX_sprite
offset 457
-# GL_ARB_point_parameters
+# GL_EXT_point_parameters
-name PointParameterfARB
+name PointParameterfEXT
return void
param pname GLenum
param param GLfloat
-category GL_ARB_point_parameters
+category GL_EXT_point_parameters
offset 458
-name PointParameterfvARB
+name PointParameterfvEXT
return void
param pname GLenum
param params const GLfloat *
-category GL_ARB_point_parameters
+category GL_EXT_point_parameters
offset 459
-# GL_EXT_point_parameters
+# GL_ARB_point_parameters
-name PointParameterfEXT
-alias PointParameterfARB
+name PointParameterfARB
+alias PointParameterfEXT
return void
param pname GLenum
param param GLfloat
-category GL_EXT_point_parameters
+category GL_ARB_point_parameters
-name PointParameterfvEXT
-alias PointParameterfvARB
+name PointParameterfvARB
+alias PointParameterfvEXT
return void
param pname GLenum
param params const GLfloat *
-category GL_EXT_point_parameters
+category GL_ARB_point_parameters
# GL_SGIS_point_parameters
name PointParameterfSGIS
-alias PointParameterfARB
+alias PointParameterfEXT
return void
param pname GLenum
param param GLfloat
category GL_SGIS_point_parameters
name PointParameterfvSGIS
-alias PointParameterfvARB
+alias PointParameterfvEXT
return void
param pname GLenum
param params const GLfloat *