LookingGlass/host
Quantum 3651852430 [host] nvfbc: round pitch to multiple of 128 for dmabuf import
Certain drivers do not support pitches that are not multiples of 128 bytes,
and instead just does some kind of rounding internally. On DXGI, this is not
a problem because the API rounds pixel pitch, but NvFBC does not. This causes
certain resolutions to simply not work with dmabuf, most notably 3440x1440,
which is 1440p ultrawide.

Since we are copying pixels with the CPU anyways, we might as well round the
pitch up to 128 bytes (32 pixels).
2021-08-06 22:48:33 +10:00
..
cmake [c-host] renamed finall to just plain host 2020-05-25 13:42:43 +10:00
include/interface [host] windows: implement KVMFR_FEATURE_SETCURSORPOS 2021-08-05 22:35:22 +10:00
platform [host] nvfbc: round pitch to multiple of 128 for dmabuf import 2021-08-06 22:48:33 +10:00
src [host] windows: implement KVMFR_FEATURE_SETCURSORPOS 2021-08-05 22:35:22 +10:00
.gitignore [c-host] renamed finall to just plain host 2020-05-25 13:42:43 +10:00
CMakeLists.txt [all] use cmake FindPkgConfig IMPORTED_TARGETs 2021-07-24 12:35:48 +10:00
toolchain-mingw64.cmake [c-host] renamed finall to just plain host 2020-05-25 13:42:43 +10:00