Direct2D QPA: Add handlers for individual primitives
authorLouai Al-Khanji <louai.al-khanji@digia.com>
Tue, 29 Apr 2014 13:15:55 +0000 (16:15 +0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 1 May 2014 16:23:28 +0000 (18:23 +0200)
commit948fa572de1c6398df03246b7a6c124af312e967
treeb6ca1c8a57018478f70314c803156e68db90516e
parentd52b00e1d3cc60c81b54a89d6da488dc4bbce384
Direct2D QPA: Add handlers for individual primitives

Directly handling primitives is faster than using the catch-all fill
function which converts arbitrary paths into a direct2d geometry. So do
so.

Change-Id: I71ce73dbe75aa9b61e741c358d8787d0ea48ee46
Reviewed-by: Risto Avila <risto.avila@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
src/plugins/platforms/direct2d/qwindowsdirect2dpaintengine.cpp
src/plugins/platforms/direct2d/qwindowsdirect2dpaintengine.h