diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-19 23:00:02 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-19 23:00:02 (GMT) |
commit | bbbb62552b1c0f68b960c1412c66b6381e7dd4d1 (patch) | |
tree | 96d670a612de86e854480d403474238fe3e940c1 /tests/auto/qsqldatabase | |
parent | 02c15e6a8cdb0f8a0bb6ee36880877fe90334d69 (diff) | |
download | Qt-bbbb62552b1c0f68b960c1412c66b6381e7dd4d1.zip Qt-bbbb62552b1c0f68b960c1412c66b6381e7dd4d1.tar.gz Qt-bbbb62552b1c0f68b960c1412c66b6381e7dd4d1.tar.bz2 |
Optimize QVGPixmapDropShadowFilter by removing colorize step
Previously, the drop shadow was colorizing the incoming
image and then blurring the colorized version. This change
first blurs the image to an alpha-only VGImage and then uses
that VGImage as a stencil to draw the drop shadow color.
This way, there is only 1 filter step and a draw instead of
2 filter steps and a draw. The result is to make the performance
of the drop shadow filter almost identical to the blur filter.
Reviewed-by: trustme
Diffstat (limited to 'tests/auto/qsqldatabase')
0 files changed, 0 insertions, 0 deletions