Henri Verbeet : d2d1: Use the "world" position instead of the render target position in the pixel shader.
Module: wine Branch: master Commit: 119f84099bccc8ecaa4905301e305257e9bc7006 URL: http://source.winehq.org/git/wine.git/?a=commit;h=119f84099bccc8ecaa4905301e... Author: Henri Verbeet <hverbeet(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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=119f84099bccc8ecaa4905...
participants (1)
-
Alexandre Julliard