Qt 4.8
|
#include <QtGui/QApplication>
#include <QtGui/QColormap>
#include <QtGui/QDesktopWidget>
#include <QtGui/QPaintDevice>
#include <QtGui/QWidget>
#include <qglframebufferobject.h>
#include <qglpixelbuffer.h>
#include <qcolormap.h>
#include <qdesktopwidget.h>
#include <private/qwidget_p.h>
#include "qdebug.h"
#include <private/qt_x11_p.h>
#include <qx11info_x11.h>
#include <GL/glx.h>
#include <X11/Xlib.h>
#include <private/qglextensions_p.h>
#include <private/qwindowsurface_gl_p.h>
#include <private/qgl_p.h>
#include <private/qglpixelbuffer_p.h>
#include <private/qgraphicssystem_gl_p.h>
#include <private/qpaintengineex_opengl2_p.h>
#include <private/qpixmapdata_gl_p.h>
#include <private/qpaintengine_opengl_p.h>
#include <private/qeglcontext_p.h>
Go to the source code of this file.
Classes | |
class | QGLGlobalShareWidget |
struct | QGLWindowSurfacePrivate |
Macros | |
#define | GLX_SAMPLE_BUFFERS_ARB 100000 |
#define | GLX_SAMPLES_ARB 100001 |
Functions | |
static void | blitTexture (QGLContext *ctx, GLuint texture, const QSize &viewport, const QSize &texSize, const QRect &targetRect, const QRect &sourceRect) |
static void | drawTexture (const QRectF &rect, GLuint tex_id, const QSize &texSize, const QRectF &src=QRectF()) |
Q_GLOBAL_STATIC_WITH_INITIALIZER (QGLGlobalShareWidget, _qt_gl_share_widget, { qAddPostRoutine(qt_cleanup_gl_share_widget);}) static void qt_cleanup_gl_share_widget() | |
static void | qt_cleanup_gl_share_widget () |
void | qt_destroy_gl_share_widget () |
const QGLContext * | qt_gl_share_context () |
QGLWidget * | qt_gl_share_widget () |
bool | qt_initializing_gl_share_widget () |
Variables | |
Q_GUI_EXPORT bool | qt_win_owndc_required |
#define GLX_SAMPLE_BUFFERS_ARB 100000 |
Definition at line 81 of file qwindowsurface_gl.cpp.
Referenced by QGLGraphicsSystem::QGLGraphicsSystem().
#define GLX_SAMPLES_ARB 100001 |
Definition at line 82 of file qwindowsurface_gl.cpp.
Referenced by QGLGraphicsSystem::QGLGraphicsSystem().
|
static |
Definition at line 548 of file qwindowsurface_gl.cpp.
Referenced by QGLWindowSurface::flush().
|
static |
Definition at line 1092 of file qwindowsurface_gl.cpp.
Referenced by blitTexture(), QGLWindowSurface::flush(), QGLWindowSurface::paintDevice(), QGL2PaintEngineExPrivate::QGL2PaintEngineExPrivate(), and QGLWindowSurface::scroll().
Q_GLOBAL_STATIC_WITH_INITIALIZER | ( | QGLGlobalShareWidget | , |
_qt_gl_share_widget | , | ||
{ qAddPostRoutine(qt_cleanup_gl_share_widget);} | |||
) |
Definition at line 253 of file qwindowsurface_gl.cpp.
|
static |
Referenced by Q_GLOBAL_STATIC_WITH_INITIALIZER().
void qt_destroy_gl_share_widget | ( | ) |
Definition at line 271 of file qwindowsurface_gl.cpp.
Referenced by QGLWindowSurface::~QGLWindowSurface(), and QMeeGoGraphicsSystem::~QMeeGoGraphicsSystem().
const QGLContext* qt_gl_share_context | ( | ) |
Definition at line 284 of file qwindowsurface_gl.cpp.
Referenced by QGLPixmapData::copy(), QGLPixmapData::copyBackFromRenderFbo(), QGLPixmapData::createPixmapForImage(), QGLPixmapData::ensureCreated(), QGLPixmapData::fromData(), QGLPixmapData::fromFile(), QGLWindowSurface::hijackWindow(), QGLPixmapData::isValidContext(), QGLPixmapData::paintEngine(), QGLPixmapData::resize(), QGLPixmapData::toImage(), QGLPixmapData::~QGLPixmapData(), and QGLWindowSurface::~QGLWindowSurface().
QGLWidget* qt_gl_share_widget | ( | ) |
Definition at line 264 of file qwindowsurface_gl.cpp.
Referenced by QMeeGoGraphicsSystemSwitchHandler::addWidget(), QMeeGoGraphicsSystem::createFenceSync(), QMeeGoGraphicsSystem::createWindowSurface(), QMeeGoPixmapData::destroyEGLSharedImage(), QMeeGoGraphicsSystem::destroyFenceSync(), QMeeGoPixmapData::fromEGLSharedImage(), QMeeGoPixmapData::imageToEGLSharedImage(), QMeeGoLivePixmapData::initializeThroughEGLImage(), QMeeGoLivePixmapData::lock(), QGLPixmapData::paintEngine(), qt_gl_share_context(), QMeeGoLivePixmapData::release(), QGLWindowSurface::updateGeometry(), and QGLWindowSurface::~QGLWindowSurface().
bool qt_initializing_gl_share_widget | ( | ) |
Definition at line 277 of file qwindowsurface_gl.cpp.
Referenced by QGLWidgetPrivate::QGLWidgetPrivate().
Q_GUI_EXPORT bool qt_win_owndc_required |
Definition at line 242 of file qapplication_win.cpp.
Referenced by QGLGraphicsSystem::QGLGraphicsSystem(), qt_init(), and qt_reg_winclass().