Simplify texture pooling logic in GL graphics system.
authorJani Hautakangas <jani.hautakangas@nokia.com>
Tue, 10 May 2011 20:41:09 +0000 (23:41 +0300)
committerJani Hautakangas <jani.hautakangas@nokia.com>
Thu, 9 Jun 2011 10:31:54 +0000 (13:31 +0300)
commit489baff3d49f7acce8d36dd98d27885ca207d6e7
treef9b7a0decd67048b52c0513b7665ccd46135a8ce
parent7b0762c17f9899e68c0f67480a81b25c6f0c7dda
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
14 files changed:
src/gui/image/qpixmapdata_p.h
src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
src/opengl/opengl.pro
src/opengl/qgl.cpp
src/opengl/qgl.h
src/opengl/qgl_p.h
src/opengl/qgltexturepool.cpp
src/opengl/qgltexturepool_p.h
src/opengl/qgraphicssystem_gl.cpp
src/opengl/qpixmapdata_gl_p.h
src/opengl/qpixmapdata_poolgl.cpp [deleted file]
src/opengl/qpixmapdata_symbiangl.cpp [new file with mode: 0644]
src/opengl/qwindowsurface_gl.cpp
src/openvg/qpixmapdata_vg_p.h