Refactor xcomposite into abstract capture api

Refactor c++ files into c files, more usable
This commit is contained in:
dec05eba
2022-10-16 02:08:40 +02:00
parent 93d46b9767
commit a7e0dbd833
21 changed files with 1342 additions and 1184 deletions

3
TODO
View File

@@ -13,4 +13,5 @@ Allow recording a region by recording the compositor proxy window / nvfbc window
Resizing the target window to be smaller than the initial size is buggy. The window texture ends up duplicated in the video.
Handle frames (especially for applications with rounded client-side decorations, such as gnome applications. They are huge).
Use nvenc directly, which allows removing the use of cuda.
Fallback to nvfbc and window tracking if window capture fails.
Fallback to nvfbc and window tracking if window capture fails.
Handle xrandr monitor change in nvfbc.