> From: Chris Wilson <ch...@chris-wilson.co.uk>
> Date: Mon, 12 May 2014 08:12:37 +0100
> 
> This is so that drivers can do a runtime check that DRI3 is available,
> similar to existing runtime checks performed by the drivers for DRI and
> DRI2.

Does that run-time check actually work?  It seems any check based on
compiled_in_modules would detect DRI3 even on platforms that don't
support DRI3 or if the server was built using --disable-dri3.

> ---
>  hw/xfree86/loader/loadmod.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c
> index 092bf57..9f54929 100644
> --- a/hw/xfree86/loader/loadmod.c
> +++ b/hw/xfree86/loader/loadmod.c
> @@ -838,6 +838,7 @@ static const char *compiled_in_modules[] = {
>      "extmod",
>      "dri",
>      "dri2",
> +    "dri3",
>      NULL
>  };
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to