jtg | afb833d | 1999-08-19 00:55:39 +0000 | [diff] [blame] | 1 | /* $Id: glstate.h,v 1.1 1999/08/19 00:55:42 jtg Exp $ */ |
| 2 | |
| 3 | /* |
| 4 | * Print GL state information (for debugging) |
| 5 | * Copyright (C) 1998 Brian Paul |
| 6 | * |
| 7 | * This library is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU Library General Public |
| 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2 of the License, or (at your option) any later version. |
| 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Library General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU Library General Public |
| 18 | * License along with this library; if not, write to the Free |
| 19 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 20 | */ |
| 21 | |
| 22 | |
| 23 | /* |
| 24 | * $Log: glstate.h,v $ |
| 25 | * Revision 1.1 1999/08/19 00:55:42 jtg |
| 26 | * Initial revision |
| 27 | * |
| 28 | * Revision 1.2 1999/06/19 01:36:43 brianp |
| 29 | * more features added |
| 30 | * |
| 31 | * Revision 1.1 1998/11/24 03:41:16 brianp |
| 32 | * Initial revision |
| 33 | * |
| 34 | */ |
| 35 | |
| 36 | |
| 37 | #ifndef GLSTATE_H |
| 38 | #define GLSTATE_H |
| 39 | |
| 40 | |
| 41 | #include <GL/gl.h> |
| 42 | |
| 43 | |
| 44 | extern const char *GetNameString( GLenum var ); |
| 45 | |
| 46 | extern void PrintState( int indent, GLenum var ); |
| 47 | |
| 48 | extern void PrintAttribState( GLbitfield attrib ); |
| 49 | |
| 50 | extern void PrintPixelStoreState( void ); |
| 51 | |
| 52 | |
| 53 | #endif |