Support threaded OpenGL on XCB/EGL.
Broken since 8758f532ae.
Change-Id: I04cb9a36088ab6753c9519a911d065617f88fe08
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
bb10
parent
532be5959f
commit
fc5e6b37a1
|
|
@ -70,6 +70,8 @@ public:
|
|||
QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const Q_DECL_OVERRIDE;
|
||||
QPlatformOffscreenSurface *createPlatformOffscreenSurface(QOffscreenSurface *surface) const Q_DECL_OVERRIDE;
|
||||
|
||||
bool supportsThreadedOpenGL() const Q_DECL_OVERRIDE { return true; }
|
||||
|
||||
EGLDisplay eglDisplay() const { return m_egl_display; }
|
||||
void *xlib_display() const { return m_connection->xlib_display(); }
|
||||
private:
|
||||
|
|
|
|||
Loading…
Reference in New Issue