]> Git Repo - buildroot-mgba.git/blob - package/mesa3d/Config.in
toolchain-external: CodeSourcery NIOSII: support only one version
[buildroot-mgba.git] / package / mesa3d / Config.in
1 menuconfig BR2_PACKAGE_MESA3D
2         bool "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_NIOSII
17         help
18           Mesa 3D, an open-source implementation of the OpenGL specification.
19
20           http://mesa3d.org
21
22 if BR2_PACKAGE_MESA3D
23
24 # inform the .mk file of gallium or dri driver selection
25 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
26         select BR2_PACKAGE_MESA3D_DRIVER
27         bool
28
29 config BR2_PACKAGE_MESA3D_DRI_DRIVER
30         select BR2_PACKAGE_MESA3D_DRIVER
31         select BR2_PACKAGE_HAS_LIBGL
32         bool
33
34 config BR2_PACKAGE_PROVIDES_LIBGL
35         default "mesa3d" if BR2_PACKAGE_MESA3D_DRI_DRIVER
36
37 config BR2_PACKAGE_MESA3D_DRIVER
38         bool
39
40 config BR2_PACKAGE_MESA3D_NEEDS_XA
41         bool
42
43 comment "Gallium drivers"
44
45 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
46         bool "Gallium nouveau driver"
47         depends on BR2_i386 || BR2_x86_64
48         select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
49         select BR2_PACKAGE_LIBDRM_NOUVEAU
50         select BR2_PACKAGE_MESA3D_NEEDS_XA
51         help
52           Supports all Nvidia GPUs.
53
54 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600
55         bool "Gallium Radeon R600 driver"
56         depends on BR2_i386 || BR2_x86_64
57         select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
58         select BR2_PACKAGE_LIBDRM_RADEON
59         select BR2_PACKAGE_MESA3D_NEEDS_XA
60         help
61           Driver for ATI/AMD Radeon R600/R700/HD5000/HD6000 GPUs.
62
63 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA
64         bool "Gallium vmware svga driver"
65         depends on BR2_i386 || BR2_x86_64
66         select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
67         select BR2_PACKAGE_LIBDRM_VMWGFX
68         select BR2_PACKAGE_MESA3D_NEEDS_XA
69         help
70           This is a virtual GPU driver for VMWare virtual machines.
71
72 config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
73         bool "Gallium swrast driver"
74         select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
75         help
76           This is a software opengl implementation using the Gallium3D
77           infrastructure.
78
79 comment "DRI drivers need X.Org"
80         depends on !BR2_PACKAGE_XORG7
81
82 if BR2_PACKAGE_XORG7
83
84 comment "DRI drivers"
85
86 config BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
87         bool "DRI swrast driver"
88         select BR2_PACKAGE_MESA3D_DRI_DRIVER
89         help
90           This is a software opengl implementation using the DRI
91           infrastructure.
92
93 config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
94         bool "DRI i915 driver"
95         depends on BR2_i386 || BR2_x86_64
96         select BR2_PACKAGE_MESA3D_DRI_DRIVER
97         select BR2_PACKAGE_LIBDRM_INTEL
98         help
99           Support for i915-based Intel GPUs.
100
101 config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965
102         bool "DRI i965 driver"
103         depends on BR2_i386 || BR2_x86_64
104         select BR2_PACKAGE_MESA3D_DRI_DRIVER
105         select BR2_PACKAGE_LIBDRM_INTEL
106         help
107           Support for i965-based Intel GPUs.
108
109 config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
110         bool "DRI radeon driver"
111         depends on BR2_i386 || BR2_x86_64
112         select BR2_PACKAGE_MESA3D_DRI_DRIVER
113         select BR2_PACKAGE_LIBDRM_RADEON
114         help
115           Legacy Radeon driver for R100 series GPUs.
116
117 endif # BR2_PACKAGE_XORG7
118
119 comment "Off-screen Rendering"
120
121 config BR2_PACKAGE_MESA3D_OSMESA
122         bool "OSMesa library"
123         help
124           The OSMesa API provides functions for making off-screen renderings.
125
126 if BR2_PACKAGE_MESA3D_DRIVER
127
128 comment "Additional API Support"
129
130 config BR2_PACKAGE_MESA3D_OPENGL_EGL
131         bool "OpenGL EGL"
132         select BR2_PACKAGE_HAS_LIBEGL
133         help
134           Use the Khronos EGL APIs. EGL is a window manager for OpenGL applications
135           similar to GLX, for X, and WGL, for Windows.
136
137 config BR2_PACKAGE_MESA3D_OPENGL_ES
138         bool "OpenGL ES"
139         select BR2_PACKAGE_HAS_LIBGLES
140         help
141           Use the Khronos OpenGL ES APIs. This is commonly used on embedded
142           systems and represents a subset of the OpenGL API.
143
144 endif # BR2_PACKAGE_MESA3D_DRIVER
145
146 config BR2_PACKAGE_PROVIDES_LIBEGL
147         default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL
148
149 config BR2_PACKAGE_PROVIDES_LIBGLES
150         default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_ES
151
152 endif # BR2_PACKAGE_MESA3D
153
154 comment "mesa3d needs a toolchain w/ C++, NPTL, dynamic library"
155         depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
156         depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
157                 BR2_STATIC_LIBS
This page took 0.049408 seconds and 4 git commands to generate.