diff options
author | Ilya Fedin <fedin-ilja2010@ya.ru> | 2021-10-04 10:32:38 +0400 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2022-06-20 15:53:33 +0000 |
commit | c3e624eb50ff56dd0d172999a49c454f37ca62cd (patch) | |
tree | 4d1919fb65e0e0cefc5395af6ee311f0ee1319d5 /src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglwindow.h | |
parent | 1c106b37c75adc96df33cd59e8a5e3822385b099 (diff) |
Port QXlibEglIntegration::getCompatibleVisualId to xcb
In combination with EGL_EXT_platform_xcb support, this allows xcb_egl
to be used without xlib. Without EGL_EXT_platform_xcb support, this
still reduces amount of code using xlib.
Pick-to: 6.4
Change-Id: I29e2b29f7ef8ea34320887f62697f84232b86fba
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglwindow.h')
-rw-r--r-- | src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglwindow.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglwindow.h b/src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglwindow.h index 79f1df0493..935a0c6d43 100644 --- a/src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglwindow.h +++ b/src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglwindow.h @@ -25,10 +25,7 @@ public: protected: void create() override; void resolveFormat(const QSurfaceFormat &format) override; - -#if QT_CONFIG(xcb_xlib) const xcb_visualtype_t *createVisual() override; -#endif private: QXcbEglIntegration *m_glIntegration; |