summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-04-13 08:15:06 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-04-13 08:17:18 (GMT)
commit5b74a70ac630073582be56f8a0539624a1080185 (patch)
tree14a73dd71ac328cf27d20e4fc9553fa692952180 /src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
parent26bd3dccdee8c6a8f1cf9d254a2a6be7d403aa8d (diff)
downloadQt-5b74a70ac630073582be56f8a0539624a1080185.zip
Qt-5b74a70ac630073582be56f8a0539624a1080185.tar.gz
Qt-5b74a70ac630073582be56f8a0539624a1080185.tar.bz2
Improved gradient table generation performance for two-stop gradients.
Two stops is a fairly common case so we gain quite a bit by special casing it. Improves performance by 10 % in parcycle benchmark, and by 90 % in a synthetic benchmark. Reviewed-by: Andreas Kling
Diffstat (limited to 'src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp')
0 files changed, 0 insertions, 0 deletions