summaryrefslogtreecommitdiffstats
path: root/src/openvg
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2011-05-10 20:41:09 (GMT)
committerJani Hautakangas <jani.hautakangas@nokia.com>2011-06-09 10:31:54 (GMT)
commit489baff3d49f7acce8d36dd98d27885ca207d6e7 (patch)
treef9b7a0decd67048b52c0513b7665ccd46135a8ce /src/openvg
parent7b0762c17f9899e68c0f67480a81b25c6f0c7dda (diff)
downloadQt-489baff3d49f7acce8d36dd98d27885ca207d6e7.zip
Qt-489baff3d49f7acce8d36dd98d27885ca207d6e7.tar.gz
Qt-489baff3d49f7acce8d36dd98d27885ca207d6e7.tar.bz2
Simplify texture pooling logic in GL graphics system.
Remove ugly TemporarilyCachedBindOption and use QGLTexture objects as texture pool entries instead of QGLPixmapData. Make texture pooling totally Symbian specific, remove VG like texture pooling code and use common texture binding path which is used on other platforms also on Symbian. QGLPixmapData should be only used to bind SgImage based textures (will be implemented by another commit). Task-number: QTBUG-19180 Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/openvg')
-rw-r--r--src/openvg/qpixmapdata_vg_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openvg/qpixmapdata_vg_p.h b/src/openvg/qpixmapdata_vg_p.h
index 901bad9..18846f3 100644
--- a/src/openvg/qpixmapdata_vg_p.h
+++ b/src/openvg/qpixmapdata_vg_p.h
@@ -138,6 +138,7 @@ public:
QSize size() const { return QSize(w, h); }
#if defined(Q_OS_SYMBIAN)
+ QVolatileImage toVolatileImage() const { return source; }
void* toNativeType(NativeType type);
void fromNativeType(void* pixmap, NativeType type);
bool initFromNativeImageHandle(void *handle, const QString &type);