summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-23 18:53:34 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-23 19:27:23 +0100
commit8b0d69e76c50155ea404f0e8a97d60a3f710c8a3 (patch)
treed13540a452d224388c797fe5156e1d26f7b46c82 /configure.ac
parent846436c1a26b2c8a9d787ec707edb075fac57ee0 (diff)
intel: Add experimental rendernode support
Render nodes allow clients full access to off-screen rendering and GPU offload, without assuming any master responsiblities (for device and display management). As they have a more limited interface, they can be used in a more permissive manner. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9fc011ec..1e73c0c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -336,6 +336,17 @@ fi
xp_msg=""
+AC_ARG_ENABLE(rendernode,
+ AS_HELP_STRING([--enable-rendernode],
+ [Enable use of render nodes (experimental) [default=no]]),
+ [RENDERNODE="$enableval"],
+ [RENDERNODE=no])
+AM_CONDITIONAL(USE_RENDERNODE, test x$RENDERNODE = xyes)
+if test "x$RENDERNODE" = xyes; then
+ AC_DEFINE(USE_RENDERNODE,1,[Assume "rendernode" support])
+ xp_msg="$xp_msg rendernode"
+fi
+
AC_ARG_ENABLE(create2,
AS_HELP_STRING([--enable-create2],
[Enable use of create2 ioctl (experimental) [default=no]]),