Commit Graph

13 Commits

Author SHA1 Message Date
Chase Payne
f8d14ac05b remove code changes that were not needed 2024-09-14 18:19:42 -04:00
Chase Payne
b9069cd9b5 remove else statements 2024-09-14 18:19:42 -04:00
Chase Payne
9a1bfebd03 attempt to match previous coding styles 2024-09-14 18:19:42 -04:00
Chase Payne
56dedbde7f code review suggestions 2024-09-14 18:19:42 -04:00
Chase Payne
d9bd8e2d77 clang fixes 2024-09-14 18:19:42 -04:00
Chase Payne
d470cc7d4e Check all pixels instead
It occoured to me there might be some desktop images that are predominately black, which could cause a false positive.
2024-09-14 18:19:42 -04:00
Chase Payne
2185c4f2ce Fix frame capture and output duplication for dual GPU setups and virtual displays
- Added `test_frame_capture` function to verify if frames are successfully captured and not empty.
- Fixes issues with virtual displays such as IDDSampleDriver when using more than one GPU.
2024-09-14 18:19:42 -04:00
ReenigneArcher
1dd4b68e1c docs(src): add examples alias and general cleanup (#2763) 2024-06-28 08:34:14 -04:00
Cameron Gutman
f64712f277 Always reset the thread desktop before calling DuplicateOutput()
Otherwise capture will fail if the thread desktop is different than the current input desktop (ex: UAC secure desktop is active)
2024-01-18 19:14:45 -06:00
ReenigneArcher
4ca6dc6c8e docs: update file level doxygen blocks (#1258) 2023-05-07 18:12:39 -04:00
ReenigneArcher
21eb4eb6dd clang: adjust formatting rules (#1015) 2023-03-27 21:45:29 -04:00
Cameron Gutman
da390c37db Improve reliability of hybrid graphics detection (#801) 2023-01-20 22:12:16 -06:00
Cameron Gutman
49fc618682 Add support for hybrid graphics systems (NVIDIA Optimus) (#782) 2023-01-17 23:55:44 -06:00