1 /* $Id: texstate.h,v 1.5 2000/11/22 07:32:17 joukj Exp $ */
4 * Mesa 3-D graphics library
7 * Copyright (C) 1999 Brian Paul All Rights Reserved.
9 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
16 * The above copyright notice and this permission notice shall be included
17 * in all copies or substantial portions of the Software.
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
38 /*** Called from API ***/
41 _mesa_GetTexEnvfv( GLenum target
, GLenum pname
, GLfloat
*params
);
44 _mesa_GetTexEnviv( GLenum target
, GLenum pname
, GLint
*params
);
47 _mesa_GetTexGendv( GLenum coord
, GLenum pname
, GLdouble
*params
);
50 _mesa_GetTexGenfv( GLenum coord
, GLenum pname
, GLfloat
*params
);
53 _mesa_GetTexGeniv( GLenum coord
, GLenum pname
, GLint
*params
);
56 _mesa_GetTexLevelParameterfv( GLenum target
, GLint level
,
57 GLenum pname
, GLfloat
*params
);
60 _mesa_GetTexLevelParameteriv( GLenum target
, GLint level
,
61 GLenum pname
, GLint
*params
);
64 _mesa_GetTexParameterfv( GLenum target
, GLenum pname
, GLfloat
*params
);
67 _mesa_GetTexParameteriv( GLenum target
, GLenum pname
, GLint
*params
);
71 _mesa_TexEnvf( GLenum target
, GLenum pname
, GLfloat param
);
74 _mesa_TexEnvfv( GLenum target
, GLenum pname
, const GLfloat
*param
);
77 _mesa_TexEnvi( GLenum target
, GLenum pname
, GLint param
);
80 _mesa_TexEnviv( GLenum target
, GLenum pname
, const GLint
*param
);
84 _mesa_TexParameterfv( GLenum target
, GLenum pname
, const GLfloat
*params
);
87 _mesa_TexParameterf( GLenum target
, GLenum pname
, GLfloat param
);
91 _mesa_TexParameteri( GLenum target
, GLenum pname
, GLint param
);
94 _mesa_TexParameteriv( GLenum target
, GLenum pname
, const GLint
*params
);
98 _mesa_TexGend( GLenum coord
, GLenum pname
, GLdouble param
);
101 _mesa_TexGendv( GLenum coord
, GLenum pname
, const GLdouble
*params
);
104 _mesa_TexGenf( GLenum coord
, GLenum pname
, GLfloat param
);
107 _mesa_TexGenfv( GLenum coord
, GLenum pname
, const GLfloat
*params
);
110 _mesa_TexGeni( GLenum coord
, GLenum pname
, GLint param
);
113 _mesa_TexGeniv( GLenum coord
, GLenum pname
, const GLint
*params
);
117 extern void gl_SelectTextureTransform( GLcontext
*ctx
, GLenum target
);
121 * GL_ARB_multitexture
124 _mesa_ActiveTextureARB( GLenum target
);
127 _mesa_ClientActiveTextureARB( GLenum target
);