[Buildroot] [PATCH v5 3/6] mesa3d: modularize and bump to version 10.0.3

Sebastien Bourdelin sebastien.bourdelin at savoirfairelinux.com
Tue Mar 11 21:49:18 UTC 2014


Hi Bernd,

On 03/11/2014 02:53 PM, Bernd Kuhls wrote:
> +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
> +	  Supports all Intel GPUs.  This version is most supported by Intel.
> +
We still need to have a dependency on BR2_PACKAGE_XORG7.
Sorry for the noise.

> +ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER),y)
> +MESA3D_DEPENDENCIES += \
> +	xproto_xf86driproto \
> +	xproto_dri2proto \
> +	xproto_glproto \
> +	xlib_libX11 \
> +	xlib_libXext \
> +	xlib_libXdamage \
> +	xlib_libXfixes \
> +	libxcb
> +MESA3D_CONF_OPT += \
> +	--enable-glx \
> +	--enable-shared-glapi \
> +	--enable-xa
> +else
> +MESA3D_CONF_OPT += \
> +	--disable-glx \
> +	--disable-shared-glapi \
I didn't catch it before, but the shared-glapi option is required by GBM
(so by EGL) when you use a DRI driver, perhaps you could add a
conditionnal statement in your "ifeq
($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)" or always enabled it when you use
a DRI driver, i don't know if it can be a trouble to let this option
enabled as default.

FYI, with your patches and that little changes, i'm able to do hardware
GL rendering with an intel graphic card and without X, so this
configuration work for me.

Regards,
Sebastien.



More information about the buildroot mailing list