mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 22:31:46 +00:00
[c-host] linux: added initial stubs for XCB capture
This commit is contained in:
parent
37c1d7ea58
commit
afc264e846
2 changed files with 13 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
};
|
Loading…
Reference in a new issue