aboutsummaryrefslogtreecommitdiff
path: root/include/capture/kms_vaapi.h
AgeCommit message (Collapse)Author
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-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-09Use /usr/bin/gsr-kms-server constant path for pkexecdec05eba
2023-04-07Implement kms vaapi capturedec05eba