summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgl
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-09-07 00:18:46 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-09-07 00:18:46 (GMT)
commit6d908473ec1a8c72f4bbb9d772e801024c3a62a0 (patch)
tree235c45a19bbc22d0885ad2eb9b6978731e78569d /tests/auto/qgl
parent203158b2444c9eb98714292d057c0c87a037ce3b (diff)
downloadQt-6d908473ec1a8c72f4bbb9d772e801024c3a62a0.zip
Qt-6d908473ec1a8c72f4bbb9d772e801024c3a62a0.tar.gz
Qt-6d908473ec1a8c72f4bbb9d772e801024c3a62a0.tar.bz2
Performance: Convert QGLFormat to use implicit sharing
QGLFormat was being deep-copied many times per frame because of code like this: if (context()->format().doubleBuffer()) { ... This change modifies QGLFormat to use implicit sharing to reduce the overhead of the above type of checks. Reviewed-by: Sarah Smith
Diffstat (limited to 'tests/auto/qgl')
0 files changed, 0 insertions, 0 deletions