Qt 4.8
Classes | Functions
qpixmapdata_x11gl_egl.cpp File Reference
#include <QDebug>
#include <QtGui/private/qt_x11_p.h>
#include <QtGui/private/qegl_p.h>
#include <QtGui/private/qeglproperties_p.h>
#include <QtGui/private/qeglcontext_p.h>
#include <QtOpenGL/private/qpaintengineex_opengl2_p.h>
#include <QtOpenGL/private/qpaintengine_opengl_p.h>
#include <QtOpenGL/private/qgl_p.h>
#include <QtOpenGL/private/qgl_egl_p.h>
#include "qpixmapdata_x11gl_p.h"

Go to the source code of this file.

Classes

class  QX11GLSharedContexts
 

Functions

 Q_GLOBAL_STATIC_WITH_INITIALIZER (QX11GLSharedContexts, qt_x11gl_share_contexts, { qAddPostRoutine(qt_cleanup_x11gl_share_contexts);}) static void qt_cleanup_x11gl_share_contexts()
 
static void qt_cleanup_x11gl_share_contexts ()
 

Function Documentation

◆ Q_GLOBAL_STATIC_WITH_INITIALIZER()

Q_GLOBAL_STATIC_WITH_INITIALIZER ( QX11GLSharedContexts  ,
qt_x11gl_share_contexts  ,
{ qAddPostRoutine(qt_cleanup_x11gl_share_contexts);}   
)

Definition at line 204 of file qpixmapdata_x11gl_egl.cpp.

205  {
207  })
208 
210 {
211  qt_x11gl_share_contexts()->cleanup();
212 }
void qAddPostRoutine(QtCleanUpFunction ptr)
Adds a global routine that will be called from the QApplication destructor.
static void qt_cleanup_x11gl_share_contexts()

◆ qt_cleanup_x11gl_share_contexts()

static void qt_cleanup_x11gl_share_contexts ( )
static