d2d1: Use the "world" position instead of the render target position in the pixel...
commit119f84099bccc8ecaa4905301e305257e9bc7006
authorHenri Verbeet <hverbeet@codeweavers.com>
Sat, 23 Sep 2017 11:37:01 +0000 (23 13:37 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 25 Sep 2017 09:04:39 +0000 (25 11:04 +0200)
tree30debd33bbdbff8b255585139b22a0d6509ac87d
parentf55960576d1f82670f40de85317dcd192eede587
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@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/d2d1/brush.c
dlls/d2d1/render_target.c