Qt 4.8
|
#include <qmeegopixmapdata.h>
Public Functions | |
QPixmapData * | createCompatiblePixmapData () const |
virtual void | fromEGLSharedImage (Qt::HANDLE handle, const QImage &softImage) |
virtual void | fromImage (const QImage &image, Qt::ImageConversionFlags flags) |
void | fromTexture (GLuint textureId, int w, int h, bool alpha) |
QMeeGoPixmapData () | |
virtual QImage | toImage () const |
virtual void | updateFromSoftImage () |
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 | 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) |
bool | scroll (int dx, int dy, const QRect &rect) |
QGLTexture * | texture () 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 bool | destroyEGLSharedImage (Qt::HANDLE h) |
static Qt::HANDLE | imageToEGLSharedImage (const QImage &image) |
static void | registerSharedImage (Qt::HANDLE handle, const QImage &si) |
Static Public Functions inherited from QPixmapData | |
static QPixmapData * | create (int w, int h, PixelType type) |
Public Variables | |
QImage | softImage |
Static Public Variables | |
static QHash< void *, QMeeGoImageInfo * > | sharedImagesMap |
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 53 of file qmeegopixmapdata.h.
QMeeGoPixmapData::QMeeGoPixmapData | ( | ) |
Definition at line 62 of file qmeegopixmapdata.cpp.
|
virtual |
|
static |
Definition at line 191 of file qmeegopixmapdata.cpp.
Referenced by qt_meego_destroy_egl_shared_image().
|
virtual |
Definition at line 96 of file qmeegopixmapdata.cpp.
Referenced by fromImage(), and QMeeGoGraphicsSystem::pixmapDataFromEGLSharedImage().
|
virtual |
Reimplemented from QGLPixmapData.
Definition at line 79 of file qmeegopixmapdata.cpp.
void QMeeGoPixmapData::fromTexture | ( | GLuint | textureId, |
int | w, | ||
int | h, | ||
bool | alpha | ||
) |
Definition at line 66 of file qmeegopixmapdata.cpp.
Referenced by fromEGLSharedImage().
|
static |
Definition at line 139 of file qmeegopixmapdata.cpp.
Referenced by qt_meego_image_to_egl_shared_image().
|
static |
Definition at line 206 of file qmeegopixmapdata.cpp.
Referenced by fromEGLSharedImage(), and QMeeGoGraphicsSystem::pixmapDataFromEGLSharedImage().
|
virtual |
|
virtual |
Definition at line 180 of file qmeegopixmapdata.cpp.
Referenced by QMeeGoGraphicsSystem::updateEGLSharedImagePixmap().
|
static |
Definition at line 67 of file qmeegopixmapdata.h.
Referenced by QMeeGoGraphicsSystem::createPixmapData(), destroyEGLSharedImage(), fromImage(), and registerSharedImage().
QImage QMeeGoPixmapData::softImage |
Definition at line 65 of file qmeegopixmapdata.h.
Referenced by fromEGLSharedImage(), fromTexture(), toImage(), and updateFromSoftImage().