diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-12-30 08:48:35 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-12-30 12:48:35 (GMT) |
commit | 16b41824dceb1cecfe54089d88af787af134af8a (patch) | |
tree | 50bb85f5b536eb2f7e49d4c05e3d5bc87cbb297c /doc/src/snippets/code/src_script_qscriptvalue.cpp | |
parent | 1f1b37e613a930cc1ab871f5d11bf9742920c7f9 (diff) | |
download | Qt-16b41824dceb1cecfe54089d88af787af134af8a.zip Qt-16b41824dceb1cecfe54089d88af787af134af8a.tar.gz Qt-16b41824dceb1cecfe54089d88af787af134af8a.tar.bz2 |
Remove superfluous enable/disable vertex arrtib arrays
Now that the shader manager takes care of enabling/disabling the
vertex attribute arrays for us, the GL2 paint engine doesn't have
to do it. This reduces GL state changes within the paint engine
and provides significant performance improvements. For a given test
case (25,000 3x3px solid rects), the improvement is 67% on desktop
(nVidia) and 9% on embedded (SGX).
Reviewed-By: Kim
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptvalue.cpp')
0 files changed, 0 insertions, 0 deletions