diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-04-13 08:15:06 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-04-13 08:17:18 (GMT) |
commit | 5b74a70ac630073582be56f8a0539624a1080185 (patch) | |
tree | 14a73dd71ac328cf27d20e4fc9553fa692952180 /src/opengl/gl2paintengineex | |
parent | 26bd3dccdee8c6a8f1cf9d254a2a6be7d403aa8d (diff) | |
download | Qt-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')
0 files changed, 0 insertions, 0 deletions