diff options
author | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-02-09 08:11:45 (GMT) |
---|---|---|
committer | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-02-25 13:36:47 (GMT) |
commit | 1b71e4082fcb1f3b112cc786ef577e0bf8cffa4c (patch) | |
tree | 00b3c34eaba21e190ed51ed74b6c69d99f0f3420 /src/opengl/qpixmapdata_gl_p.h | |
parent | 01dcf4ca11c38df20c0948357383ff22ecd29035 (diff) | |
download | Qt-1b71e4082fcb1f3b112cc786ef577e0bf8cffa4c.zip Qt-1b71e4082fcb1f3b112cc786ef577e0bf8cffa4c.tar.gz Qt-1b71e4082fcb1f3b112cc786ef577e0bf8cffa4c.tar.bz2 |
QPixmap::to/fromSymbianCFbsBitmap() in OpenGL graphics system.
Implementation of Symbian specific conversion functions for
converting Symbian native bitmap to QPixmap and QPixmap to
Symbian native bitmap.
Task-number: QTBUG-16977
Reviewed-by: Jason Barron
Diffstat (limited to 'src/opengl/qpixmapdata_gl_p.h')
-rw-r--r-- | src/opengl/qpixmapdata_gl_p.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/opengl/qpixmapdata_gl_p.h b/src/opengl/qpixmapdata_gl_p.h index 96631e6..a4066fd 100644 --- a/src/opengl/qpixmapdata_gl_p.h +++ b/src/opengl/qpixmapdata_gl_p.h @@ -129,6 +129,11 @@ public: GLuint bind(bool copyBack = true) const; QGLTexture *texture() const; +#if defined(Q_OS_SYMBIAN) + void* toNativeType(NativeType type); + void fromNativeType(void* pixmap, NativeType type); +#endif + private: bool isValid() const; |