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
qxcbglxnativeinterfacehandler.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
12{
13public:
18
19 QXcbGlxNativeInterfaceHandler(QXcbNativeInterface *nativeInterface);
21
22private:
23 static void *glxContextForContext(QOpenGLContext *context);
24 static void *glxConfigForContext(QOpenGLContext *context);
25};
26
27QT_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
QPlatformNativeInterface::NativeResourceForContextFunction nativeResourceFunctionForContext(const QByteArray &resource) const override
QXcbGlxNativeInterfaceHandler(QXcbNativeInterface *nativeInterface)
QXcbGlxWindow(QWindow *window)
const xcb_visualtype_t * createVisual() override