mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-09-04 22:38:35 +00:00
.github
c-host
cmake
include
platform
Linux
Windows
capture
DXGI
NVFBC
src
CMakeLists.txt
CMakeLists.txt
include
src
CMakeLists.txt
app.manifest
resource.rc
CMakeLists.txt
src
.gitignore
CMakeLists.txt
README.md
toolchain-mingw64.cmake
client
common
contrib
module
resources
vendor
.gitattributes
.gitignore
.gitmodules
CONTRIBUTORS
LICENSE
README.md
VERSION
_config.yml
pre-commit

This changes the method of the memory copy from the host application to the guest. Instead of performing a full copy from the capture device into shared memory, and then flagging the new frame, we instead set a write pointer, flag the client that there is a new frame and then copy in chunks of 1024 bytes until the entire frame is copied. The client upon seeing the new frame flag begins to poll at high frequency the write pointer and upon each update copies as much as it can into the texture. This should improve latency but also slightly increase CPU usage on the client due to the high frequency polling.