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.
This commit is contained in:
4
TODO
4
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?
|
||||
How about if multiple monitors are rotated?
|
||||
|
||||
When using multiple monitors kms grab the target monitor instead of the whole screen.
|
||||
Reference in New Issue
Block a user