Stefan Dösinger : wined3d: Implement a different constant dirtification algorithm.

Alexandre Julliard julliard at winehq.org
Tue Mar 4 14:31:40 CST 2008


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Tue Mar  4 02:30:23 2008 +0100

wined3d: Implement a different constant dirtification algorithm.

Add a new property of the shader backend which indicates whether the
shader backend is able to dirtify single constants rather than
dirtifying vshader and pshader constants as a whole. Depending on this
a different Set*ConstantF implementation is used which marks constants
dirty. The ARB shader backend uses this and marks constants clean
after uploading.

---

 dlls/wined3d/arb_program_shader.c |  107 ++++++++++---------
 dlls/wined3d/baseshader.c         |    4 +-
 dlls/wined3d/context.c            |   21 ++++
 dlls/wined3d/device.c             |  217 +++++++++++++++++++++++++++++++++++++
 dlls/wined3d/directx.c            |    8 ++
 dlls/wined3d/glsl_shader.c        |    8 ++-
 dlls/wined3d/wined3d_private.h    |    6 +-
 7 files changed, 318 insertions(+), 53 deletions(-)

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



More information about the wine-cvs mailing list