4#ifndef QGLXCONVENIENCE_H
5#define QGLXCONVENIENCE_H
18#include <QtCore/qlist.h>
19#include <QtGui/qsurfaceformat.h>
20#include <QtCore/private/qglobal_p.h>
29 QGLX_SUPPORTS_SRGB = 0x01
32Q_GUI_EXPORT QList<
int> qglx_buildSpec(
const QSurfaceFormat &format,
33 int drawableBit = GLX_WINDOW_BIT,
36Q_GUI_EXPORT XVisualInfo *qglx_findVisualInfo(Display *display,
int screen,
37 QSurfaceFormat *format,
38 int drawableBit = GLX_WINDOW_BIT,
41Q_GUI_EXPORT GLXFBConfig qglx_findConfig(Display *display,
int screen,
42 QSurfaceFormat format,
43 bool highestPixelFormat =
false,
44 int drawableBit = GLX_WINDOW_BIT,
48 GLXFBConfig config,
int flags = 0);
51 XVisualInfo *visualInfo,
int flags = 0);
Q_STATIC_LOGGING_CATEGORY(lcAccessibilityCore, "qt.accessibility.core")
void qglx_surfaceFormatFromGLXFBConfig(QSurfaceFormat *format, Display *display, GLXFBConfig config, int flags)
void qglx_surfaceFormatFromVisualInfo(QSurfaceFormat *format, Display *display, XVisualInfo *visualInfo, int flags)
GLXFBConfig qglx_findConfig(Display *display, int screen, QSurfaceFormat format, bool highestPixelFormat, int drawableBit, int flags)
bool qglx_reduceFormat(QSurfaceFormat *format)
XVisualInfo * qglx_findVisualInfo(Display *display, int screen, QSurfaceFormat *format, int drawableBit, int flags)
#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB