H. Verbeet : wined3d: Track depth stencil location per-surface.

Alexandre Julliard julliard at winehq.org
Thu Jul 3 06:35:16 CDT 2008


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

Author: H. Verbeet <hverbeet at gmail.com>
Date:   Wed Jul  2 23:00:41 2008 +0200

wined3d: Track depth stencil location per-surface.

This gets rid of depth_copy_state in the device, and instead tracks
the most up to date location per-surface. This makes things a lot
easier to follow, and allows us to make a copy when switching depth
stencils in SetDepthStencilSurface().

---

 dlls/wined3d/context.c               |    3 -
 dlls/wined3d/device.c                |   47 ++++++++-----
 dlls/wined3d/drawprim.c              |   86 ++----------------------
 dlls/wined3d/surface.c               |  124 ++++++++++++++++++++++++++++++++++
 dlls/wined3d/wined3d_private.h       |   76 ++++++++++++---------
 dlls/wined3d/wined3d_private_types.h |    7 --
 6 files changed, 199 insertions(+), 144 deletions(-)

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



More information about the wine-cvs mailing list