diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-28 12:53:01 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-28 14:52:51 (GMT) |
commit | 464d895c9997d35c223899165586f1d3a276f054 (patch) | |
tree | d8050f206dfb934ef4be5713dcf519b212f210e5 /examples | |
parent | d72ba30f29cc641cd3d3ee624bd39e6247bec553 (diff) | |
download | Qt-464d895c9997d35c223899165586f1d3a276f054.zip Qt-464d895c9997d35c223899165586f1d3a276f054.tar.gz Qt-464d895c9997d35c223899165586f1d3a276f054.tar.bz2 |
Small optimizations the gray raster for 64-bit.
The gray raster uses long to ensure having 32-bit integers since it was
originally designed to work on 16-bit platforms as well. On 64-bit
platforms switching to use int instead of long gives a performance boost
of ~10 % or so depending on the use case.
Reviewed-by: Yoann Lopes
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions