Module: wine Branch: master Commit: f9c791f9ca6ecbf14cda12c1c946a48a53ba04f7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f9c791f9ca6ecbf14cda12c1c9...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Aug 25 08:17:14 2009 +0200
d3d8: Use a wined3d cs for wined3d locking.
We will need this for d3d10, where both dxgi and d3d10core are making wined3d calls. Right now d3d8/d3d9 also use this to protect their own data, but eventually we should push this down into wined3d itself and use something a bit more fine-grained. There's no good reason that doing e.g. a vertex buffer upload in some thread should block all of wined3d.
---
dlls/d3d8/cubetexture.c | 84 ++++--- dlls/d3d8/d3d8_main.c | 15 +- dlls/d3d8/d3d8_private.h | 3 - dlls/d3d8/device.c | 498 ++++++++++++++++++++++++----------------- dlls/d3d8/directx.c | 77 ++++--- dlls/d3d8/indexbuffer.c | 53 +++-- dlls/d3d8/pixelshader.c | 5 +- dlls/d3d8/stateblock.c | 23 +-- dlls/d3d8/surface.c | 42 ++-- dlls/d3d8/swapchain.c | 15 +- dlls/d3d8/texture.c | 85 +++++--- dlls/d3d8/vertexbuffer.c | 53 +++-- dlls/d3d8/vertexdeclaration.c | 5 +- dlls/d3d8/vertexshader.c | 4 +- dlls/d3d8/volume.c | 39 ++-- dlls/d3d8/volumetexture.c | 83 ++++--- dlls/wined3d/wined3d.spec | 2 + dlls/wined3d/wined3d_main.c | 19 ++ include/wine/wined3d.idl | 2 + 19 files changed, 647 insertions(+), 460 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=f9c791f9ca6ecbf14cda12...