2014-04-17 18:04:16 +02:00
|
|
|
menuconfig BR2_PACKAGE_MESA3D
|
2014-06-08 16:15:09 +02:00
|
|
|
bool "mesa3d"
|
2009-03-23 13:50:05 +01:00
|
|
|
select BR2_PACKAGE_LIBDRM
|
2010-04-01 14:46:33 +02:00
|
|
|
select BR2_PACKAGE_EXPAT
|
2014-07-17 07:42:55 +02:00
|
|
|
select BR2_PACKAGE_XPROTO_DRI2PROTO if BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_XPROTO_XF86DRIPROTO if BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXFIXES if BR2_PACKAGE_XORG7
|
|
|
|
select BR2_PACKAGE_LIBXCB if BR2_PACKAGE_XORG7
|
2009-05-19 17:32:45 +02:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2014-04-20 07:30:43 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
2007-08-10 21:07:51 +02:00
|
|
|
help
|
|
|
|
Mesa 3D, an open-source implementation of the OpenGL specification.
|
2014-03-29 21:56:06 +01:00
|
|
|
|
|
|
|
http://mesa3d.org
|
|
|
|
|
|
|
|
if BR2_PACKAGE_MESA3D
|
|
|
|
|
|
|
|
# inform the .mk file of gallium or dri driver selection
|
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_MESA3D_DRIVER
|
|
|
|
bool
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MESA3D_DRI_DRIVER
|
|
|
|
select BR2_PACKAGE_MESA3D_DRIVER
|
2014-04-17 18:04:23 +02:00
|
|
|
select BR2_PACKAGE_HAS_LIBGL
|
2014-03-29 21:56:06 +01:00
|
|
|
bool
|
|
|
|
|
2014-04-17 18:04:23 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGL
|
|
|
|
default "mesa3d" if BR2_PACKAGE_MESA3D_DRI_DRIVER
|
|
|
|
|
2014-03-29 21:56:06 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_DRIVER
|
|
|
|
bool
|
|
|
|
|
2015-01-17 18:03:54 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_NEEDS_XA
|
|
|
|
bool
|
|
|
|
|
2014-04-17 18:04:16 +02:00
|
|
|
comment "Gallium drivers"
|
2014-03-29 21:56:06 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
|
|
|
|
bool "Gallium nouveau driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_NOUVEAU
|
2015-01-17 18:03:54 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_NEEDS_XA
|
2014-03-29 21:56:06 +01:00
|
|
|
help
|
|
|
|
Supports all Nvidia GPUs.
|
|
|
|
|
2015-01-17 18:03:55 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600
|
|
|
|
bool "Gallium Radeon R600 driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_RADEON
|
|
|
|
select BR2_PACKAGE_MESA3D_NEEDS_XA
|
|
|
|
help
|
|
|
|
Driver for ATI/AMD Radeon R600/R700/HD5000/HD6000 GPUs.
|
|
|
|
|
2014-03-29 21:56:06 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA
|
|
|
|
bool "Gallium vmware svga driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_VMWGFX
|
2015-01-17 18:03:54 +01:00
|
|
|
select BR2_PACKAGE_MESA3D_NEEDS_XA
|
2014-03-29 21:56:06 +01:00
|
|
|
help
|
|
|
|
This is a virtual GPU driver for VMWare virtual machines.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
|
|
|
|
bool "Gallium swrast driver"
|
|
|
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
|
|
|
help
|
|
|
|
This is a software opengl implementation using the Gallium3D
|
|
|
|
infrastructure.
|
|
|
|
|
2014-07-17 07:42:55 +02:00
|
|
|
comment "DRI drivers needs X.Org and a toolchain w/ dynamic library"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on BR2_STATIC_LIBS || !BR2_PACKAGE_XORG7
|
2014-04-05 14:10:07 +02:00
|
|
|
|
2014-12-03 22:41:29 +01:00
|
|
|
if !BR2_STATIC_LIBS && BR2_PACKAGE_XORG7
|
2014-04-05 14:10:07 +02:00
|
|
|
|
2014-04-17 18:04:16 +02:00
|
|
|
comment "DRI drivers"
|
|
|
|
|
2014-03-29 21:56:06 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST
|
|
|
|
bool "DRI swrast driver"
|
|
|
|
select BR2_PACKAGE_MESA3D_DRI_DRIVER
|
|
|
|
help
|
|
|
|
This is a software opengl implementation using the DRI
|
|
|
|
infrastructure.
|
|
|
|
|
2014-08-31 01:49:19 +02:00
|
|
|
config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915
|
|
|
|
bool "DRI i915 driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
select BR2_PACKAGE_MESA3D_DRI_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_INTEL
|
|
|
|
help
|
|
|
|
Support for i915-based Intel GPUs.
|
|
|
|
|
2014-03-29 21:56:06 +01:00
|
|
|
config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965
|
|
|
|
bool "DRI i965 driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
select BR2_PACKAGE_MESA3D_DRI_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_INTEL
|
|
|
|
help
|
2014-08-30 23:56:29 +02:00
|
|
|
Support for i965-based Intel GPUs.
|
2014-03-29 21:56:06 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON
|
|
|
|
bool "DRI radeon driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
select BR2_PACKAGE_MESA3D_DRI_DRIVER
|
|
|
|
select BR2_PACKAGE_LIBDRM_RADEON
|
|
|
|
help
|
|
|
|
Legacy Radeon driver for R100 series GPUs.
|
|
|
|
|
2014-12-03 22:41:29 +01:00
|
|
|
endif # !BR2_STATIC_LIBS && BR2_PACKAGE_XORG7
|
2014-04-05 14:10:07 +02:00
|
|
|
|
2014-04-17 18:04:16 +02:00
|
|
|
if BR2_PACKAGE_MESA3D_DRIVER
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2014-04-17 18:04:16 +02:00
|
|
|
comment "Additional API Support"
|
2014-03-29 21:56:06 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_MESA3D_OPENGL_EGL
|
2014-04-17 18:04:18 +02:00
|
|
|
bool "OpenGL EGL"
|
2014-04-05 17:21:39 +02:00
|
|
|
select BR2_PACKAGE_HAS_LIBEGL
|
2014-03-29 21:56:06 +01:00
|
|
|
help
|
|
|
|
Use the Khronos EGL APIs. EGL is a window manager for OpenGL applications
|
|
|
|
similar to GLX, for X, and WGL, for Windows.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_MESA3D_OPENGL_ES
|
|
|
|
bool "OpenGL ES"
|
2014-04-05 17:21:38 +02:00
|
|
|
select BR2_PACKAGE_HAS_LIBGLES
|
2014-03-29 21:56:06 +01:00
|
|
|
help
|
2015-04-23 00:14:34 +02:00
|
|
|
Use the Khronos OpenGL ES APIs. This is commonly used on embedded
|
2014-03-29 21:56:06 +01:00
|
|
|
systems and represents a subset of the OpenGL API.
|
|
|
|
|
2014-04-17 18:04:16 +02:00
|
|
|
endif # BR2_PACKAGE_MESA3D_DRIVER
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2014-04-05 17:21:39 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
2014-03-30 01:02:48 +01:00
|
|
|
default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2014-04-05 17:21:38 +02:00
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
2014-03-30 01:02:48 +01:00
|
|
|
default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_ES
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2014-04-17 18:04:16 +02:00
|
|
|
endif # BR2_PACKAGE_MESA3D
|
2014-03-29 21:56:06 +01:00
|
|
|
|
2015-06-07 13:41:02 +02:00
|
|
|
comment "mesa3d needs a toolchain w/ C++, NPTL"
|
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|