/opengles/include/GLES/glext.h

http://ftk.googlecode.com/ · C++ Header · 80 lines · 25 code · 11 blank · 44 comment · 0 complexity · 72488608830098b5dcb6d3e5b6cb11d9 MD5 · raw file

  1. #ifndef __glext_h_
  2. #define __glext_h_
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /*
  7. ** Copyright 1992-2003, Silicon Graphics, Inc.
  8. ** All Rights Reserved.
  9. **
  10. ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  11. ** the contents of this file may not be disclosed to third parties, copied or
  12. ** duplicated in any form, in whole or in part, without the prior written
  13. ** permission of Silicon Graphics, Inc.
  14. **
  15. ** RESTRICTED RIGHTS LEGEND:
  16. ** Use, duplication or disclosure by the Government is subject to restrictions
  17. ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  18. ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  19. ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  20. ** rights reserved under the Copyright Laws of the United States.
  21. **
  22. ** --------------------------------------------------------------------------
  23. **
  24. ** Copyright (c) 2004, Hans-Martin Will. All rights reserved.
  25. **
  26. ** Redistribution and use in source and binary forms, with or without
  27. ** modification, are permitted provided that the following conditions are
  28. ** met:
  29. **
  30. ** * Redistributions of source code must retain the above copyright
  31. ** notice, this list of conditions and the following disclaimer.
  32. ** * Redistributions in binary form must reproduce the above copyright
  33. ** notice, this list of conditions and the following disclaimer in the
  34. ** documentation and/or other materials provided with the distribution.
  35. **
  36. ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  37. ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  38. ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  39. ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  40. ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
  41. ** OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  42. ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  43. ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  44. ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  45. ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  46. ** THE POSSIBILITY OF SUCH DAMAGE.
  47. **
  48. */
  49. #ifndef WIN32
  50. #define APIENTRY
  51. #endif
  52. #ifndef APIENTRY
  53. #define APIENTRY
  54. #endif
  55. #ifdef EGL_ON_SYMBIAN
  56. # undef GLAPI
  57. # define GLAPI EXPORT_C
  58. #else
  59. # ifndef GLAPI
  60. # define GLAPI
  61. # endif
  62. #endif
  63. #define GL_OES_query_matrix 1
  64. /* OES_query_matrix */
  65. GLAPI GLbitfield APIENTRY glQueryMatrixxOES(GLfixed *mantissa, GLint *exponent);
  66. #ifdef __cplusplus
  67. }
  68. #endif
  69. #endif /* __glext_h_ */