Remove dependency on glew and glfw, move external files to external directory

This commit is contained in:
dec05eba
2022-09-28 01:03:06 +02:00
parent 2570d1e86a
commit 1db2282683
13 changed files with 419 additions and 824 deletions

1
TODO
View File

@@ -2,7 +2,6 @@ Check for reparent.
Only add window to list if its the window is a topmost window.
Track window damages and only update then. That is better for output file size.
Getting the texture of a window when using a compositor is an nvidia specific limitation. When gpu-screen-recorder supports other gpus then this can be ignored.
Remove dependency on glfw (and glew?).
Quickly changing workspace and back while recording under i3 breaks the screen recorder. i3 probably unmaps windows in other workspaces.
Nvidia 515.57 supports nvfbc direct capture with mouse capture. Check if driver is equal or newer than this and use mouse capture in such situations (with direct capture) supports nvfbc direct capture with mouse capture.
See https://trac.ffmpeg.org/wiki/EncodingForStreamingSites for optimizing streaming.