summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicsanchorlayout
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2009-12-10 16:38:30 (GMT)
committerTrond Kjernåsen <trond@trolltech.com>2009-12-10 16:49:29 (GMT)
commitbf9456c5a2d8dfe9a35a2175186630cb426858ad (patch)
tree2430371741ecea3f6c0b27d61887ada433559af0 /tests/auto/qgraphicsanchorlayout
parent6db96dcd4acccbc13161f85adf3164907b7b5cae (diff)
downloadQt-bf9456c5a2d8dfe9a35a2175186630cb426858ad.zip
Qt-bf9456c5a2d8dfe9a35a2175186630cb426858ad.tar.gz
Qt-bf9456c5a2d8dfe9a35a2175186630cb426858ad.tar.bz2
Optimize our GL extension checks to avoid mallocs.
We want to avoid any unnecessary mallocs when checking GL/GLX extensions. The GL extension string can be quite long and contain several hundred extensions. The old code forced one malloc for each extension + 1 extra malloc for the extension string itself when it was copied into the QByteArray. Reviewed-by: Kim
Diffstat (limited to 'tests/auto/qgraphicsanchorlayout')
0 files changed, 0 insertions, 0 deletions