diff options
author | Trond Kjernåsen <trond.kjernasen@nokia.com> | 2010-09-21 15:08:09 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-09-23 02:00:14 (GMT) |
commit | 50ab865141b97b91ebbeeae9445a4296f378882a (patch) | |
tree | e68503071e33415f92725b801a217e8b2b1b0f6f /doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp | |
parent | 223ef193ff9d333cbd43f8c10e2e7d7612748180 (diff) | |
download | Qt-50ab865141b97b91ebbeeae9445a4296f378882a.zip Qt-50ab865141b97b91ebbeeae9445a4296f378882a.tar.gz Qt-50ab865141b97b91ebbeeae9445a4296f378882a.tar.bz2 |
Fixed drawing a large number of glyphs with the same font under GL.
Our glyph caching system doesn't take GL texture size limitation into
account, and assumes you can create an infinitely large texture.
On top of that, the cache will never create a cache that is wider
than 256, or QT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH, which means we'll
hit the texture size limit even faster. With this patch the entire
texture is utilized. However, to fix in properly we need to support
having multiple texture for each font engine. That will be fixed
shortly (see task QTBUG-13784).
Task-number: QT-3971
Reviewed-by: Eskil
(cherry picked from commit eb2926a2f9607e985b8bca54346e6fdf91343247)
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp')
0 files changed, 0 insertions, 0 deletions