diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-09-08 16:36:50 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-09-11 09:12:47 +0000 |
commit | 2e8bec9e4b8d229ad9f5f73d2362f21c13599816 (patch) | |
tree | d4cc9135f017e78d0c5a34700ccff4147f009b93 /src/android | |
parent | 15b42af11123f9d1eb4bbd79870185585103ea8d (diff) |
QImage: Use d->height directly for checking dimensions on pixel()
Calling height() causes an additional function call and check for d
which sums up to more than 25% of the total CPU cost of pixel() if
the format is simple.
Change-Id: I449a3a17dc031e607e40dc1577a5553e7490de76
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/android')
0 files changed, 0 insertions, 0 deletions