mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
3651852430
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). |
||
---|---|---|
.. | ||
cmake | ||
include/interface | ||
platform | ||
src | ||
.gitignore | ||
CMakeLists.txt | ||
toolchain-mingw64.cmake |