gl.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* $OpenBSD: gl.h,v 1.1 2012/04/16 22:17:13 miod Exp $ */
  2. /*
  3. * Copyright (c) 2009, 2010 Joel Sing <jsing@openbsd.org>
  4. *
  5. * Permission to use, copy, modify, and distribute this software for any
  6. * purpose with or without fee is hereby granted, provided that the above
  7. * copyright notice and this permission notice appear in all copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  10. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  11. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  12. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  13. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  14. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  15. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  16. */
  17. /*
  18. * OpenGL defines
  19. */
  20. /* Logic Operations. */
  21. #define OPENGL_LOGIC_OP_CLEAR 0
  22. #define OPENGL_LOGIC_OP_AND 1
  23. #define OPENGL_LOGIC_OP_AND_REVERSE 2
  24. #define OPENGL_LOGIC_OP_COPY 3
  25. #define OPENGL_LOGIC_OP_AND_INVERTED 4
  26. #define OPENGL_LOGIC_OP_NOOP 5
  27. #define OPENGL_LOGIC_OP_XOR 6
  28. #define OPENGL_LOGIC_OP_OR 7
  29. #define OPENGL_LOGIC_OP_NOR 8
  30. #define OPENGL_LOGIC_OP_EQUIV 9
  31. #define OPENGL_LOGIC_OP_INVERT 10
  32. #define OPENGL_LOGIC_OP_OR_REVERSE 11
  33. #define OPENGL_LOGIC_OP_COPY_INVERTED 12
  34. #define OPENGL_LOGIC_OP_OR_INVERTED 13
  35. #define OPENGL_LOGIC_OP_NAND 14
  36. #define OPENGL_LOGIC_OP_SET 15