summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/codingconventions/myscript.js
diff options
context:
space:
mode:
authorSami Kyöstilä <sami.kyostila@nokia.com>2011-03-31 12:04:47 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-03-31 12:04:47 (GMT)
commita538389b52630ec53734695b8d422c5ec124b0bc (patch)
tree9bf6dd4a3986faca5c559b7edd59fb886c30999b /doc/src/snippets/declarative/codingconventions/myscript.js
parent8abc3cd80fd55c588faffb067ab51feb4b9b6fc5 (diff)
downloadQt-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