From 34e4780c8e9c429a835c8be9c512cfe239241298 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 18 Aug 2013 21:10:26 +0100 Subject: overlay: Add a X11 window backend Useful for remote hosts. Signed-off-by: Chris Wilson --- overlay/Makefile.am | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'overlay/Makefile.am') diff --git a/overlay/Makefile.am b/overlay/Makefile.am index ee34fb31..09f273c0 100644 --- a/overlay/Makefile.am +++ b/overlay/Makefile.am @@ -23,11 +23,26 @@ intel_gpu_overlay_SOURCES = \ gpu-freq.c \ igfx.h \ igfx.c \ + $(NULL) + +if BUILD_OVERLAY_XLIB +AM_CFLAGS += $(OVERLAY_XLIB_CFLAGS) +LDADD += $(OVERLAY_XLIB_LIBS) +intel_gpu_overlay_SOURCES += \ + x11/x11-window.c \ + $(NULL) +endif + +if BUILD_OVERLAY_XVLIB +AM_CFLAGS += $(OVERLAY_XVLIB_CFLAGS) +LDADD += $(OVERLAY_XVLIB_LIBS) +intel_gpu_overlay_SOURCES += \ x11/dri2.c \ x11/dri2.h \ x11/rgb2yuv.c \ x11/rgb2yuv.h \ x11/x11-overlay.c \ $(NULL) +endif EXTRA_DIST=README -- cgit v1.2.3