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
qeglfsintegration.cpp File Reference

(b09a70ce614faa8b0beaa86af2acb9b10a25aac8)

#include <QtCore/qtextstream.h>
#include <QtGui/private/qguiapplication_p.h>
#include <qpa/qplatformwindow.h>
#include <QtGui/QSurfaceFormat>
#include <QtGui/QScreen>
#include <QtGui/QOpenGLContext>
#include <QtGui/QOffscreenSurface>
#include <QtGui/QWindow>
#include <QtCore/QLoggingCategory>
#include <qpa/qwindowsysteminterface.h>
#include <qpa/qplatforminputcontextfactory_p.h>
#include "qeglfsintegration_p.h"
#include "qeglfswindow_p.h"
#include "qeglfshooks_p.h"
#include "qeglfscontext_p.h"
#include "qeglfscursor_p.h"
#include "qeglfsoffscreenwindow_p.h"
#include <QtGui/private/qeglconvenience_p.h>
#include <QtGui/private/qeglplatformcontext_p.h>
#include <QtGui/private/qeglpbuffer_p.h>
#include <QtGui/private/qgenericunixfontdatabase_p.h>
#include <QtGui/private/qgenericunixservices_p.h>
#include <QtGui/private/qgenericunixthemes_p.h>
#include <QtGui/private/qgenericunixeventdispatcher_p.h>
#include <QtFbSupport/private/qfbvthandler_p.h>
#include <QtOpenGL/private/qopenglcompositorbackingstore_p.h>
+ Include dependency graph for qeglfsintegration.cpp:

Go to the source code of this file.

Enumerations

enum  ResourceType {
  EglDisplay , EglWindow , EglContext , EglConfig ,
  NativeDisplay , XlibDisplay , WaylandDisplay , EglSurface ,
  VkSurface
}
 

Functions

static void initResources ()
 
static int resourceType (const QByteArray &key)
 
static voideglContextForContext (QOpenGLContext *context)
 

Enumeration Type Documentation

◆ ResourceType

Enumerator
EglDisplay 
EglWindow 
EglContext 
EglConfig 
NativeDisplay 
XlibDisplay 
WaylandDisplay 
EglSurface 
VkSurface 

Definition at line 239 of file qeglfsintegration.cpp.

Function Documentation

◆ eglContextForContext()

static void * eglContextForContext ( QOpenGLContext * context)
static

Definition at line 362 of file qeglfsintegration.cpp.

References context, QEGLPlatformContext::eglContext(), and Q_ASSERT.

Referenced by QEglFSIntegration::nativeResourceFunctionForContext().

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

◆ initResources()

static void initResources ( )
static

Definition at line 61 of file qeglfsintegration.cpp.

References cursor, and Q_INIT_RESOURCE.

◆ resourceType()