diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2010-10-08 10:33:42 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2010-10-08 10:33:42 (GMT) |
commit | e086a153c25d3bd5d58d72c34384d8452cb3b3be (patch) | |
tree | 1ec8e8bfa3fc3a99b1285cc863e61ec65a97ee48 /tools/qmeegographicssystemhelper/qmeegoruntime.h | |
parent | a780773292c3a59e1500f5e36c3de729a8f45f1c (diff) | |
parent | 392ecc76cdbcef37ee492400a1b783106a37ad36 (diff) | |
download | Qt-e086a153c25d3bd5d58d72c34384d8452cb3b3be.zip Qt-e086a153c25d3bd5d58d72c34384d8452cb3b3be.tar.gz Qt-e086a153c25d3bd5d58d72c34384d8452cb3b3be.tar.bz2 |
Merge remote branch 'qt/master' into earth/file-engine-refactor
Conflicts:
src/s60installs/bwins/QtGuiu.def
src/s60installs/eabi/QtGuiu.def
Diffstat (limited to 'tools/qmeegographicssystemhelper/qmeegoruntime.h')
-rw-r--r-- | tools/qmeegographicssystemhelper/qmeegoruntime.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/qmeegographicssystemhelper/qmeegoruntime.h b/tools/qmeegographicssystemhelper/qmeegoruntime.h index 82fdb52..048b9be 100644 --- a/tools/qmeegographicssystemhelper/qmeegoruntime.h +++ b/tools/qmeegographicssystemhelper/qmeegoruntime.h @@ -48,13 +48,20 @@ public: static void initialize(); static Qt::HANDLE imageToEGLSharedImage(const QImage &image); - static QPixmap pixmapFromEGLSharedImage(Qt::HANDLE handle, const QImage &softImage); - static QPixmap pixmapWithGLTexture(int w, int h); + static QPixmapData* pixmapDataFromEGLSharedImage(Qt::HANDLE handle, const QImage &softImage); + static QPixmapData* pixmapDataFromEGLImage(Qt::HANDLE handle); + static QPixmapData* pixmapDataWithGLTexture(int w, int h); static bool destroyEGLSharedImage(Qt::HANDLE handle); static void updateEGLSharedImagePixmap(QPixmap *p); static void setSurfaceFixedSize(int w, int h); static void setSurfaceScaling(int x, int y, int w, int h); static void setTranslucent(bool translucent); + static Qt::HANDLE createLiveTexture(int w, int h, QImage::Format format); + static bool lockLiveTexture(Qt::HANDLE h); + static bool unlockLiveTexture(Qt::HANDLE h); + static void destroyLiveTexture(Qt::HANDLE h); + static void queryLiveTexture(Qt::HANDLE h, void **data, int *pitch); + static Qt::HANDLE liveTextureToEGLImage(Qt::HANDLE); private: static bool initialized; |