Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qxcbglxintegration.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#pragma once
6
8
10
11class QXcbNativeInterfaceHandler;
12
15{
16public:
19
20 bool initialize(QXcbConnection *connection) override;
21 bool handleXcbEvent(xcb_generic_event_t *event, uint responseType) override;
22
23 QXcbWindow *createWindow(QWindow *window) const override;
24 QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const override;
25 QPlatformOffscreenSurface *createPlatformOffscreenSurface(QOffscreenSurface *surface) const override;
26 QOpenGLContext *createOpenGLContext(GLXContext context, void *visualInfo, QOpenGLContext *shareContext) const override;
27
30
31private:
32 QXcbConnection *m_connection;
33 uint32_t m_glx_first_event;
34
35 QScopedPointer<QXcbNativeInterfaceHandler> m_native_interface_handler;
36};
37
38QT_END_NAMESPACE
QXcbWindow * createWindow(QWindow *window) const override
bool supportsThreadedOpenGL() const override
QPlatformOffscreenSurface * createPlatformOffscreenSurface(QOffscreenSurface *surface) const override
bool handleXcbEvent(xcb_generic_event_t *event, uint responseType) override
bool supportsSwitchableWidgetComposition() const override
QOpenGLContext * createOpenGLContext(GLXContext context, void *visualInfo, QOpenGLContext *shareContext) const override
QPlatformOpenGLContext * createPlatformOpenGLContext(QOpenGLContext *context) const override
bool initialize(QXcbConnection *connection) override