| 51 | } |
| 52 | |
| 53 | bool DesktopDupScreencap::init() |
| 54 | { |
| 55 | LogFunc; |
| 56 | |
| 57 | if (!init_d3d_device()) { |
| 58 | return false; |
| 59 | } |
| 60 | |
| 61 | if (!init_dxgi_factory()) { |
| 62 | return false; |
| 63 | } |
| 64 | |
| 65 | return true; |
| 66 | } |
| 67 | |
| 68 | bool DesktopDupScreencap::ensure_output_for_monitor() |
| 69 | { |
nothing calls this directly
no outgoing calls
no test coverage detected