diff options
author | Louai Al-Khanji <louai.al-khanji@digia.com> | 2014-04-28 08:32:17 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-29 11:59:18 +0200 |
commit | 81fde3a976dec66b0c3eeb006033c0369752e386 (patch) | |
tree | 88db2e8af43c376e24d38111b9cb9cb3328bf89b /src/plugins/platforms/kms | |
parent | 774082e2ee2b9d7f290b84c3a483cc7710bbe8d4 (diff) |
Direct2D QPA: Speed up widget painting
By only starting/ending drawing once in the backing store, we can avoid
multiple start/ends and thus flushes of the direct2d device context. This
can potentially be much faster with some drivers when many widgets that
draw to the same backing store need to redraw. Because starts/ends of
QWindowsDirect2DDeviceContext are already refcounted this works out of the
box.
Change-Id: Ib48edceef6a1041ae0509587c77ac0caa8b29fc6
Reviewed-by: Risto Avila <risto.avila@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/plugins/platforms/kms')
0 files changed, 0 insertions, 0 deletions