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.

egltypes.h 920B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. ** egltypes.h for Mesa
  3. **
  4. ** ONLY egl.h SHOULD INCLUDE THIS FILE!
  5. **
  6. ** See comments about egltypes.h in the standard egl.h file.
  7. */
  8. #include <sys/types.h>
  9. /*
  10. ** These opaque EGL types are implemented as unsigned 32-bit integers:
  11. */
  12. typedef uint32_t EGLDisplay;
  13. typedef uint32_t EGLConfig;
  14. typedef uint32_t EGLSurface;
  15. typedef uint32_t EGLContext;
  16. /* EGL_MESA_screen_surface */
  17. typedef uint32_t EGLModeMESA;
  18. typedef uint32_t EGLScreenMESA;
  19. /*
  20. ** Other basic EGL types:
  21. */
  22. typedef uint8_t EGLBoolean;
  23. typedef int32_t EGLint;
  24. typedef void * NativeDisplayType;
  25. typedef int NativePixmapType;
  26. typedef int NativeWindowType;
  27. /*
  28. ** EGL and native handle null values:
  29. */
  30. #define EGL_DEFAULT_DISPLAY ((NativeDisplayType) 0)
  31. #define EGL_NO_CONTEXT ((EGLContext) 0)
  32. #define EGL_NO_DISPLAY ((EGLDisplay) 0)
  33. #define EGL_NO_SURFACE ((EGLSurface) 0)
  34. /* EGL_MESA_screen_surface */
  35. #define EGL_NO_MODE_MESA ((EGLModeMESA) 0)