summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorSami Liedes <sami.liedes@iki.fi>2013-07-29 13:40:08 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-18 18:30:43 +0100
commit0e65cec6b4f5ca21f3964a18b4a3f35a32a6762f (patch)
treee8d3901b4ca4ebef77c4db24a095eafcb39e98e5 /src/gui/image
parent18c04d0ab6debceea406a77676913f826a093153 (diff)
Optimize blend_transformed_tiled_argb().
Profiling indicates that this function is one of two hot spots causing a noticeable latency when changing KDE virtual desktops. Instead of computing two modulos per pixel in the inner loop, it is possible to compute the modulos outside the loop and compute a modulo sum in the inner loop for a reasonable speedup. Change-Id: Ic4217b7686e031d7673b3e10aa977dae263096dc Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/gui/image')
0 files changed, 0 insertions, 0 deletions