summaryrefslogtreecommitdiffstats
path: root/tools/configure
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-09-08 16:53:16 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-09-14 09:30:09 +0000
commit65efeb6f9d0e447df4e0b5b2e4d64954ddd2fdfa (patch)
tree3ba3648652f06c8c3686e4ae404cd40915225f1f /tools/configure
parent6272e8829656c3f13323b83ae1b315aaace783d5 (diff)
QImage: Inline constScanLine call in pixel()
Calling constScanLine() is an extra function call, just for doing "data + y * width". Also, we are checking d again, even though we already know it's there. The constScanLine() call is responsible for up to 15% of the total CPU time spent in pixel(). Change-Id: Ia7a8e0a6d62fb257d1b22d91f062b66e9cfd349a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'tools/configure')
0 files changed, 0 insertions, 0 deletions