mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[client] egl: blame NVIDIA if dmabuf fails on NVIDIA hardware
NVIDIA still do not implement a complete/working DMABUF implementation yet advertise support. Best to tell the public to complain to NVIDIA instead of assuming it's a LG bug or an issue with their system.
This commit is contained in:
parent
edc9825c04
commit
bc34dc9e24
@ -318,6 +318,14 @@ bool egl_desktopUpdate(EGL_Desktop * desktop, const FrameBuffer * frame, int dma
|
|||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_WARN("DMA update failed, disabling DMABUF imports");
|
DEBUG_WARN("DMA update failed, disabling DMABUF imports");
|
||||||
|
|
||||||
|
const char * vendor = (const char *)glGetString(GL_VENDOR);
|
||||||
|
if (strstr(vendor, "NVIDIA"))
|
||||||
|
{
|
||||||
|
DEBUG_WARN("NVIDIA's DMABUF support is incomplete, please direct your complaints to NVIDIA");
|
||||||
|
DEBUG_WARN("This is not a bug in Looking Glass");
|
||||||
|
}
|
||||||
|
|
||||||
desktop->useDMA = false;
|
desktop->useDMA = false;
|
||||||
|
|
||||||
egl_textureFree(&desktop->texture);
|
egl_textureFree(&desktop->texture);
|
||||||
|
Loading…
Reference in New Issue
Block a user