5802
FormatOption
This enum specifies the format options that can be used to configure an OpenGL context.
Q_CORE_EXPORT QByteArray qgetenv(const char *varName)
Q_OPENGL_EXPORT void setPreferredPaintEngine(QPaintEngine::Type engineType)
Sets the preferred OpenGL paint engine that is used to draw onto QGLWidget, QGLPixelBuffer and QGLFra...
static Q_OPENGL_EXPORT QGLExtensionFuncs qt_extensionFuncs
bool startsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string starts with s; otherwise returns false.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
QPaintEngine::Type preferredPaintEngine()
bool ref()
Atomically increments the value of this QAtomicInt.
The QString class provides a Unicode character string.
void setPreferredPaintEngine(QPaintEngine::Type type)
QPaintEngine::Type engineType
static const QGLContext * currentContext()
Returns the current context, i.e.
static QThread * currentThread()
Returns a pointer to a QThread which manages the currently executing thread.
const Q_GUI_EXPORT QX11Info * qt_x11Info(const QPaintDevice *pd)
Returns the QX11Info structure for the pd paint device.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static bool isEmpty(const char *str)
The QGLContext class encapsulates an OpenGL rendering context.
#define Q_GLOBAL_STATIC(TYPE, NAME)
Declares a global static variable with the given type and name.
The QStringList class provides a list of strings.
Q_CORE_EXPORT void qWarning(const char *,...)
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
void moveToThread(QThread *thread)
Changes the thread affinity for this object and its children.
The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a g...
bool qt_gl_preferGL2Engine()
static GLint qgluProject(GLdouble objx, GLdouble objy, GLdouble objz, const GLdouble model[16], const GLdouble proj[16], const GLint viewport[4], GLdouble *winx, GLdouble *winy, GLdouble *winz)
The QX11Info class provides information about the X display configuration.
static QThreadStorage< QGLThreadContext * > qgl_context_storage
virtual void doneCurrent()
Makes no GL context the current context.
int size() const
Returns the number of items in the list.
#define Q_AUTOTEST_EXPORT
static Extensions glExtensions()
QStringList split(const QString &sep, SplitBehavior behavior=KeepEmptyParts, Qt::CaseSensitivity cs=Qt::CaseSensitive) const Q_REQUIRED_RESULT
Splits the string into substrings wherever sep occurs, and returns the list of those strings...
QThread * thread() const
Returns the thread in which the object lives.
static void transform_point(GLdouble out[4], const GLdouble m[16], const GLdouble in[4])
The QThreadStorage class provides per-thread data storage.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
QGLFormat::OpenGLVersionFlags Q_AUTOTEST_EXPORT qOpenGLVersionFlagsFromString(const QString &versionString)