summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglshaderprogram.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-09-14 09:19:41 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-09-14 09:20:31 (GMT)
commit75426b7cd200a502d3a0b821c49ef3f1ea3029d2 (patch)
treeda27844333365a96fcaf879a43c4e4beec8c4bf3 /src/opengl/qglshaderprogram.cpp
parent24334c206e0611c2a8c5ef7265b96465c9459939 (diff)
downloadQt-75426b7cd200a502d3a0b821c49ef3f1ea3029d2.zip
Qt-75426b7cd200a502d3a0b821c49ef3f1ea3029d2.tar.gz
Qt-75426b7cd200a502d3a0b821c49ef3f1ea3029d2.tar.bz2
Some small optimizations to gl2 engine.
Use qpen_ and qbrush_ accessors for slightly better performance and avoid calling for the same value again and again. Secondly, the engine doesn't use its pen and brush states so there is no point in maintaining them, so don't reset old brush all the time. Reviewed-by: Samuel
Diffstat (limited to 'src/opengl/qglshaderprogram.cpp')
0 files changed, 0 insertions, 0 deletions