Optimize cross-thread calls into the shared graphics cache
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Tue, 15 May 2012 12:37:37 +0000 (14:37 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 15 May 2012 14:07:15 +0000 (16:07 +0200)
commitf18b5bd1588e43f2e46325646b36247e4ba473f0
tree29c8bd4ae4febe61dbfb2584d9acd0477f52bd75
parent80040425830483d9e228de8841e92bf020855d0a
Optimize cross-thread calls into the shared graphics cache

QMetaObject::invokeMethod() is quite slow compared to just
posting events, since we don't really require deep copies of
the input data as long as it's read-only.

Change-Id: Ib5c0a14e1aac3120871a9bcf4aee8804e7d8b287
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/quick/scenegraph/qsgshareddistancefieldglyphcache.cpp