Qt 4.8
|
#include "qpixmap.h"
#include "qglframebufferobject.h"
#include <private/qpaintengine_raster_p.h>
#include "qpixmapdata_gl_p.h"
#include <private/qgl_p.h>
#include <private/qdrawhelper_p.h>
#include <private/qimage_p.h>
#include <private/qfont_p.h>
#include <private/qpaintengineex_opengl2_p.h>
#include <qdesktopwidget.h>
#include <qfile.h>
#include <qimagereader.h>
#include <qbuffer.h>
Go to the source code of this file.
Classes | |
struct | TextureBuffer |
Functions | |
static int | areaDiff (const QSize &size, const QGLFramebufferObject *fbo) |
static QSize | maybeRoundToNextPowerOfTwo (const QSize &sz) |
QGLFramebufferObjectPool * | qgl_fbo_pool () |
QRgb | qt_gl_convertToGLFormat (QRgb src_pixel, GLenum texture_format) |
QImage | qt_gl_read_texture (const QSize &size, bool alpha_format, bool include_alpha) |
Q_OPENGL_EXPORT const QGLContext * | qt_gl_share_context () |
int | qt_next_power_of_two (int v) |
Variables | |
static int | qt_gl_pixmap_serial = 0 |
|
inlinestatic |
Definition at line 81 of file qpixmapdata_gl.cpp.
Referenced by QGLFramebufferObjectPool::acquire().
Definition at line 88 of file qpixmapdata_gl.cpp.
Referenced by QGLFramebufferObjectPool::acquire().
QGLFramebufferObjectPool* qgl_fbo_pool | ( | ) |
Definition at line 663 of file qpixmapdata_gl.cpp.
Referenced by QGLPixmapGLPaintDevice::endPaint(), QGLWindowSurface::flush(), and QGLPixmapData::paintEngine().
Definition at line 2281 of file qgl.cpp.
Referenced by QGLPixmapData::bind(), and QGLPixmapData::paintEngine().
Definition at line 1871 of file qgl.cpp.
Referenced by QGLPixmapData::fillImage(), and QGLPixmapData::toImage().
Q_OPENGL_EXPORT 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().
int qt_next_power_of_two | ( | int | v | ) |
Definition at line 1886 of file qgl.cpp.
Referenced by areaDiff(), and maybeRoundToNextPowerOfTwo().
|
static |
Definition at line 252 of file qpixmapdata_gl.cpp.
Referenced by QGLPixmapData::createPixmapForImage(), QGLPixmapData::QGLPixmapData(), and QGLPixmapData::resize().