Files
looking-glass-2/host/platform/Windows/capture/DXGI/CMakeLists.txt
T
Geoffrey McRae 92f27cc0f0 [host] dxgi: use DwmFlush to sync to presentation interval
This change reduces the host GPU and CPU load by a large margin
improving guest system performance along with removing latency spikes
when moving the mouse. This is default enabled but can be disabled with
the new option `dxgi:dwmFlush=no` as it limits the capture rate to the
refresh rate of the guests output which may not be desireable.
2022-01-06 18:39:08 +11:00

21 lines
289 B
CMake

cmake_minimum_required(VERSION 3.0)
project(capture_DXGI LANGUAGES C)
add_library(capture_DXGI STATIC
src/dxgi.c
)
add_definitions("-DCOBJMACROS -DINITGUID")
target_link_libraries(capture_DXGI
lg_common
d3d11
dxgi
dwmapi
)
target_include_directories(capture_DXGI
PRIVATE
src
)