diff options
author | Andrew Knight <andrew.knight@digia.com> | 2014-09-19 14:23:56 +0300 |
---|---|---|
committer | Louai Al-Khanji <louai.al-khanji@digia.com> | 2014-09-26 07:32:33 +0200 |
commit | a1dea3a62c874d8a5126bc7a90718de00a9124d0 (patch) | |
tree | f77274d9cd9d22bb4038d7040d15981f4f001d82 /mkspecs/features | |
parent | 3bcbff57e127af37ecf00ed1ab4682b1a9a21bd1 (diff) |
direct2d: Optimize dashed line drawing
This introduces a combined brush/dash pattern which can be used to
perform faster dashed straight-line drawing. The dash pattern is
prerendered to a tiled bitmap brush, resulting in a significant speedup
for lines with many elements.
As the result of non-rectilinear lines may lose quality compared to the
native dashed renderer, the slow/high quality codepath can be activated
by setting the QPainter::HighQualityAntialiasing render hint.
Task-number: QTBUG-40604
Change-Id: I771e9a81c042b4d8b6891dc9280932696e5a0694
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Reviewed-by: Louai Al-Khanji <louai.al-khanji@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'mkspecs/features')
0 files changed, 0 insertions, 0 deletions