diff options
author | Michal Klocek <michal.klocek@qt.io> | 2019-02-08 14:00:42 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2019-02-13 11:33:44 +0000 |
commit | 6bad49308a9d943200fd48a8c9f732de20250bed (patch) | |
tree | 1d76d806c5509f35975a82bf7b2f3e31b7098fbe /src/plugins/platforms/offscreen/qoffscreenintegration_x11.h | |
parent | 652e9146ac3a28a166928f7e594dfa1c3514e912 (diff) |
Fix handling of glxconfig and glxcontext in offscreen plugin
Return glxconfig and glxcontext, it is needed by
share context in chromium.
Task-number: QTBUG-63346
Change-Id: Ief15bf7170af9cf61a71453043a2629a4bcbcdc2
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins/platforms/offscreen/qoffscreenintegration_x11.h')
-rw-r--r-- | src/plugins/platforms/offscreen/qoffscreenintegration_x11.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/offscreen/qoffscreenintegration_x11.h b/src/plugins/platforms/offscreen/qoffscreenintegration_x11.h index a1986fdc94..5ef51a15a8 100644 --- a/src/plugins/platforms/offscreen/qoffscreenintegration_x11.h +++ b/src/plugins/platforms/offscreen/qoffscreenintegration_x11.h @@ -104,6 +104,9 @@ public: bool isSharing() const override; bool isValid() const override; + void *glxConfig() const; + void *glxContext() const; + private: QScopedPointer<QOffscreenX11GLXContextData> d; }; |