confirmed to be working on amdgpu
This commit is contained in:
parent
6971d7df62
commit
9b20228ab7
1 changed files with 1 additions and 1 deletions
2
va.c
2
va.c
|
@ -284,7 +284,7 @@ int va_init() {
|
||||||
{&fmt_xbgr, 1, KMSVNC_FOURCC_TO_INT('A','B','G','R'), 1, 1},
|
{&fmt_xbgr, 1, KMSVNC_FOURCC_TO_INT('A','B','G','R'), 1, 1},
|
||||||
};
|
};
|
||||||
|
|
||||||
va->derive_enabled = strcmp(kmsvnc->drm->drm_ver->name, "i915") != 0;
|
va->derive_enabled = 0;
|
||||||
va->derive_enabled = kmsvnc->va_derive_enabled < 0 ? va->derive_enabled : kmsvnc->va_derive_enabled != 0;
|
va->derive_enabled = kmsvnc->va_derive_enabled < 0 ? va->derive_enabled : kmsvnc->va_derive_enabled != 0;
|
||||||
if (va->derive_enabled) {
|
if (va->derive_enabled) {
|
||||||
if ((s = vaDeriveImage(va->dpy, va->surface_id, va->image)) == VA_STATUS_SUCCESS) {
|
if ((s = vaDeriveImage(va->dpy, va->surface_id, va->image)) == VA_STATUS_SUCCESS) {
|
||||||
|
|
Loading…
Reference in a new issue