Skip to content

Commit

Permalink
Support threaded OpenGL on XCB/EGL.
Browse files Browse the repository at this point in the history
Broken since 8758f53.

Change-Id: I04cb9a36088ab6753c9519a911d065617f88fe08
Reviewed-by: Laszlo Agocs <[email protected]>
  • Loading branch information
sletta authored and dangelog committed Jan 9, 2015
1 parent 532be59 commit fc5e6b3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ class QXcbEglIntegration : public QXcbGlIntegration
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:
Expand Down

0 comments on commit fc5e6b3

Please sign in to comment.