summaryrefslogtreecommitdiffstats
path: root/tests/auto/qheaderview
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-09-21 14:23:49 +1000
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-09-21 14:49:02 +1000
commit1e284a2970efdbf32b61db3cfb207eebf7f33d14 (patch)
tree88cbd7a042dae8e2a8647ab2b491bd430fe9d207 /tests/auto/qheaderview
parent8db9f834e604c3a9eda8f76eacad2a9af20dbd33 (diff)
Performance: reduce overhead of updateMatrix() in GL2 paint engine
The original code was performing 40 floating-point multiplications, 40 additions, and 2 divisions every time the matrix was changed. Because most of the components in the orthographic projection matrix are trivial, we can implement the same transformation with only 6 multiplications, 6 additions, and 2 divisions. Reviewed-by: Sarah Smith
Diffstat (limited to 'tests/auto/qheaderview')
0 files changed, 0 insertions, 0 deletions