1 /* $Id: texstate.h,v 1.2 1997/05/03 00:53:19 brianp Exp $ */ 2 3 /* 4 * Mesa 3-D graphics library 5 * Version: 2.3 6 * Copyright (C) 1995-1997 Brian Paul 7 * 8 * This library is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU Library General Public 10 * License as published by the Free Software Foundation; either 11 * version 2 of the License, or (at your option) any later version. 12 * 13 * This library is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * Library General Public License for more details. 17 * 18 * You should have received a copy of the GNU Library General Public 19 * License along with this library; if not, write to the Free 20 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 21 */ 22 23 24 /* 25 * $Log: texstate.h,v $ 26 * Revision 1.2 1997/05/03 00:53:19 brianp 27 * removed gl_texturing_enabled() 28 * 29 * Revision 1.1 1997/04/14 01:59:54 brianp 30 * Initial revision 31 * 32 */ 33 34 35 #ifndef TEXSTATE_H 36 #define TEXSTATE_H 37 38 39 #include "types.h" 40 41 42 /*** Called from API ***/ 43 44 extern void gl_GetTexEnvfv( GLcontext *ctx, 45 GLenum target, GLenum pname, GLfloat *params ); 46 47 extern void gl_GetTexEnviv( GLcontext *ctx, 48 GLenum target, GLenum pname, GLint *params ); 49 50 extern void gl_GetTexGendv( GLcontext *ctx, 51 GLenum coord, GLenum pname, GLdouble *params ); 52 53 extern void gl_GetTexGenfv( GLcontext *ctx, 54 GLenum coord, GLenum pname, GLfloat *params ); 55 56 extern void gl_GetTexGeniv( GLcontext *ctx, 57 GLenum coord, GLenum pname, GLint *params ); 58 59 extern void gl_GetTexLevelParameterfv( GLcontext *ctx, 60 GLenum target, GLint level, 61 GLenum pname, GLfloat *params ); 62 63 extern void gl_GetTexLevelParameteriv( GLcontext *ctx, 64 GLenum target, GLint level, 65 GLenum pname, GLint *params ); 66 67 extern void gl_GetTexParameterfv( GLcontext *ctx, GLenum target, 68 GLenum pname, GLfloat *params ); 69 70 extern void gl_GetTexParameteriv( GLcontext *ctx, 71 GLenum target, GLenum pname, GLint *params ); 72 73 74 extern void gl_TexEnvfv( GLcontext *ctx, 75 GLenum target, GLenum pname, const GLfloat *param ); 76 77 78 extern void gl_TexParameterfv( GLcontext *ctx, GLenum target, GLenum pname, 79 const GLfloat *params ); 80 81 82 extern void gl_TexGenfv( GLcontext *ctx, 83 GLenum coord, GLenum pname, const GLfloat *params ); 84 85 86 87 /*** Internal functions ***/ 88 89 extern void gl_update_texture_state( GLcontext *ctx ); 90 91 92 #endif 93 94