aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
AgeCommit message (Collapse)Author
2024-03-09Refactor xcompositedec05eba
Move common code between cuda/vaapi implementations into xcomposite file. This also fixes limited/full range colors on nvidia.
2024-02-10Wayland: handle eDP for rotationdec05eba
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
2023-11-17Make amd/intel nvidia/wayland capture display match x11 connector name, ↵dec05eba
allow screen capture on amd/intel nvidia/wayland (select the first output for now)
2023-08-13kms vaapi: fix capture bug (incorrect video size) caused by shadowed variable...dec05eba
2023-07-26High priority egl context if possible, use eglBindAPI(EGL_OPENGL_ES_API)dec05eba
2023-07-21Fix capture not working on intel + waylanddec05eba
Ignore nouveau cards. Fix lag on start of recording on amd/intel by only loading egl once, on startup.
2023-07-21Support wlroots screen capture, which doesn't require kms root access and ↵dec05eba
also captures cursor
2023-07-18Fix green screen sometimes when capturing amd/intel windowdec05eba
2023-07-18Experimental wayland support, test 1dec05eba
2023-07-10pdec05eba
2023-07-10Attempt to make active card detection more robustdec05eba
2023-07-09Test fix using correct gpu when multiple gpus are connecteddec05eba
2023-05-17Fix all warningsdec05eba
2023-04-16Find /dev/dri/card path that exists (the first one)dec05eba
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