Henri Verbeet : d2d1: Use the "world" position instead of the render target position in the pixel shader.

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


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

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

d2d1: Use the "world" position instead of the render target position in the pixel shader.

This slightly simplifies the implementation of bitmap brushes, since the
render target transformation no longer needs to be undone. More importantly,
it does the same for gradient brushes.

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

---

 dlls/d2d1/brush.c         |  15 +-
 dlls/d2d1/render_target.c | 494 +++++++++++++++++++++++++---------------------
 2 files changed, 275 insertions(+), 234 deletions(-)

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



More information about the wine-cvs mailing list