Support shared GL contexts in eglfs.

This allows shared texture uploads in a background thread.

Change-Id: Ib390243bc9dfabd6c579dff9b74e7f44211739d3
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
bb10
Michael Brasser 2013-01-22 14:08:13 -06:00 committed by The Qt Project
parent 14675681b5
commit 3c9cc32086
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ QPlatformBackingStore *QEglFSIntegration::createPlatformBackingStore(QWindow *wi
QPlatformOpenGLContext *QEglFSIntegration::createPlatformOpenGLContext(QOpenGLContext *context) const
{
return new QEglFSContext(hooks->surfaceFormatFor(context->format()), 0 /*share*/, mDisplay);
return new QEglFSContext(hooks->surfaceFormatFor(context->format()), context->shareHandle(), mDisplay);
}
QPlatformFontDatabase *QEglFSIntegration::fontDatabase() const