Config.in 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. config BR2_PACKAGE_WAFFLE_SUPPORTS_GLX
  2. bool
  3. default y if BR2_PACKAGE_HAS_LIBGL && BR2_PACKAGE_XORG7
  4. config BR2_PACKAGE_WAFFLE_SUPPORTS_WAYLAND
  5. bool
  6. default y if BR2_PACKAGE_WAYLAND && BR2_PACKAGE_HAS_LIBEGL_WAYLAND
  7. config BR2_PACKAGE_WAFFLE_SUPPORTS_X11_EGL
  8. bool
  9. default y if BR2_PACKAGE_HAS_LIBEGL && BR2_PACKAGE_XORG7
  10. config BR2_PACKAGE_WAFFLE_SUPPORTS_GBM
  11. bool
  12. # mesa3d is for now the only GBM provider, and it is enabled
  13. # together with its EGL support
  14. default y if BR2_PACKAGE_HAS_LIBEGL && BR2_PACKAGE_MESA3D_OPENGL_EGL && BR2_PACKAGE_HAS_UDEV
  15. config BR2_PACKAGE_WAFFLE
  16. bool "waffle"
  17. depends on BR2_PACKAGE_WAFFLE_SUPPORTS_GLX || \
  18. BR2_PACKAGE_WAFFLE_SUPPORTS_WAYLAND || \
  19. BR2_PACKAGE_WAFFLE_SUPPORTS_X11_EGL || \
  20. BR2_PACKAGE_WAFFLE_SUPPORTS_GBM
  21. select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_WAFFLE_SUPPORTS_GLX || BR2_PACKAGE_WAFFLE_SUPPORTS_X11_EGL
  22. select BR2_PACKAGE_LIBXCB if BR2_PACKAGE_WAFFLE_SUPPORTS_GLX || BR2_PACKAGE_WAFFLE_SUPPORTS_X11_EGL
  23. help
  24. Waffle is a cross-platform library that allows one to defer
  25. selection of an OpenGL API and of window system until
  26. runtime. For example, on Linux, Waffle enables an application
  27. to select X11/EGL with an OpenGL 3.3 core profile, Wayland
  28. with OpenGL ES2, and other window system / API combinations.
  29. Waffle's immediate goal is to enable Piglit [1] to test
  30. multiple OpenGL flavors in a cross-platform way, and to allow
  31. each Piglit test to choose its OpenGL API and window system
  32. at runtime. A future goal is to enable the ability to record
  33. (with another tool such APITrace [2]) an application's OpenGL
  34. calls on one operating system or window system, and then
  35. replay that trace on a different system.
  36. For more information, visit to Waffle's website.
  37. [1] http://piglit.freedesktop.org
  38. [2] http://github.com/apitrace/apitrace#readme
  39. http://www.waffle-gl.org