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.cpp File Reference

(2f83ec224f0cee96e6fa6b4c94eee9bd26364a5b)

#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 ,
  XFocusOut = FocusOut , XFocusIn = FocusIn , XKeyPress = KeyPress , XKeyRelease = KeyRelease ,
  XNone = None , XRevertToParent = RevertToParent , XGrayScale = GrayScale , XCursorShape = CursorShape
}
enum  {
  XFocusOut = FocusOut , XFocusIn = FocusIn , XKeyPress = KeyPress , XKeyRelease = KeyRelease ,
  XNone = None , XRevertToParent = RevertToParent , XGrayScale = GrayScale , XCursorShape = CursorShape ,
  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)

Macro Definition Documentation

◆ GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB

#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB   0x20B2

Definition at line 43 of file qglxconvenience.cpp.

Enumeration Type Documentation

◆ anonymous enum [1/2]

anonymous enum
Enumerator
XFocusOut 
XFocusIn 
XKeyPress 
XKeyRelease 
XNone 
XRevertToParent 
XGrayScale 
XCursorShape 
XFocusOut 
XFocusIn 
XKeyPress 
XKeyRelease 
XNone 
XRevertToParent 
XGrayScale 
XCursorShape 

Definition at line 19 of file qglxconvenience.cpp.

◆ anonymous enum [2/2]

anonymous enum
Enumerator
XFocusOut 
XFocusIn 
XKeyPress 
XKeyRelease 
XNone 
XRevertToParent 
XGrayScale 
XCursorShape 
XFocusOut 
XFocusIn 
XKeyPress 
XKeyRelease 
XNone 
XRevertToParent 
XGrayScale 
XCursorShape 

Definition at line 19 of file qglxconvenience.cpp.

Function Documentation

◆ qglx_buildSpec()

QT_BEGIN_NAMESPACE QList< int > qglx_buildSpec ( const QSurfaceFormat & format,
int drawableBit,
int flags )

Definition at line 50 of file qglxconvenience.cpp.

◆ qglx_findConfig()

GLXFBConfig qglx_findConfig ( Display * display,
int screen,
QSurfaceFormat format,
bool highestPixelFormat,
int drawableBit,
int flags )

Definition at line 158 of file qglxconvenience.cpp.

◆ qglx_findVisualInfo()

XVisualInfo * qglx_findVisualInfo ( Display * display,
int screen,
QSurfaceFormat * format,
int drawableBit,
int flags )

Definition at line 240 of file qglxconvenience.cpp.

◆ qglx_reduceFormat()

bool qglx_reduceFormat ( QSurfaceFormat * format)

Definition at line 353 of file qglxconvenience.cpp.

◆ qglx_surfaceFormatFromGLXFBConfig()

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

Definition at line 269 of file qglxconvenience.cpp.

◆ qglx_surfaceFormatFromVisualInfo()

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

Definition at line 311 of file qglxconvenience.cpp.