diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-04-26 11:40:09 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-06-07 10:41:00 (GMT) |
commit | 0d7e6839172f5feae2c81c5c552f685520504afc (patch) | |
tree | c11f086cd38330e33e30c65de04e941f7cefa5fb /doc/src/snippets/code/src_script_qscriptclass.cpp | |
parent | e55b6a34ea06646e81b559a0605aabc150119565 (diff) | |
download | Qt-0d7e6839172f5feae2c81c5c552f685520504afc.zip Qt-0d7e6839172f5feae2c81c5c552f685520504afc.tar.gz Qt-0d7e6839172f5feae2c81c5c552f685520504afc.tar.bz2 |
qdrawhelper: optimize fetchTransformedBilinear
When scaling down, there is no need to keep 8 bit accurancy on the position
4 bit is enough and should not be noticable for the human eye.
Also optimize the pure scaling if there is no rotation:
when scaling up, do the average between the top and the bottom row
then use this pre-computation later.
Reviewed-by: Samuel
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptclass.cpp')
0 files changed, 0 insertions, 0 deletions