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.

indirect_size.h 3.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /* DO NOT EDIT - This file generated automatically by glX_proto_size.py (from Mesa) script */
  2. /*
  3. * (C) Copyright IBM Corporation 2004
  4. * All Rights Reserved.
  5. *
  6. * Permission is hereby granted, free of charge, to any person obtaining a
  7. * copy of this software and associated documentation files (the "Software"),
  8. * to deal in the Software without restriction, including without limitation
  9. * the rights to use, copy, modify, merge, publish, distribute, sub license,
  10. * and/or sell copies of the Software, and to permit persons to whom the
  11. * Software is furnished to do so, subject to the following conditions:
  12. *
  13. * The above copyright notice and this permission notice (including the next
  14. * paragraph) shall be included in all copies or substantial portions of the
  15. * Software.
  16. *
  17. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  18. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  19. * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
  20. * IBM,
  21. * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  22. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  23. * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  24. * SOFTWARE.
  25. */
  26. #if !defined( _INDIRECT_SIZE_H_ )
  27. # define _INDIRECT_SIZE_H_
  28. /**
  29. * \file
  30. * Prototypes for functions used to determine the number of data elements in
  31. * various GLX protocol messages.
  32. *
  33. * \author Ian Romanick <idr@us.ibm.com>
  34. */
  35. # if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
  36. # define PURE __attribute__((pure))
  37. # else
  38. # define PURE
  39. # endif
  40. # if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__)
  41. # define FASTCALL __attribute__((fastcall))
  42. # else
  43. # define FASTCALL
  44. # endif
  45. # if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) && defined(__ELF__)
  46. # define INTERNAL __attribute__((visibility("internal")))
  47. # else
  48. # define INTERNAL
  49. # endif
  50. extern INTERNAL PURE FASTCALL GLint __glCallLists_size(GLenum);
  51. extern INTERNAL PURE FASTCALL GLint __glFogfv_size(GLenum);
  52. extern INTERNAL PURE FASTCALL GLint __glFogiv_size(GLenum);
  53. extern INTERNAL PURE FASTCALL GLint __glLightfv_size(GLenum);
  54. extern INTERNAL PURE FASTCALL GLint __glLightiv_size(GLenum);
  55. extern INTERNAL PURE FASTCALL GLint __glLightModelfv_size(GLenum);
  56. extern INTERNAL PURE FASTCALL GLint __glLightModeliv_size(GLenum);
  57. extern INTERNAL PURE FASTCALL GLint __glMaterialfv_size(GLenum);
  58. extern INTERNAL PURE FASTCALL GLint __glMaterialiv_size(GLenum);
  59. extern INTERNAL PURE FASTCALL GLint __glTexParameterfv_size(GLenum);
  60. extern INTERNAL PURE FASTCALL GLint __glTexParameteriv_size(GLenum);
  61. extern INTERNAL PURE FASTCALL GLint __glTexEnvfv_size(GLenum);
  62. extern INTERNAL PURE FASTCALL GLint __glTexEnviv_size(GLenum);
  63. extern INTERNAL PURE FASTCALL GLint __glTexGendv_size(GLenum);
  64. extern INTERNAL PURE FASTCALL GLint __glTexGenfv_size(GLenum);
  65. extern INTERNAL PURE FASTCALL GLint __glTexGeniv_size(GLenum);
  66. extern INTERNAL PURE FASTCALL GLint __glMap1d_size(GLenum);
  67. extern INTERNAL PURE FASTCALL GLint __glMap1f_size(GLenum);
  68. extern INTERNAL PURE FASTCALL GLint __glMap2d_size(GLenum);
  69. extern INTERNAL PURE FASTCALL GLint __glMap2f_size(GLenum);
  70. extern INTERNAL PURE FASTCALL GLint __glColorTableParameterfv_size(GLenum);
  71. extern INTERNAL PURE FASTCALL GLint __glColorTableParameteriv_size(GLenum);
  72. extern INTERNAL PURE FASTCALL GLint __glConvolutionParameterfv_size(GLenum);
  73. extern INTERNAL PURE FASTCALL GLint __glConvolutionParameteriv_size(GLenum);
  74. extern INTERNAL PURE FASTCALL GLint __glPointParameterfvEXT_size(GLenum);
  75. extern INTERNAL PURE FASTCALL GLint __glPointParameterivNV_size(GLenum);
  76. # undef PURE
  77. # undef FASTCALL
  78. # undef INTERNAL
  79. #endif /* !defined( _INDIRECT_SIZE_H_ ) */