Riccardo Bortolato : d3d8: Make use of wined3d_texture_map in d3d8_surface_LockRect.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 12 09:51:13 CDT 2015


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

Author: Riccardo Bortolato <rikyz619 at gmail.com>
Date:   Mon Oct 12 12:44:07 2015 +0200

d3d8: Make use of wined3d_texture_map in d3d8_surface_LockRect.

Pass wined3d_texture and sub_resource idx to device_parent_surface_created callback.
Store wined3d_texture and sub_resource in d3d8_surface.
Also updated d3d9, d3d11, ddraw callbacks accordingly.

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

---

 dlls/d3d11/device.c      |  6 +++---
 dlls/d3d8/d3d8_private.h |  4 +++-
 dlls/d3d8/device.c       |  8 ++++----
 dlls/d3d8/surface.c      | 11 +++++++----
 dlls/d3d9/device.c       |  8 ++++----
 dlls/ddraw/ddraw.c       | 10 +++++-----
 dlls/wined3d/surface.c   |  2 +-
 include/wine/wined3d.h   |  3 ++-
 8 files changed, 29 insertions(+), 23 deletions(-)

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



More information about the wine-cvs mailing list