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
qxcbglintegration.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 QXCBGLINTEGRATION_H
5
6#include "qxcbexport.h"
7#include "qxcbwindow.h"
8
9#include <QtCore/QLoggingCategory>
10
12
16
18
20{
21public:
23 virtual ~QXcbGlIntegration();
25
26 virtual bool supportsThreadedOpenGL() const { return false; }
27 virtual bool supportsSwitchableWidgetComposition() const { return true; }
28 virtual bool handleXcbEvent(xcb_generic_event_t *event, uint responseType);
29
30 virtual QXcbWindow *createWindow(QWindow *window) const = 0;
31#ifndef QT_NO_OPENGL
33#endif
35
36 virtual QXcbNativeInterfaceHandler *nativeInterfaceHandler() const { return nullptr; }
37};
38
40
41#endif //QXCBGLINTEGRATION_H
\inmodule QtGui
\inmodule QtGui
The QPlatformOpenGLContext class provides an abstraction for native GL contexts.
\inmodule QtGui
Definition qwindow.h:63
virtual bool supportsSwitchableWidgetComposition() const
virtual QPlatformOpenGLContext * createPlatformOpenGLContext(QOpenGLContext *context) const =0
virtual QXcbNativeInterfaceHandler * nativeInterfaceHandler() const
virtual QXcbWindow * createWindow(QWindow *window) const =0
virtual bool supportsThreadedOpenGL() const
virtual bool initialize(QXcbConnection *connection)=0
virtual QPlatformOffscreenSurface * createPlatformOffscreenSurface(QOffscreenSurface *surface) const =0
Combined button and popup list for selecting options.
static void * context
DBusConnection * connection
#define Q_DECLARE_EXPORTED_LOGGING_CATEGORY(name, export_macro)
struct _cl_event * event
unsigned int uint
Definition qtypes.h:34
#define Q_XCB_EXPORT
Definition qxcbexport.h:14
aWidget window() -> setWindowTitle("New Window Title")
[2]