![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QDebug>#include "qxcbwindow.h"#include "qxcbscreen.h"#include <X11/Xlib.h>#include <X11/Xutil.h>#include <GL/glx.h>#include <QtGui/qguiapplication.h>#include <QtGui/QOpenGLContext>#include <QtGui/QOffscreenSurface>#include "qglxintegration.h"#include <QtGui/private/qglxconvenience_p.h>#include "qxcbglintegration.h"Go to the source code of this file.
Macros | |
| #define | register |
| #define | GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 |
| #define | GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 |
| #define | GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 |
| #define | GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 |
| #define | GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 |
| #define | GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 |
| #define | GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 |
| #define | GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 |
| #define | GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 |
| #define | GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252 |
| #define | GLX_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x20F7 |
Typedefs | |
| typedef const GLubyte *(*) | glGetStringiProc(GLenum, GLuint) |
Functions | |
| static Window | createDummyWindow (Display *dpy, XVisualInfo *visualInfo, int screenNumber, Window rootWin) |
| static Window | createDummyWindow (Display *dpy, GLXFBConfig configconfig, int screenNumber, Window rootWin) |
| static QByteArray | getGlString (GLenum paramparam) |
| static bool | hasGlExtension (const QSurfaceFormat &formatformat, const char *ext) |
| static void | updateFormatFromContext (QSurfaceFormat &formatformat) |
| static QXcbScreen * | screenForPlatformSurface (QPlatformSurface *surface) |
Variables | |
| QT_BEGIN_NAMESPACE typedef GLXContext(*) | glXCreateContextAttribsARBProc (Display *, GLXFBConfig, GLXContext, Bool, const int *) |
| static const char * | qglx_threadedgl_blacklist_renderer [] |
| static const char * | qglx_threadedgl_blacklist_vendor [] |
| #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 |
Definition at line 50 of file qglxintegration.cpp.
| #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 |
Definition at line 66 of file qglxintegration.cpp.
| #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 |
Definition at line 58 of file qglxintegration.cpp.
| #define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 |
Definition at line 38 of file qglxintegration.cpp.
| #define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 |
Definition at line 34 of file qglxintegration.cpp.
| #define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 |
Definition at line 42 of file qglxintegration.cpp.
| #define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 |
Definition at line 46 of file qglxintegration.cpp.
| #define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 |
Definition at line 62 of file qglxintegration.cpp.
| #define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 |
Definition at line 54 of file qglxintegration.cpp.
| #define GLX_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x20F7 |
Definition at line 74 of file qglxintegration.cpp.
| #define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252 |
Definition at line 70 of file qglxintegration.cpp.
| #define register |
Definition at line 10 of file qglxintegration.cpp.
Definition at line 31 of file qglxintegration.cpp.
|
static |
Definition at line 97 of file qglxintegration.cpp.
References createDummyWindow().
Referenced by QGLXContext::QGLXContext().
|
static |
Definition at line 77 of file qglxintegration.cpp.
Referenced by QGLXContext::QGLXContext(), and createDummyWindow().
|
inlinestatic |
Definition at line 107 of file qglxintegration.cpp.
Referenced by updateFormatFromContext().
|
static |
Definition at line 114 of file qglxintegration.cpp.
|
static |
Definition at line 461 of file qglxintegration.cpp.
|
static |
Definition at line 135 of file qglxintegration.cpp.
References getGlString().
| QT_BEGIN_NAMESPACE typedef GLXContext(* glXCreateContextAttribsARBProc)(Display *, GLXFBConfig, GLXContext, Bool, const int *) | ( | Display * | , |
| GLXFBConfig | , | ||
| GLXContext | , | ||
| Bool | , | ||
| const int * | ) |
Definition at line 30 of file qglxintegration.cpp.
|
static |
Definition at line 590 of file qglxintegration.cpp.
Referenced by QGLXContext::queryDummyContext().
|
static |
Definition at line 595 of file qglxintegration.cpp.
Referenced by QGLXContext::queryDummyContext().