1848b8605Smrg/** 2848b8605Smrg * \file get.h 3848b8605Smrg * State query functions. 4848b8605Smrg */ 5848b8605Smrg 6848b8605Smrg/* 7848b8605Smrg * Mesa 3-D graphics library 8848b8605Smrg * 9848b8605Smrg * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. 10848b8605Smrg * 11848b8605Smrg * Permission is hereby granted, free of charge, to any person obtaining a 12848b8605Smrg * copy of this software and associated documentation files (the "Software"), 13848b8605Smrg * to deal in the Software without restriction, including without limitation 14848b8605Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 15848b8605Smrg * and/or sell copies of the Software, and to permit persons to whom the 16848b8605Smrg * Software is furnished to do so, subject to the following conditions: 17848b8605Smrg * 18848b8605Smrg * The above copyright notice and this permission notice shall be included 19848b8605Smrg * in all copies or substantial portions of the Software. 20848b8605Smrg * 21848b8605Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 22848b8605Smrg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 23848b8605Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 24848b8605Smrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 25848b8605Smrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 26848b8605Smrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 27848b8605Smrg * OTHER DEALINGS IN THE SOFTWARE. 28848b8605Smrg */ 29848b8605Smrg 30848b8605Smrg 31848b8605Smrg#ifndef GET_H 32848b8605Smrg#define GET_H 33848b8605Smrg 34848b8605Smrg 35848b8605Smrg#include "glheader.h" 36848b8605Smrg 37848b8605Smrg 38848b8605Smrgextern void GLAPIENTRY 39848b8605Smrg_mesa_GetBooleanv( GLenum pname, GLboolean *params ); 40848b8605Smrg 41848b8605Smrgextern void GLAPIENTRY 42848b8605Smrg_mesa_GetDoublev( GLenum pname, GLdouble *params ); 43848b8605Smrg 44848b8605Smrgextern void GLAPIENTRY 45848b8605Smrg_mesa_GetFloatv( GLenum pname, GLfloat *params ); 46848b8605Smrg 47848b8605Smrgextern void GLAPIENTRY 48848b8605Smrg_mesa_GetIntegerv( GLenum pname, GLint *params ); 49848b8605Smrg 50848b8605Smrgextern void GLAPIENTRY 51848b8605Smrg_mesa_GetInteger64v( GLenum pname, GLint64 *params ); 52848b8605Smrg 53848b8605Smrgextern void GLAPIENTRY 54848b8605Smrg_mesa_GetFixedv(GLenum pname, GLfixed *params); 55848b8605Smrg 56b8e80941Smrgextern void GLAPIENTRY 57b8e80941Smrg_mesa_GetUnsignedBytevEXT(GLenum pname, GLubyte *data); 58b8e80941Smrg 59848b8605Smrgextern void GLAPIENTRY 60848b8605Smrg_mesa_GetBooleani_v( GLenum pname, GLuint index, GLboolean *params ); 61848b8605Smrg 62848b8605Smrgextern void GLAPIENTRY 63848b8605Smrg_mesa_GetIntegeri_v( GLenum pname, GLuint index, GLint *params ); 64848b8605Smrg 65848b8605Smrgextern void GLAPIENTRY 66848b8605Smrg_mesa_GetInteger64i_v( GLenum pname, GLuint index, GLint64 *params ); 67848b8605Smrg 68848b8605Smrgextern void GLAPIENTRY 69848b8605Smrg_mesa_GetPointerv( GLenum pname, GLvoid **params ); 70848b8605Smrg 71848b8605Smrgextern void GLAPIENTRY 72848b8605Smrg_mesa_GetFloati_v(GLenum target, GLuint index, GLfloat *data); 73848b8605Smrg 74848b8605Smrgextern void GLAPIENTRY 75848b8605Smrg_mesa_GetDoublei_v(GLenum target, GLuint index, GLdouble *data); 76848b8605Smrg 77b8e80941Smrgextern void GLAPIENTRY 78b8e80941Smrg_mesa_GetUnsignedBytei_vEXT(GLenum target, GLuint index, GLubyte *data); 79b8e80941Smrg 80848b8605Smrgextern const GLubyte * GLAPIENTRY 81848b8605Smrg_mesa_GetString( GLenum name ); 82848b8605Smrg 83848b8605Smrgextern const GLubyte * GLAPIENTRY 84848b8605Smrg_mesa_GetStringi(GLenum name, GLuint index); 85848b8605Smrg 86848b8605Smrgextern GLenum GLAPIENTRY 87848b8605Smrg_mesa_GetError( void ); 88848b8605Smrg 89848b8605Smrg/* GL_ARB_robustness */ 90848b8605Smrgextern GLenum GLAPIENTRY 91848b8605Smrg_mesa_GetGraphicsResetStatusARB( void ); 92848b8605Smrg 93848b8605Smrg#endif 94