Improve QtGui start-up time and memory use.
authorSamuel Rødal <samuel.rodal@nokia.com>
Wed, 2 Nov 2011 16:02:11 +0000 (17:02 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 4 Nov 2011 13:31:25 +0000 (14:31 +0100)
commit171e137d25dccca15b31e6bd01de58776f3d9e94
treef94b10cbaa65b18c32b199b315e0b27763bec534
parent780a03191feb2b5f64de97ad623ad9e0c4f5871a
Improve QtGui start-up time and memory use.

The gamma lookup tables can be allocated and computed on demand, as
they're not always needed, depending on the platform and the use case.

Change-Id: I2d4c2860746366a0e46edb53bd4ecd2778de2464
Reviewed-by: Olivier Goffart <ogoffart@kde.org>
src/gui/image/qimage.cpp
src/gui/painting/qdrawhelper.cpp
src/gui/text/qfontenginedirectwrite.cpp