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_PACKAGE_HAS_UDEV
13 depends on BR2_INSTALL_LIBSTDCPP
14 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
16 Mesa 3D, an open-source implementation of the OpenGL specification.
22 # inform the .mk file of gallium or dri driver selection
23 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
24 select BR2_PACKAGE_MESA3D_DRIVER
27 config BR2_PACKAGE_MESA3D_DRI_DRIVER
28 select BR2_PACKAGE_MESA3D_DRIVER
29 select BR2_PACKAGE_HAS_LIBGL
32 config BR2_PACKAGE_PROVIDES_LIBGL
33 default "mesa3d" if BR2_PACKAGE_MESA3D_DRI_DRIVER
35 config BR2_PACKAGE_MESA3D_DRIVER
38 config BR2_PACKAGE_MESA3D_NEEDS_XA
41 comment "Gallium drivers"
43 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
44 bool "Gallium nouveau driver"
45 depends on BR2_i386 || BR2_x86_64
46 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
47 select BR2_PACKAGE_LIBDRM_NOUVEAU
48 select BR2_PACKAGE_MESA3D_NEEDS_XA
50 Supports all Nvidia GPUs.
52 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600
53 bool "Gallium Radeon R600 driver"
54 depends on BR2_i386 || BR2_x86_64
55 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
56 select BR2_PACKAGE_LIBDRM_RADEON
57 select BR2_PACKAGE_MESA3D_NEEDS_XA
59 Driver for ATI/AMD Radeon R600/R700/HD5000/HD6000 GPUs.
61 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA
62 bool "Gallium vmware svga driver"
63 depends on BR2_i386 || BR2_x86_64
64 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
65 select BR2_PACKAGE_LIBDRM_VMWGFX
66 select BR2_PACKAGE_MESA3D_NEEDS_XA
68 This is a virtual GPU driver for VMWare virtual machines.
70 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
71 bool "Gallium swrast driver"
72 select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
74 This is a software opengl implementation using the Gallium3D
77 comment "DRI drivers needs X.Org and a toolchain w/ dynamic library"
78 depends on BR2_STATIC_LIBS || !BR2_PACKAGE_XORG7
80 if !BR2_STATIC_LIBS && BR2_PACKAGE_XORG7
84 config BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
85 bool "DRI swrast driver"
86 select BR2_PACKAGE_MESA3D_DRI_DRIVER
88 This is a software opengl implementation using the DRI
91 config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
92 bool "DRI i915 driver"
93 depends on BR2_i386 || BR2_x86_64
94 select BR2_PACKAGE_MESA3D_DRI_DRIVER
95 select BR2_PACKAGE_LIBDRM_INTEL
97 Support for i915-based Intel GPUs.
99 config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965
100 bool "DRI i965 driver"
101 depends on BR2_i386 || BR2_x86_64
102 select BR2_PACKAGE_MESA3D_DRI_DRIVER
103 select BR2_PACKAGE_LIBDRM_INTEL
105 Support for i965-based Intel GPUs.
107 config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
108 bool "DRI radeon driver"
109 depends on BR2_i386 || BR2_x86_64
110 select BR2_PACKAGE_MESA3D_DRI_DRIVER
111 select BR2_PACKAGE_LIBDRM_RADEON
113 Legacy Radeon driver for R100 series GPUs.
115 endif # !BR2_STATIC_LIBS && BR2_PACKAGE_XORG7
117 if BR2_PACKAGE_MESA3D_DRIVER
119 comment "Additional API Support"
121 comment "OpenGL EGL needs udev /dev management"
122 depends on !BR2_PACKAGE_HAS_UDEV
124 config BR2_PACKAGE_MESA3D_OPENGL_EGL
126 depends on BR2_PACKAGE_HAS_UDEV
127 select BR2_PACKAGE_HAS_LIBEGL
129 Use the Khronos EGL APIs. EGL is a window manager for OpenGL applications
130 similar to GLX, for X, and WGL, for Windows.
132 config BR2_PACKAGE_MESA3D_OPENGL_ES
134 select BR2_PACKAGE_HAS_LIBGLES
136 Use the Khronos OpenGL ES APIs. This is commonly used on embedded
137 systems and represents a subset of the OpenGL API.
139 endif # BR2_PACKAGE_MESA3D_DRIVER
141 config BR2_PACKAGE_PROVIDES_LIBEGL
142 default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL
144 config BR2_PACKAGE_PROVIDES_LIBGLES
145 default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_ES
147 endif # BR2_PACKAGE_MESA3D
149 comment "mesa3d needs udev /dev management and a toolchain w/ C++, NPTL"
150 depends on !BR2_INSTALL_LIBSTDCPP || \
151 !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_PACKAGE_HAS_UDEV