summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglscreen_qws.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-12-16 12:21:22 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-12-16 12:33:50 (GMT)
commit6f9642572c392536c07a52037e4c1de587489c49 (patch)
tree80735031e08ce81e9b60000291aa344d2aefc7aa /src/opengl/qglscreen_qws.cpp
parent14b4c009f9b0b83d16aec9f5b396f97efd49458c (diff)
downloadQt-6f9642572c392536c07a52037e4c1de587489c49.zip
Qt-6f9642572c392536c07a52037e4c1de587489c49.tar.gz
Qt-6f9642572c392536c07a52037e4c1de587489c49.tar.bz2
Add work around for bug when painting w/glTexSubImage into large texture
It seems that copying small rectangles from glTexSubImage2D into a texture which is 2048x2048 is busted on some SGX drivers, even though the driver reports 2048 as the maximum texture size. This caused text to turn into flickering garbage once the texture glyph cache had grown to its max size (e.g. when painting very many Chinese glyphs.) To work around the problem, we hardcore the maximum texture height to 1024 on this driver so that the texture glyph cache is reset whenever that size is exceeded. Task-number: QT-3971 Done-with: Samuel
Diffstat (limited to 'src/opengl/qglscreen_qws.cpp')
0 files changed, 0 insertions, 0 deletions