Advertisement
Guest User

Untitled

a guest
Sep 14th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. EGL/eglplatform.h
  2. /*
  3. * This confidential and proprietary software may be used only as
  4. * authorised by a licensing agreement from ARM Limited
  5. * (C) COPYRIGHT 2008-2010, 2013-2014, 2016 ARM Limited
  6. * ALL RIGHTS RESERVED
  7. * The entire notice above must be reproduced on all authorised
  8. * copies and copies may only be made to the extent permitted
  9. * by a licensing agreement from ARM Limited.
  10. */
  11.  
  12. #ifndef __EGLPLATFORM_H__
  13. #define __EGLPLATFORM_H__
  14.  
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18.  
  19. #ifndef EGLAPIENTRY
  20. #define EGLAPIENTRY
  21. #endif
  22. #ifndef EGLAPIENTRYP
  23. #define EGLAPIENTRYP EGLAPIENTRY*
  24. #endif
  25. #ifndef EGLAPI
  26. #define EGLAPI extern
  27. #endif
  28.  
  29. #include <EGL/fbdev_window.h>
  30. #include <KHR/khrplatform.h>
  31.  
  32. typedef fbdev_window *NativeWindowType;
  33. typedef void *NativePixmapType;
  34. typedef void *NativeDisplayType;
  35.  
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39.  
  40. /* EGL 1.2 types, renamed for consistency in EGL 1.3 */
  41. typedef NativeDisplayType EGLNativeDisplayType;
  42. typedef NativePixmapType EGLNativePixmapType;
  43. typedef NativeWindowType EGLNativeWindowType;
  44.  
  45. /* Define EGLint. This must be an integral type large enough to contain
  46. * all legal attribute names and values passed into and out of EGL,
  47. * whether their type is boolean, bitmask, enumerant (symbolic
  48. * constant), integer, handle, or other.
  49. * While in general a 32-bit integer will suffice, if handles are
  50. * represented as pointers, then EGLint should be defined as a 64-bit
  51. * integer type.
  52. */
  53. typedef int EGLint;
  54. typedef intptr_t EGLAttrib;
  55.  
  56. #endif /* __EGLPLATFORM_H__ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement