search for: have_glamor

Displaying 3 results from an estimated 3 matches for "have_glamor".

2014 Jun 21
1
[PATCH 1/2] glamor: fix build without glamor.h
....99.901" + +AC_COMPILE_IFELSE(AC_LANG_PROGRAM( +[[ + #include <glamor.h> +]],[[]]),[found_glamor_header=yes],[found_glamor_header=no]) + +if test "$found_glamor_header" = "yes" && pkg-config --exists "xorg-server >= 1.15.99.901" then AC_DEFINE(HAVE_GLAMOR, 1, [Build support for glamor acceleration]) AC_MSG_RESULT([yes]) -- 2.0.0
2014 Jun 21
0
[PATCH 2/2] present: build only when glamor is enabled
...nged, 6 insertions(+), 2 deletions(-) diff --git a/src/nouveau_present.c b/src/nouveau_present.c index b294bbe..38f2cac 100644 --- a/src/nouveau_present.c +++ b/src/nouveau_present.c @@ -23,7 +23,7 @@ */ #include "nouveau_present.h" -#ifdef DRI3 +#if defined(DRI3) && defined(HAVE_GLAMOR) #include "nv_include.h" #include "nouveau_glamor.h" #include "xf86drmMode.h" diff --git a/src/nouveau_present.h b/src/nouveau_present.h index dea19ce..958c2f7 100644 --- a/src/nouveau_present.h +++ b/src/nouveau_present.h @@ -4,7 +4,11 @@ #include "xorg-serve...
2014 Oct 23
0
[PATCH] Make building of glamor optional
...[glamor.h],[found_glamor_header=yes],[found_glamor_header=no], - [#include "xorg-server.h"]) -AC_MSG_CHECKING([whether to include GLAMOR support]) -if test "x$found_glamor_header" = xyes && pkg-config --exists "xorg-server >= 1.15.99.901" -then - AC_DEFINE(HAVE_GLAMOR, 1, [Build support for glamor acceleration]) - AC_MSG_RESULT([yes]) -else - AC_MSG_RESULT([no]) +AC_ARG_ENABLE(glamor, + AS_HELP_STRING([--enable-glamor], + [Enable glamor, a new GL-based acceleration [default=auto]]), + [GLAMOR="$enableval"], + [GLAMOR=auto]) + +if test "x$GLA...