QNX: Fix video playback on VMWare
Mark eglImage as not supported on VMWare since that path requires that the image data be in GPU accessible memory which is not the case for video Change-Id: I2ea1ec52842adf0bc1ca39c882e6771e6a992c65 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
This commit is contained in:
committed by
Rafael Roquetto
parent
45ca387cb0
commit
15c42ebccb
@@ -40,6 +40,7 @@
|
||||
#include <qpa/qplatformnativeinterface.h>
|
||||
|
||||
#include <QOpenGLContext>
|
||||
#include <QOpenGLFunctions>
|
||||
|
||||
#ifdef Q_OS_BLACKBERRY
|
||||
#include <bps/event.h>
|
||||
@@ -343,6 +344,9 @@ void WindowGrabber::checkForEglImageExtension()
|
||||
m_eglImageSupported = m_context->hasExtension(QByteArrayLiteral("GL_OES_EGL_image"))
|
||||
&& eglExtensions.contains(QByteArrayLiteral("EGL_KHR_image"));
|
||||
|
||||
if (strstr(reinterpret_cast<const char*>(glGetString(GL_VENDOR)), "VMware"))
|
||||
m_eglImageSupported = false;
|
||||
|
||||
m_eglImageCheck = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user