Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qcocoaglcontext.mm File Reference
#include <AppKit/AppKit.h>
#include "qcocoaglcontext.h"
#include "qcocoawindow.h"
#include "qcocoahelpers.h"
#include "qcocoascreen.h"
#include <QtCore/private/qcore_mac_p.h>
#include <qdebug.h>
#include <dlfcn.h>
+ Include dependency graph for qcocoaglcontext.mm:

Go to the source code of this file.

Functions

static QByteArray getGlString (GLenum param)
 
QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY (lcQpaOpenGLContext, "qt.qpa.openglcontext", QtWarningMsg)
 
QDebug operator<< (QDebug debug, const QCocoaGLContext *context)
 

Variables

static Q_CONSTINIT QMutex s_reentrancyMutex
 

Function Documentation

◆ getGlString()

static QByteArray getGlString ( GLenum  param)
inlinestatic

Definition at line 16 of file qcocoaglcontext.mm.

◆ operator<<()

QDebug operator<< ( QDebug  debug,
const QCocoaGLContext context 
)

Definition at line 507 of file qcocoaglcontext.mm.

◆ Q_LOGGING_CATEGORY()

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY ( lcQpaOpenGLContext  ,
"qt.qpa.openglcontext"  ,
QtWarningMsg   
)

Variable Documentation

◆ s_reentrancyMutex

Q_CONSTINIT QMutex s_reentrancyMutex
static

Definition at line 420 of file qcocoaglcontext.mm.

Referenced by QCocoaGLContext::swapBuffers(), and QCocoaGLContext::update().