diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-07 00:18:46 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-07 00:18:46 (GMT) |
commit | 6d908473ec1a8c72f4bbb9d772e801024c3a62a0 (patch) | |
tree | 235c45a19bbc22d0885ad2eb9b6978731e78569d /tests/auto/qgl | |
parent | 203158b2444c9eb98714292d057c0c87a037ce3b (diff) | |
download | Qt-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