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.

stencil.h 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /**
  2. * \file stencil.h
  3. * Stencil operations.
  4. */
  5. /*
  6. * Mesa 3-D graphics library
  7. * Version: 4.1
  8. *
  9. * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
  10. *
  11. * Permission is hereby granted, free of charge, to any person obtaining a
  12. * copy of this software and associated documentation files (the "Software"),
  13. * to deal in the Software without restriction, including without limitation
  14. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  15. * and/or sell copies of the Software, and to permit persons to whom the
  16. * Software is furnished to do so, subject to the following conditions:
  17. *
  18. * The above copyright notice and this permission notice shall be included
  19. * in all copies or substantial portions of the Software.
  20. *
  21. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  22. * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  23. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  24. * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  25. * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  26. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  27. */
  28. #ifndef STENCIL_H
  29. #define STENCIL_H
  30. #include "mtypes.h"
  31. extern void GLAPIENTRY
  32. _mesa_ClearStencil( GLint s );
  33. extern void GLAPIENTRY
  34. _mesa_StencilFunc( GLenum func, GLint ref, GLuint mask );
  35. extern void GLAPIENTRY
  36. _mesa_StencilMask( GLuint mask );
  37. extern void GLAPIENTRY
  38. _mesa_StencilOp( GLenum fail, GLenum zfail, GLenum zpass );
  39. extern void GLAPIENTRY
  40. _mesa_ActiveStencilFaceEXT(GLenum face);
  41. extern void
  42. _mesa_init_stencil( GLcontext * ctx );
  43. #endif