Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qioscontext.mm File Reference

(a4d968adc05055be0000dc55a5a7f3889b06e676)

#include "qioscontext.h"
#include "qiosintegration.h"
#include "qioswindow.h"
#include <dlfcn.h>
#include <QtGui/QGuiApplication>
#include <QtGui/QOpenGLContext>
import <OpenGLES/EAGL.h>
import <OpenGLES/ES2/glext.h>
import <QuartzCore/CAEAGLLayer.h>
#include "moc_qioscontext.cpp"
+ Include dependency graph for qioscontext.mm:

Go to the source code of this file.

Macros

#define QT_IOS_GL_STATUS_CASE(val)   case val: return QLatin1StringView(#val)
 
#define Q_ASSERT_IS_GL_SURFACE(surface)    Q_ASSERT(surface && (surface->surface()->surfaceType() & (QSurface::OpenGLSurface | QSurface::RasterGLSurface)))
 

Functions

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY (lcQpaGLContext, "qt.qpa.glcontext")
 
static QString fboStatusString (GLenum status)
 

Macro Definition Documentation

◆ Q_ASSERT_IS_GL_SURFACE

#define Q_ASSERT_IS_GL_SURFACE ( surface)     Q_ASSERT(surface && (surface->surface()->surfaceType() & (QSurface::OpenGLSurface | QSurface::RasterGLSurface)))

Definition at line 101 of file qioscontext.mm.

Referenced by QIOSContext::makeCurrent(), and QIOSContext::swapBuffers().

◆ QT_IOS_GL_STATUS_CASE

#define QT_IOS_GL_STATUS_CASE ( val)    case val: return QLatin1StringView(#val)

Definition at line 87 of file qioscontext.mm.

Referenced by fboStatusString().

Function Documentation

◆ fboStatusString()

static QString fboStatusString ( GLenum status)
static

Definition at line 89 of file qioscontext.mm.

References QString::arg(), GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, GL_FRAMEBUFFER_UNSUPPORTED, QStringLiteral, and QT_IOS_GL_STATUS_CASE.

Referenced by QIOSContext::makeCurrent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Q_LOGGING_CATEGORY()

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY ( lcQpaGLContext ,
"qt.qpa.glcontext"  )