summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-12-16 13:21:22 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-12-16 13:33:50 +0100
commit6f9642572c392536c07a52037e4c1de587489c49 (patch)
tree80735031e08ce81e9b60000291aa344d2aefc7aa /doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp
parent14b4c009f9b0b83d16aec9f5b396f97efd49458c (diff)
downloadqt4-tools-6f9642572c392536c07a52037e4c1de587489c49.tar.gz
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 'doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions