Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qioscontext.mm File Reference
#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 99 of file qioscontext.mm.

◆ QT_IOS_GL_STATUS_CASE

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

Definition at line 85 of file qioscontext.mm.

Function Documentation

◆ fboStatusString()

static QString fboStatusString ( GLenum  status)
static

Definition at line 87 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"   
)