From e1c613666ea394a2295a5cfb34c6c5e621876293 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 22 Apr 2023 00:46:48 +0200 Subject: kms_vaapi: add cursor capture for amd/intel monitor capture 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. --- TODO | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 76af193..26c2513 100644 --- a/TODO +++ b/TODO @@ -57,4 +57,6 @@ Test if vaapi copy version uses less memory than opengl version. Intel is a bit weird with monitor capture and multiple monitors. If one of the monitors is rotated then all the kms will be rotated as well. Is that only the case when the primary monitor is rotated? Also the primary monitor becomes position 0, 0 so crtc (x11 randr) position doesn't match the drm pos. Maybe get monitor position and size from drm instead. - How about if multiple monitors are rotated? \ No newline at end of file + How about if multiple monitors are rotated? + +When using multiple monitors kms grab the target monitor instead of the whole screen. \ No newline at end of file -- cgit v1.2.3