Henri Verbeet : d2d1: Unify the various brush pixel shaders.

Alexandre Julliard julliard at winehq.org
Mon Sep 25 16:34:30 CDT 2017


Module: wine
Branch: master
Commit: 2fafd92d88d3fd5fe5c151600b6cb3d56cbd648f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2fafd92d88d3fd5fe5c151600b6cb3d56cbd648f

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Sat Sep 23 13:36:59 2017 +0200

d2d1: Unify the various brush pixel shaders.

Branches inside shaders aren't free, but in the long term avoiding switching
between shaders is probably worth it for D2D. As an added benefit, this makes
bitmap brushes and opacity brushes work with bezier geometry.

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d2d1/brush.c         | 217 +++++---------
 dlls/d2d1/d2d1_private.h  |  25 +-
 dlls/d2d1/render_target.c | 722 ++++++++++++++++++++--------------------------
 3 files changed, 413 insertions(+), 551 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=2fafd92d88d3fd5fe5c151600b6cb3d56cbd648f



More information about the wine-cvs mailing list