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
qxcbeglwindow.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 QXCBEGLWINDOW_H
5#define QXCBEGLWINDOW_H
6
7#include "qxcbwindow.h"
8
9#include "qxcbeglinclude.h"
10
12
14
16{
17public:
20
21 EGLSurface eglSurface() const { return m_surface; }
22
23 QXcbEglIntegration *glIntegration() const { return m_glIntegration; }
24
25protected:
26 void create() override;
27 void resolveFormat(const QSurfaceFormat &format) override;
28 const xcb_visualtype_t *createVisual() override;
29
30private:
31 QXcbEglIntegration *m_glIntegration;
32 EGLConfig m_config;
33 EGLSurface m_surface;
34};
35
37#endif //QXCBEGLWINDOW_H
QWindow * window() const
Returns the window which belongs to the QPlatformWindow.
The QSurfaceFormat class represents the format of a QSurface. \inmodule QtGui.
\inmodule QtGui
Definition qwindow.h:63
QXcbEglWindow(QWindow *window, QXcbEglIntegration *glIntegration)
void resolveFormat(const QSurfaceFormat &format) override
EGLSurface eglSurface() const
const xcb_visualtype_t * createVisual() override
void create() override
QXcbEglIntegration * glIntegration() const
Combined button and popup list for selecting options.
typedef EGLSurface(EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)(EGLDisplay dpy
GLint GLsizei GLsizei GLenum format