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
qglxconvenience_p.h File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include <QtCore/qlist.h>
#include <QtGui/qsurfaceformat.h>
#include <QtCore/private/qglobal_p.h>
#include <X11/Xlib.h>
#include <GL/glx.h>
Include dependency graph for qglxconvenience_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  QGlxFlags { QGLX_SUPPORTS_SRGB = 0x01 }

Functions

Q_GUI_EXPORT QList< int > qglx_buildSpec (const QSurfaceFormat &format, int drawableBit=GLX_WINDOW_BIT, int flags=0)
Q_GUI_EXPORT XVisualInfo * qglx_findVisualInfo (Display *display, int screen, QSurfaceFormat *format, int drawableBit=GLX_WINDOW_BIT, int flags=0)
Q_GUI_EXPORT GLXFBConfig qglx_findConfig (Display *display, int screen, QSurfaceFormat format, bool highestPixelFormat=false, int drawableBit=GLX_WINDOW_BIT, int flags=0)
Q_GUI_EXPORT void qglx_surfaceFormatFromGLXFBConfig (QSurfaceFormat *format, Display *display, GLXFBConfig config, int flags=0)
Q_GUI_EXPORT void qglx_surfaceFormatFromVisualInfo (QSurfaceFormat *format, Display *display, XVisualInfo *visualInfo, int flags=0)
Q_GUI_EXPORT bool qglx_reduceFormat (QSurfaceFormat *format)

Enumeration Type Documentation

◆ QGlxFlags

enum QGlxFlags
Enumerator
QGLX_SUPPORTS_SRGB 

Definition at line 27 of file qglxconvenience_p.h.

Function Documentation

◆ qglx_buildSpec()

Q_GUI_EXPORT QList< int > qglx_buildSpec ( const QSurfaceFormat & format,
int drawableBit = GLX_WINDOW_BIT,
int flags = 0 )

Definition at line 50 of file qglxconvenience.cpp.

◆ qglx_findConfig()

Q_GUI_EXPORT GLXFBConfig qglx_findConfig ( Display * display,
int screen,
QSurfaceFormat format,
bool highestPixelFormat = false,
int drawableBit = GLX_WINDOW_BIT,
int flags = 0 )

Definition at line 158 of file qglxconvenience.cpp.

◆ qglx_findVisualInfo()

Q_GUI_EXPORT XVisualInfo * qglx_findVisualInfo ( Display * display,
int screen,
QSurfaceFormat * format,
int drawableBit = GLX_WINDOW_BIT,
int flags = 0 )

Definition at line 240 of file qglxconvenience.cpp.

◆ qglx_reduceFormat()

Q_GUI_EXPORT bool qglx_reduceFormat ( QSurfaceFormat * format)

Definition at line 353 of file qglxconvenience.cpp.

◆ qglx_surfaceFormatFromGLXFBConfig()

Q_GUI_EXPORT void qglx_surfaceFormatFromGLXFBConfig ( QSurfaceFormat * format,
Display * display,
GLXFBConfig config,
int flags = 0 )

Definition at line 269 of file qglxconvenience.cpp.

◆ qglx_surfaceFormatFromVisualInfo()

Q_GUI_EXPORT void qglx_surfaceFormatFromVisualInfo ( QSurfaceFormat * format,
Display * display,
XVisualInfo * visualInfo,
int flags = 0 )

Definition at line 311 of file qglxconvenience.cpp.