High priority egl context if possible, use eglBindAPI(EGL_OPENGL_ES_API)

This commit is contained in:
dec05eba
2023-07-26 02:31:12 +02:00
parent bee99a69e3
commit 4ad0118f35
4 changed files with 19 additions and 13 deletions

5
TODO
View File

@@ -37,12 +37,9 @@ Window capture doesn't work properly in _control_ game after going from pause me
Fix constant framerate not working properly on amd/intel because capture framerate gets locked to the same framerate as game framerate, which doesn't work well when you need to encode multiple duplicate frames. We can skip multiple encode if we duplicate frame once and then use that same frame data as the difference between frames will be exactly the same, but hevc complains about that. Is there a way to make hevc shut up?
JPEG color range on amd seems to produce too bright video with h264 but not hevc, why?
Properly handle monitor reconfiguration (kms vaapi, nvfbc).
Better configure vaapi. The file size is too large.
Better colors for vaapi. It looks a bit off when recording vscode for example.
Clear vaapi surface (for focused window).
@@ -87,4 +84,4 @@ Support vulkan video encoding. That might workaround forced p2 state nvidia driv
Enable opus/flac again. It's broken right now when merging audio inputs. The audio gets a lot of static noise!
It may be possible to improve color conversion rgb->yuv shader for color edges by biasing colors to an edge, instead of letting color overlaying with bilinear filtering handle it.
It may be possible to improve color conversion rgb->yuv shader for color edges by biasing colors to an edge, instead of letting color overlaying with bilinear filtering handle it.