1 menuconfig BR2_PACKAGE_MESA3D
3 select BR2_PACKAGE_LIBDRM
4 select BR2_PACKAGE_EXPAT
5 select BR2_PACKAGE_XPROTO_DRI2PROTO if BR2_PACKAGE_XORG7
6 select BR2_PACKAGE_XPROTO_XF86DRIPROTO if BR2_PACKAGE_XORG7
7 select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
8 select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
9 select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_XORG7
10 select BR2_PACKAGE_XLIB_LIBXFIXES if BR2_PACKAGE_XORG7
11 select BR2_PACKAGE_LIBXCB if BR2_PACKAGE_XORG7
12 depends on BR2_INSTALL_LIBSTDCPP
13 depends on !BR2_STATIC_LIBS
14 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
15 # Triggers the _gp link issue in nios2
16 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
17 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
19 Mesa 3D, an open-source implementation of the OpenGL specification.
25 # inform the .mk file of gallium or dri driver selection
26 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
27 select BR2_PACKAGE_MESA3D_DRIVER
30 config BR2_PACKAGE_MESA3D_DRI_DRIVER
31 select BR2_PACKAGE_MESA3D_DRIVER
32 select BR2_PACKAGE_HAS_LIBGL
35 config BR2_PACKAGE_PROVIDES_LIBGL
36 default "mesa3d" if BR2_PACKAGE_MESA3D_DRI_DRIVER
38 config BR2_PACKAGE_MESA3D_DRIVER
41 config BR2_PACKAGE_MESA3D_NEEDS_XA
44 comment "Gallium drivers"
46 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
47 bool "Gallium nouveau driver"
48 depends on BR2_i386 || BR2_x86_64
49 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
50 select BR2_PACKAGE_LIBDRM_NOUVEAU
51 select BR2_PACKAGE_MESA3D_NEEDS_XA
53 Supports all Nvidia GPUs.
55 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600
56 bool "Gallium Radeon R600 driver"
57 depends on BR2_i386 || BR2_x86_64
58 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
59 select BR2_PACKAGE_LIBDRM_RADEON
60 select BR2_PACKAGE_MESA3D_NEEDS_XA
62 Driver for ATI/AMD Radeon R600/R700/HD5000/HD6000 GPUs.
64 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA
65 bool "Gallium vmware svga driver"
66 depends on BR2_i386 || BR2_x86_64
67 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
68 select BR2_PACKAGE_LIBDRM_VMWGFX
69 select BR2_PACKAGE_MESA3D_NEEDS_XA
71 This is a virtual GPU driver for VMWare virtual machines.
73 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
74 bool "Gallium swrast driver"
75 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
77 This is a software opengl implementation using the Gallium3D
80 comment "DRI drivers need X.Org"
81 depends on !BR2_PACKAGE_XORG7
87 config BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
88 bool "DRI swrast driver"
89 select BR2_PACKAGE_MESA3D_DRI_DRIVER
91 This is a software opengl implementation using the DRI
94 config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
95 bool "DRI i915 driver"
96 depends on BR2_i386 || BR2_x86_64
97 select BR2_PACKAGE_MESA3D_DRI_DRIVER
98 select BR2_PACKAGE_LIBDRM_INTEL
100 Support for i915-based Intel GPUs.
102 config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965
103 bool "DRI i965 driver"
104 depends on BR2_i386 || BR2_x86_64
105 select BR2_PACKAGE_MESA3D_DRI_DRIVER
106 select BR2_PACKAGE_LIBDRM_INTEL
108 Support for i965-based Intel GPUs.
110 config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
111 bool "DRI radeon driver"
112 depends on BR2_i386 || BR2_x86_64
113 select BR2_PACKAGE_MESA3D_DRI_DRIVER
114 select BR2_PACKAGE_LIBDRM_RADEON
116 Legacy Radeon driver for R100 series GPUs.
118 endif # BR2_PACKAGE_XORG7
120 if BR2_PACKAGE_MESA3D_DRIVER
122 comment "Additional API Support"
124 config BR2_PACKAGE_MESA3D_OPENGL_EGL
126 select BR2_PACKAGE_HAS_LIBEGL
128 Use the Khronos EGL APIs. EGL is a window manager for OpenGL applications
129 similar to GLX, for X, and WGL, for Windows.
131 config BR2_PACKAGE_MESA3D_OPENGL_ES
133 select BR2_PACKAGE_HAS_LIBGLES
135 Use the Khronos OpenGL ES APIs. This is commonly used on embedded
136 systems and represents a subset of the OpenGL API.
138 endif # BR2_PACKAGE_MESA3D_DRIVER
140 config BR2_PACKAGE_PROVIDES_LIBEGL
141 default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL
143 config BR2_PACKAGE_PROVIDES_LIBGLES
144 default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_ES
146 endif # BR2_PACKAGE_MESA3D
148 comment "mesa3d needs a toolchain w/ C++, NPTL, dynamic library"
149 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
150 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
151 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \