diff options
author | Sami Kyöstilä <sami.kyostila@nokia.com> | 2011-03-31 12:04:47 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-31 12:04:47 (GMT) |
commit | a538389b52630ec53734695b8d422c5ec124b0bc (patch) | |
tree | 9bf6dd4a3986faca5c559b7edd59fb886c30999b /doc/src/snippets/declarative/codingconventions/myscript.js | |
parent | 8abc3cd80fd55c588faffb067ab51feb4b9b6fc5 (diff) | |
download | Qt-a538389b52630ec53734695b8d422c5ec124b0bc.zip Qt-a538389b52630ec53734695b8d422c5ec124b0bc.tar.gz Qt-a538389b52630ec53734695b8d422c5ec124b0bc.tar.bz2 |
opengl2: Make maximum cached glyph size configurable
As the DPI of displays continues to rise, especially on mobile devices,
the maximum glyph size of 64 pixels for the glyph cache has become a
limitation. This problem is made worse by the fact that when the maximum
glyph size is exceeded, the OpenGL paint engine falls back to using
rasterized geometry for glyph rendering. This does not produce
acceptable quality if the OpenGL rendering surface lacks support for
multisampling.
This patch offers a solution to the problem by making the
cached glyph size configurable at build time. This way the limit can be
set according to the capabilities of the target hardware.
Signed-off-by: Sami Kyöstilä <sami.kyostila@nokia.com>
Merge-request: 1131
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'doc/src/snippets/declarative/codingconventions/myscript.js')
0 files changed, 0 insertions, 0 deletions