summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2010-05-07 09:05:10 (GMT)
committerGunnar Sletta <gunnar.sletta@nokia.com>2010-05-07 09:08:08 (GMT)
commite5233c4fd9a6f80ec5251cb847d08d7a088301a2 (patch)
tree2d8bda638a74286618df4cd7b3c1ea225805831c /tests/auto
parentf380ab3106cb6d39087adacd77f618184f6f90c3 (diff)
downloadQt-e5233c4fd9a6f80ec5251cb847d08d7a088301a2.zip
Qt-e5233c4fd9a6f80ec5251cb847d08d7a088301a2.tar.gz
Qt-e5233c4fd9a6f80ec5251cb847d08d7a088301a2.tar.bz2
Fix textdrawing under GL on N900.
The driver in the N900 doesn't support glCopyTexSubImage or glReadPixels for FBO's that have a GL_ALPHA or POT color attachment. The ifdef'ed code in resize() was a previous attempt to make this work which didn't. We could have changed the texture to be GL_RGBA and changed the texture size to be NPOT, but that would have wasted precious GPU memory and would have been slower, so we waste a bit of system memory instead, by having a QImage copy along with the texture. Reviewed-by: Eskil Reviewed-by: Trond
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions