Commit Graph

16 Commits

Author SHA1 Message Date
Chase Payne
5d88d4a016 clang fixes 2024-08-17 01:40:57 -05:00
Chase Payne
24a4a89d2b implement cgutmans ideas 2024-08-17 01:36:44 -05:00
Chase Payne
4fd9bf7873 move unmap to fail guard 2024-08-12 03:03:12 -05:00
Chase Payne
f5fa99cdb3 remove code changes that were not needed 2024-08-11 23:15:28 -05:00
Chase Payne
14de699b8d remove else statements 2024-08-11 23:12:16 -05:00
Chase Payne
6d5091bd29 attempt to match previous coding styles 2024-08-11 23:09:54 -05:00
Chase Payne
eac116658c code review suggestions 2024-08-11 23:06:11 -05:00
Chase Payne
f2311bb74c clang fixes 2024-08-10 14:27:54 -05:00
Chase Payne
b1ec2dffe5 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-08-10 14:08:59 -05:00
Chase Payne
e7fd80dc30 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-08-10 14:00:47 -05: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