![]()  | 
  
    Qt 6.x
    
   The Qt SDK 
   | 
 
#include <QtCore/qbytearray.h>#include <QtCore/qmetatype.h>#include <QtCore/qscopedpointer.h>#include <QtCore/qtextstream.h>#include <QtGui/qcolorspace.h>#include "qglxconvenience_p.h"#include <QtCore/qloggingcategory.h>#include <QtCore/qvarlengtharray.h>#include <GL/glxext.h>
 Include dependency graph for qglxconvenience.cpp:Go to the source code of this file.
Macros | |
| #define | GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 | 
Enumerations | |
| enum | {  XFocusOut = FocusOut , XFocusIn = FocusIn , XKeyPress = KeyPress , XKeyRelease = KeyRelease , XNone = None , XRevertToParent = RevertToParent , XGrayScale = GrayScale , XCursorShape = CursorShape }  | 
Functions | |
| QT_BEGIN_NAMESPACE QList< int > | qglx_buildSpec (const QSurfaceFormat &format, int drawableBit, int flags) | 
| GLXFBConfig | qglx_findConfig (Display *display, int screen, QSurfaceFormat format, bool highestPixelFormat, int drawableBit, int flags) | 
| XVisualInfo * | qglx_findVisualInfo (Display *display, int screen, QSurfaceFormat *format, int drawableBit, int flags) | 
| void | qglx_surfaceFormatFromGLXFBConfig (QSurfaceFormat *format, Display *display, GLXFBConfig config, int flags) | 
| void | qglx_surfaceFormatFromVisualInfo (QSurfaceFormat *format, Display *display, XVisualInfo *visualInfo, int flags) | 
| bool | qglx_reduceFormat (QSurfaceFormat *format) | 
| #define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 | 
Definition at line 43 of file qglxconvenience.cpp.
| anonymous enum | 
| Enumerator | |
|---|---|
| XFocusOut | |
| XFocusIn | |
| XKeyPress | |
| XKeyRelease | |
| XNone | |
| XRevertToParent | |
| XGrayScale | |
| XCursorShape | |
Definition at line 19 of file qglxconvenience.cpp.
| QT_BEGIN_NAMESPACE QList< int > qglx_buildSpec | ( | const QSurfaceFormat & | format, | 
| int | drawableBit, | ||
| int | flags | ||
| ) | 
Definition at line 50 of file qglxconvenience.cpp.
References GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB, QGLX_SUPPORTS_SRGB, qMax(), QSurfaceFormat::SingleBuffer, QColorSpace::SRgb, True, and XNone.
Referenced by qglx_findConfig(), and qglx_findVisualInfo().
 Here is the call graph for this function:
 Here is the caller graph for this function:| GLXFBConfig qglx_findConfig | ( | Display * | display, | 
| int | screen, | ||
| QSurfaceFormat | format, | ||
| bool | highestPixelFormat, | ||
| int | drawableBit, | ||
| int | flags | ||
| ) | 
Definition at line 158 of file qglxconvenience.cpp.
References QList< T >::constData(), GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB, i, qCDebug, qCWarning, qglx_buildSpec(), qglx_reduceFormat(), QGLX_SUPPORTS_SRGB, qMax(), qMin(), screen, and QColorSpace::SRgb.
Referenced by QGLXContext::QGLXContext(), QGLXPbuffer::QGLXPbuffer(), and qglx_findVisualInfo().
 Here is the call graph for this function:
 Here is the caller graph for this function:| XVisualInfo * qglx_findVisualInfo | ( | Display * | display, | 
| int | screen, | ||
| QSurfaceFormat * | format, | ||
| int | drawableBit, | ||
| int | flags | ||
| ) | 
Definition at line 240 of file qglxconvenience.cpp.
References Q_ASSERT, qglx_buildSpec(), qglx_findConfig(), qglx_reduceFormat(), qglx_surfaceFormatFromGLXFBConfig(), qglx_surfaceFormatFromVisualInfo(), and screen.
Referenced by QGLXContext::QGLXContext(), and QXcbGlxWindow::createVisual().
 Here is the call graph for this function:
 Here is the caller graph for this function:| bool qglx_reduceFormat | ( | QSurfaceFormat * | format | ) | 
Definition at line 353 of file qglxconvenience.cpp.
References Q_ASSERT, qMin(), QSurfaceFormat::SingleBuffer, and QColorSpace::SRgb.
Referenced by qglx_findConfig(), and qglx_findVisualInfo().
 Here is the call graph for this function:
 Here is the caller graph for this function:| void qglx_surfaceFormatFromGLXFBConfig | ( | QSurfaceFormat * | format, | 
| Display * | display, | ||
| GLXFBConfig | config, | ||
| int | flags | ||
| ) | 
Definition at line 269 of file qglxconvenience.cpp.
References GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB, QGLX_SUPPORTS_SRGB, and QColorSpace::SRgb.
Referenced by QGLXContext::QGLXContext(), QGLXContext::QGLXContext(), QGLXPbuffer::QGLXPbuffer(), and qglx_findVisualInfo().
 Here is the caller graph for this function:| void qglx_surfaceFormatFromVisualInfo | ( | QSurfaceFormat * | format, | 
| Display * | display, | ||
| XVisualInfo * | visualInfo, | ||
| int | flags | ||
| ) | 
Definition at line 311 of file qglxconvenience.cpp.
References GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB, QGLX_SUPPORTS_SRGB, and QColorSpace::SRgb.
Referenced by QGLXContext::QGLXContext(), and qglx_findVisualInfo().
 Here is the caller graph for this function: