Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4#ifndef QXCBGLXINTEGRATION_H
5#define QXCBGLXINTEGRATION_H
6
7#include "qxcbglintegration.h"
8
10
12
14 public QNativeInterface::Private::QGLXIntegration
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;
26 QOpenGLContext *createOpenGLContext(GLXContext context, void *visualInfo, QOpenGLContext *shareContext) const override;
27
28 bool supportsThreadedOpenGL() const override;
29 bool supportsSwitchableWidgetComposition() const override;
30
31private:
32 QXcbConnection *m_connection;
33 uint32_t m_glx_first_event;
34
35 QScopedPointer<QXcbNativeInterfaceHandler> m_native_interface_handler;
36};
37
39
40#endif //QXCBGLXINTEGRATION_H
\inmodule QtGui
\inmodule QtGui
The QPlatformOpenGLContext class provides an abstraction for native GL contexts.
\inmodule QtGui
Definition qwindow.h:63
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
Combined button and popup list for selecting options.
static void * context
static bool initialize()
Definition qctf.cpp:94
DBusConnection * connection
struct _cl_event * event
unsigned int uint
Definition qtypes.h:34
aWidget window() -> setWindowTitle("New Window Title")
[2]