diff options
author | Julien Isorce <[email protected]> | 2015-10-30 11:42:50 +0000 |
---|---|---|
committer | Christian König <[email protected]> | 2015-10-30 13:20:35 +0100 |
commit | 86eb4131a908cb09a256778d1b415a44f0157858 (patch) | |
tree | 55cbbdc230211add30cd7958870d6ec86f31a4a7 /src/gallium/state_trackers/va/Makefile.am | |
parent | 1bdea0e5793a466d098dc3a34ce39798a17aa207 (diff) |
st/va: add headless support, i.e. VA_DISPLAY_DRM
This patch allows to use gallium vaapi without requiring
a X server running for your second graphic card.
Signed-off-by: Julien Isorce <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/va/Makefile.am')
-rw-r--r-- | src/gallium/state_trackers/va/Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/va/Makefile.am b/src/gallium/state_trackers/va/Makefile.am index 2a93a904346..348cfe17759 100644 --- a/src/gallium/state_trackers/va/Makefile.am +++ b/src/gallium/state_trackers/va/Makefile.am @@ -30,6 +30,15 @@ AM_CFLAGS = \ $(VA_CFLAGS) \ -DVA_DRIVER_INIT_FUNC="__vaDriverInit_$(VA_MAJOR)_$(VA_MINOR)" +AM_CFLAGS += \ + $(GALLIUM_PIPE_LOADER_DEFINES) \ + -DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\" + +if HAVE_GALLIUM_STATIC_TARGETS +AM_CFLAGS += \ + -DGALLIUM_STATIC_TARGETS=1 +endif + AM_CPPFLAGS = \ -I$(top_srcdir)/include |