Age | Commit message (Collapse) | Author |
|
|
|
|
|
systems)
|
|
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.
|
|
error on fail to focus window
|
|
original size instead of resized to video size
|
|
|
|
|
|
instead of /dev/dri/card0 (fixes capture on some systems)
|
|
|
|
|
|
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%.
|
|
|
|
|
|
This reverts commit 2f665e9d53d19f82af0973a169e6c2dc186e915f.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plane gets invalid
|
|
|
|
|
|
|
|
|
|
|
|
Enable window capture for amd/intel.
Properly check if h264/hevc is supported on amd/intel before using
codec.
|
|
|
|
|
|
|
|
anything and was bugged
|
|
|
|
|
|
set to p2 state when using cuda)
|
|
|
|
|
|
window
|
|
device_ctx frees it as well
|
|
|
|
|
|
Refactor c++ files into c files, more usable
|
|
|