Clone of mesa.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

gl2platform.h 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #ifndef __gl2platform_h_
  2. #define __gl2platform_h_
  3. /* $Id: gl2platform.h 4532 2007-11-26 11:12:44Z markc $ */
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. /*
  8. ** License Applicability. Except to the extent portions of this file are
  9. ** made subject to an alternative license as permitted in the SGI Free
  10. ** Software License B, Version 1.0 (the "License"), the contents of this
  11. ** file are subject only to the provisions of the License. You may not use
  12. ** this file except in compliance with the License. You may obtain a copy
  13. ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
  14. ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
  15. **
  16. ** http://oss.sgi.com/projects/FreeB
  17. **
  18. ** Note that, as provided in the License, the Software is distributed on an
  19. ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
  20. ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
  21. ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
  22. ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
  23. **
  24. ** Original Code. The Original Code is: OpenGL Sample Implementation,
  25. ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
  26. ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
  27. ** Copyright in any portions created by third parties is as indicated
  28. ** elsewhere herein. All Rights Reserved.
  29. **
  30. ** Additional Notice Provisions: The application programming interfaces
  31. ** established by SGI in conjunction with the Original Code are The
  32. ** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
  33. ** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
  34. ** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
  35. ** Window System(R) (Version 1.3), released October 19, 1998. This software
  36. ** was created using the OpenGL(R) version 1.2.1 Sample Implementation
  37. ** published by SGI, but has not been independently verified as being
  38. ** compliant with the OpenGL(R) version 1.2.1 Specification.
  39. */
  40. /*-------------------------------------------------------------------------
  41. * Definition of GL_APICALL and GL_APIENTRY
  42. *-----------------------------------------------------------------------*/
  43. #if defined(_WIN32) || defined(__VC32__) /* Win32 */
  44. # if defined (_DLL_EXPORTS)
  45. # define GL_APICALL __declspec(dllexport)
  46. # else
  47. # define GL_APICALL __declspec(dllimport)
  48. # endif
  49. #elif defined (__ARMCC_VERSION) /* ADS */
  50. # define GL_APICALL
  51. #elif defined (__SYMBIAN32__) && defined (__GCC32__) /* Symbian GCC */
  52. # define GL_APICALL __declspec(dllexport)
  53. #elif defined (__GNUC__) /* GCC dependencies (kludge) */
  54. # define GL_APICALL
  55. #endif
  56. #if !defined (GL_APICALL)
  57. # error Unsupported platform!
  58. #endif
  59. #define GL_APIENTRY
  60. #ifdef __cplusplus
  61. }
  62. #endif
  63. #endif /* __gl2platform_h_ */