summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2013-08-10 23:17:36 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-14 22:47:19 +0200
commitfe3c34c2595cfbf466d899b5431ee1de03ce52a7 (patch)
tree29a263a4e1492de405a9010dd0d34742d928b5db /src/plugins/platforms/cocoa
parentcb7921a4331c523a9843a2d825ed9e58b24bf26d (diff)
Don't allocate QGlyphLayout data, when possible
...and operate directly on a passed array pointers, without having to copy the input and output data. Calling QFontEngine:: stringToCMap()/recalcAdvances() with partially-constructed QGlyphLayout is completely safe iff `glyphs` and `advances_?` members were initialized. Also get rid of QGlyphLayoutInstance that was used just in a single place and never was really needed. Change-Id: I48fab246fd69fc869f948220a553c3574d93c772 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/plugins/platforms/cocoa')
0 files changed, 0 insertions, 0 deletions