d3d8: Use a wined3d cs for wined3d locking.
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 25 Aug 2009 06:17:14 +0000 (08:17 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 25 Aug 2009 09:12:17 +0000 (11:12 +0200)
commitf9c791f9ca6ecbf14cda12c1c946a48a53ba04f7
tree4f50f07134e501ce4319bbdc347e25a7dd2223de
parent4d1379f6a9aa0d2b5f9069b59daee06171076205
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.
19 files changed:
dlls/d3d8/cubetexture.c
dlls/d3d8/d3d8_main.c
dlls/d3d8/d3d8_private.h
dlls/d3d8/device.c
dlls/d3d8/directx.c
dlls/d3d8/indexbuffer.c
dlls/d3d8/pixelshader.c
dlls/d3d8/stateblock.c
dlls/d3d8/surface.c
dlls/d3d8/swapchain.c
dlls/d3d8/texture.c
dlls/d3d8/vertexbuffer.c
dlls/d3d8/vertexdeclaration.c
dlls/d3d8/vertexshader.c
dlls/d3d8/volume.c
dlls/d3d8/volumetexture.c
dlls/wined3d/wined3d.spec
dlls/wined3d/wined3d_main.c
include/wine/wined3d.idl