Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

glstate.h 1.3KB

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