Tatsuyuki Ishi b684e01aad linux-capture: Disable strict binding for NVIDIA drivers
NVIDIA drivers appears to have a bug where binding would be excessively
slow. Apply a workaround similar to what [KWin] does to prevent the issue.

Also performs a refactor so that the code paths with and without the
workaround can be shared.

[KWin]: 4f2c3a00c4/src/libkwineffects/kwinglplatform.cpp

Fixes: 316f858c6 ("linux-capture: Fix capturing on software rasterization setups")
Closes: https://github.com/obsproject/obs-studio/issues/5685

Tested-By: univrsal <uni@vrsal.xyz>
2022-01-07 15:21:09 -08:00
..
2021-12-17 08:01:29 +00:00
2021-12-17 08:01:29 +00:00
2021-12-17 08:01:29 +00:00
2021-12-17 08:01:29 +00:00
2021-12-12 02:38:59 +00:00
2021-12-12 02:38:59 +00:00
2021-12-12 02:38:59 +00:00