Commit Graph

23 Commits

Author SHA1 Message Date
Chase Payne
4bdae9cf86 make sonarcloud happy again 2024-09-14 18:19:42 -04:00
Chase Payne
6823595352 fix compliler errors 2024-09-14 18:19:42 -04:00
Chase Payne
b733d2b9e9 implement suggestions from cgutman 2024-09-14 18:19:42 -04:00
Chase Payne
7257b188c3 Update tools/ddprobe.cpp
Co-authored-by: Cameron Gutman <aicommander@gmail.com>
2024-09-14 18:19:42 -04:00
Chase Payne
6f71f42d50 more doc fixes 2024-09-14 18:19:42 -04:00
Chase Payne
bae2d30816 Update tools/ddprobe.cpp
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2024-09-14 18:19:42 -04:00
Chase Payne
431a7f6bf0 fix documentation 2024-09-14 18:19:42 -04:00
Chase Payne
6d8f5b22c3 clang fixes 2024-09-14 18:19:42 -04:00
Chase Payne
7dc2d41b77 implement cgutmans ideas 2024-09-14 18:19:42 -04:00
Chase Payne
026c2aebf3 move unmap to fail guard 2024-09-14 18:19:42 -04:00
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