Qt 4.8
|
#include <qmeegolivepixmapdata.h>
Public Functions | |
QPixmapData * | createCompatiblePixmapData () const |
void | destroySurfaceForPixmapData (QPixmapData *pmd) |
EGLSurface | getSurfaceForBackingPixmap () |
Qt::HANDLE | handle () |
void | initializeThroughEGLImage () |
QImage * | lock (EGLSyncKHR fenceSync) |
QMeeGoLivePixmapData (int w, int h, QImage::Format format) | |
QMeeGoLivePixmapData (Qt::HANDLE h) | |
bool | release (QImage *img) |
bool | scroll (int dx, int dy, const QRect &rect) |
~QMeeGoLivePixmapData () | |
Public Functions inherited from QGLPixmapData | |
GLuint | bind (bool copyBack=true) const |
void | copy (const QPixmapData *data, const QRect &rect) |
void | fill (const QColor &color) |
bool | fromData (const uchar *buffer, uint len, const char *format, Qt::ImageConversionFlags flags) |
bool | fromFile (const QString &filename, const char *format, Qt::ImageConversionFlags flags) |
void | fromImage (const QImage &image, Qt::ImageConversionFlags flags) |
void | fromImageReader (QImageReader *imageReader, Qt::ImageConversionFlags flags) |
QGLPaintDevice * | glDevice () const |
bool | hasAlphaChannel () const |
bool | isValidContext (const QGLContext *ctx) const |
int | metric (QPaintDevice::PaintDeviceMetric metric) const |
QPaintEngine * | paintEngine () const |
QGLPixmapData (PixelType type) | |
void | resize (int width, int height) |
QGLTexture * | texture () const |
QImage | toImage () const |
~QGLPixmapData () | |
Public Functions inherited from QPixmapData | |
virtual QPixmap | alphaChannel () const |
virtual QImage * | buffer () |
qint64 | cacheKey () const |
ClassId | classId () const |
int | colorCount () const |
int | depth () const |
int | height () const |
bool | isNull () const |
virtual QBitmap | mask () const |
QT_DEPRECATED int | numColors () const |
PixelType | pixelType () const |
QPixmapData (PixelType pixelType, int classId) | |
virtual QPixmapData * | runtimeData () const |
int | serialNumber () const |
virtual void | setAlphaChannel (const QPixmap &alphaChannel) |
virtual void | setMask (const QBitmap &mask) |
virtual QImage | toImage (const QRect &rect) const |
virtual QPixmap | transformed (const QTransform &matrix, Qt::TransformationMode mode) const |
int | width () const |
virtual | ~QPixmapData () |
Static Public Functions | |
static void | invalidateSurfaces () |
Static Public Functions inherited from QPixmapData | |
static QPixmapData * | create (int w, int h, PixelType type) |
Public Variables | |
QPixmap * | backingX11Pixmap |
QImage | lockedImage |
QMeeGoLivePixmapDataList::Iterator | pos |
Additional Inherited Members | |
Public Types inherited from QPixmapData | |
enum | ClassId { RasterClass, X11Class, MacClass, DirectFBClass, OpenGLClass, OpenVGClass, RuntimeClass, BlitterClass, CustomClass = 1024 } |
enum | PixelType { PixmapType, BitmapType } |
Protected Functions inherited from QPixmapData | |
void | setSerialNumber (int serNo) |
Protected Variables inherited from QPixmapData | |
int | d |
int | h |
bool | is_null |
int | w |
Definition at line 52 of file qmeegolivepixmapdata.h.
QMeeGoLivePixmapData::QMeeGoLivePixmapData | ( | int | w, |
int | h, | ||
QImage::Format | format | ||
) |
Definition at line 115 of file qmeegolivepixmapdata.cpp.
QMeeGoLivePixmapData::QMeeGoLivePixmapData | ( | Qt::HANDLE | h | ) |
Definition at line 127 of file qmeegolivepixmapdata.cpp.
QMeeGoLivePixmapData::~QMeeGoLivePixmapData | ( | ) |
Definition at line 135 of file qmeegolivepixmapdata.cpp.
|
virtual |
Reimplemented from QGLPixmapData.
Definition at line 177 of file qmeegolivepixmapdata.cpp.
void QMeeGoLivePixmapData::destroySurfaceForPixmapData | ( | QPixmapData * | pmd | ) |
Definition at line 306 of file qmeegolivepixmapdata.cpp.
Referenced by getSurfaceForBackingPixmap().
EGLSurface QMeeGoLivePixmapData::getSurfaceForBackingPixmap | ( | ) |
Definition at line 266 of file qmeegolivepixmapdata.cpp.
Referenced by lock(), and release().
Qt::HANDLE QMeeGoLivePixmapData::handle | ( | ) |
Definition at line 250 of file qmeegolivepixmapdata.cpp.
Referenced by QMeeGoGraphicsSystem::getLiveTextureHandle().
void QMeeGoLivePixmapData::initializeThroughEGLImage | ( | ) |
Definition at line 141 of file qmeegolivepixmapdata.cpp.
Referenced by getSurfaceForBackingPixmap(), and QMeeGoLivePixmapData().
|
static |
Definition at line 316 of file qmeegolivepixmapdata.cpp.
Referenced by qt_meego_invalidate_live_surfaces(), and QMeeGoGraphicsSystem::switchToRaster().
QImage * QMeeGoLivePixmapData::lock | ( | EGLSyncKHR | fenceSync | ) |
Definition at line 183 of file qmeegolivepixmapdata.cpp.
Referenced by QMeeGoGraphicsSystem::lockLiveTexture(), and scroll().
bool QMeeGoLivePixmapData::release | ( | QImage * | img | ) |
Definition at line 236 of file qmeegolivepixmapdata.cpp.
Referenced by QMeeGoGraphicsSystem::releaseLiveTexture(), and scroll().
|
virtual |
Reimplemented from QGLPixmapData.
Definition at line 255 of file qmeegolivepixmapdata.cpp.
QPixmap* QMeeGoLivePixmapData::backingX11Pixmap |
Definition at line 71 of file qmeegolivepixmapdata.h.
Referenced by getSurfaceForBackingPixmap(), handle(), initializeThroughEGLImage(), invalidateSurfaces(), lock(), QMeeGoLivePixmapData(), and ~QMeeGoLivePixmapData().
QImage QMeeGoLivePixmapData::lockedImage |
Definition at line 72 of file qmeegolivepixmapdata.h.
QMeeGoLivePixmapDataList::Iterator QMeeGoLivePixmapData::pos |
Definition at line 73 of file qmeegolivepixmapdata.h.
Referenced by QMeeGoLivePixmapData(), and ~QMeeGoLivePixmapData().