[c-host] linux: added initial stubs for XCB capture

This commit is contained in:
Geoffrey McRae committed 2019-03-01 21:41:32 +11:00
1 parent 37c1d7ea58
commit afc264e846
2 files changed
+13

No files matched your search

+6
View File
@@ -1,4 +1,5 @@
USE_DXGI ?= 1
USE_XCB ?= 1
OUTPUT = looking-glass-host
EXT =
@@ -30,6 +31,11 @@ else
CC = gcc
OBJS += linux/platform.o
LIBS += -lpthread
ifeq ($(USE_XCB), 1)
CFLAGS += -DUSE_XCB
OBJS += linux/capture/xcb.o
endif
endif
all: $(OBJS) $(DLLS)
+7
View File
@@ -23,10 +23,17 @@ Place, Suite 330, Boston, MA 02111-1307 USA
struct CaptureInterface Capture_DXGI;
#endif
#if defined(USE_XCB)
struct CaptureInterface Capture_XCB;
#endif
struct CaptureInterface * CaptureInterfaces[] =
{
#if defined(USE_DXGI)
&Capture_DXGI,
#endif
#if defined(USE_XCB)
&Capture_XCB,
#endif
NULL
};