aboutsummaryrefslogtreecommitdiff
path: root/src/egl.c
AgeCommit message (Collapse)Author
2024-07-04Add support for software video encoding with '-encoder cpu' option, ↵dec05eba
currently h264 only
2024-06-22Fix audio recording (channel layout) for ffmpeg 7dec05eba
2024-06-14Properly cut out cursor outside video area when dealing with hevc amd paddingdec05eba
2024-06-10Do not require a valid drm plane to capture a window on amd/intel x11dec05eba
2024-03-21Destroy glx context on fail/deinitdec05eba
2024-03-10Use dri card matching current egl contextdec05eba
2024-03-08Use opengl capture for nvfbc (prepare for vulkan capture without cuda)dec05eba
2024-02-26Set cap sys nice again, to prevent gsr from being limited to game fpsdec05eba
2024-02-25Dont prioritize gsr egl context over other processesdec05eba
2024-02-10Add screen rotation support (tested on amd/intel)dec05eba
screen rotation in wayland is best effort, wayland doesn't give the necessary information to make it robust.
2024-02-09Remove wayland capture (wlroots)dec05eba
2024-02-09Move card path to egl struct, use egl struct for monitor enumerationdec05eba
2024-01-11Nvidia: use default p4 preset instead of p5, might fix frame issuesdec05eba
2023-11-22h264 vaapi quality 5dec05eba
2023-09-18egl es -> egldec05eba
2023-09-08Revert "p"dec05eba
This reverts commit bccb5ba8f44f1c33ffcfa08c67b5778ddc65c948.
2023-09-08pdec05eba
2023-09-07wipdec05eba
2023-07-26cap_sys_nice, set caps on gsr-kms-server and gpu-screen-recorderdec05eba
2023-07-26High priority egl context if possible, use eglBindAPI(EGL_OPENGL_ES_API)dec05eba
2023-07-24READMEdec05eba
2023-07-22Exit with exit code 10 if pkexec failsdec05eba
2023-07-22Fix cursor offset in kms grab (amd/intel), disable wlroots capture until its ↵dec05eba
fixed
2023-07-22Use correct offset for combined plane monitor capturedec05eba
2023-07-21vfr on wayland (even on nvidia), add uninstall scriptdec05eba
2023-07-21Support wlroots screen capture, which doesn't require kms root access and ↵dec05eba
also captures cursor
2023-07-18Experimental wayland support, test 1dec05eba
2023-05-17Fix all warningsdec05eba
2023-04-22kms_vaapi: add cursor capture for amd/intel monitor capturedec05eba
Always find largest drm buf, to fix some cases when there are multiple planes and we accidentally capture a drm buf that isn't the target buf. We always want the full SCREEN drm buf.
2023-04-21Add code to copy cursor image to opengl texture and update on event update ↵dec05eba
(not used yet)
2023-04-15Fix AMD single monitor rotated display being rotated in recordingdec05eba
If there is only one monitor connected and it's rotated then the drm buf will also be rotated. This only the case with AMD and only when using one monitor! To fix this, we perform color conversion with an opengl shader which allows us to also rotate the texture. VAAPI supports rotation but it's not implemented by AMD at least. Performance seems to be the same as when using VAAPI, even when GPU usage is 100%.
2023-04-07Implement kms vaapi capturedec05eba
2023-04-01Use vaapi to do rgb->yuv420p color conversionSteam Deck User
Enable window capture for amd/intel. Properly check if h264/hevc is supported on amd/intel before using codec.
2023-03-26Remove unused codedec05eba
2023-03-17vaapi wipSteam Deck User
2022-12-20follow focuseddec05eba
2022-11-30wip inteldec05eba