diff options
author | Keith Packard <keithp@keithp.com> | 2017-05-30 01:23:41 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-06-01 14:17:34 -0700 |
commit | 4b08fecc5c68478f857c5505309a964736c67df7 (patch) | |
tree | c5cdc5c8628611fc8ebac260d53c8d9024fef7ca /Makefile | |
parent | 062ee2e834efa4a9a01beba49e15905dbb2f8475 (diff) |
Use the VK_KEITHP_kms_display and VK_KHR_display extensions and DRM leases
This creates a lease for an idle-but-connected monitor, passes that in
to the Vulkan driver using the VK_KEITHP_kms_display extension and
then uses the VK_KHR_display extension to display output directly to
that, bypassing the window system.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ INCS=\ gettime.h\ linmath.h -LIBS=-L/local/xorg/lib -lvulkan -lxcb -lm +LIBS=-L/local/xorg/lib -lvulkan -lxcb-randr -lxcb -lm -ldrm TARGET=cube @@ -15,7 +15,7 @@ GLSV=glslangValidator SPV=cube-vert.spv cube-frag.spv -CFLAGS=-O0 -g -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_KMS_KEITHP -I/local/xorg/include -I/local/xorg/include/libdrm +CFLAGS=-O0 -g -DVK_USE_PLATFORM_DISPLAY_KHR -I/local/xorg/include -I/local/xorg/include/libdrm all: $(TARGET) $(SPV) |