Henri Verbeet : wined3d: Introduce a separate structure for stateblock states.

Alexandre Julliard julliard at winehq.org
Wed Sep 15 18:18:38 CDT 2010


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Sep 15 12:00:04 2010 +0200

wined3d: Introduce a separate structure for stateblock states.

We'd like to not pass an entire stateblock to things like state handlers and
the shader backend, because those then use the stateblock to get to the
device and through there to all the rest of wined3d. This would also be
required for serialization of wined3d draw and state change commands into a
single GL context. Resource updates would be explicitly excluded from
serialization.

---

 dlls/wined3d/arb_program_shader.c    |   36 +--
 dlls/wined3d/ati_fragment_shader.c   |    4 +-
 dlls/wined3d/device.c                |   30 +-
 dlls/wined3d/drawprim.c              |   20 +-
 dlls/wined3d/nvidia_texture_shader.c |    2 +-
 dlls/wined3d/shader.c                |   15 +-
 dlls/wined3d/state.c                 |  552 ++++++++++++++++++----------------
 dlls/wined3d/stateblock.c            |    6 +-
 dlls/wined3d/utils.c                 |   36 ++-
 dlls/wined3d/wined3d_private.h       |    9 +-
 10 files changed, 382 insertions(+), 328 deletions(-)

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



More information about the wine-cvs mailing list