mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-24 14:41:53 +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). |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt |