LookingGlass/client/renderers
Quantum 30a888711b [client] egl: force DMA copy into texture in on_frame
This commit forces the DMA'd memory to be copied into the texture in
the EGL on_frame handler. This avoids tearing when the LG host inevitably
updates the underlying memory. We need an additional copy inside the GPU,
but this is cheap compared to copying from system memory.

We could have used logic to lock the memory buffer, but that would require
performing DMA on every frame, which wastes memory bandwidth. This
manifests as reduced frame rate when moving the mouse compared to the
non-DMA implementation.

We also keep multiple EGLImages, one for each DMA fd, to avoid issues
with the OpenGL driver.
2021-02-21 10:31:48 +11:00
..
EGL [client] egl: force DMA copy into texture in on_frame 2021-02-21 10:31:48 +11:00
OpenGL [client] renderer: add ability to toggle the FPS display 2021-02-21 10:31:48 +11:00
CMakeLists.txt [client] cmake: cosmetics 2019-03-28 20:15:13 +11:00