http://bugs.winehq.org/show_bug.cgi?id=14666
Summary: [wined3d] volume/volumetex locking implementation Product: Wine Version: CVS/GIT Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: liquid.acid@gmx.net
Hi there,
this bug should be sort of a "metabug" for fixing the locking behaviour of volume and volumetexture objects in D3D (version 8 and 9 currently, because 7 and below doesn't have/support volumes).
I already wrote some patches and testcases to fix/illustrate the problem, but they were rejected on wine-patches. The main problem that the problem should be adressed much lower in wined3d.
I now post all my current patches here, so other people can take a look.
Some things what are currently not implemented: (1) locking of volume/volumetex objects always succeeds althoug it shouldn't - specifying to large lockboxes should fail for example - some volumes are not lockable at all (2) creating volumes/volumetextures always succeeds, usage and pool types are not checked
Only a few things the patches should adress.
I intend on working on this, but I need a bit more input about why and where to fix this exactly.
Attaching patches now... Also adding Stefan Dösinger, Henri Verbeet, Alexander Dorofeyev and Roderick Colenbrander to CC (sry guys *g*, but I'm sure you know where my stuff should go).
I currently have these DX SDK docs on my system: version 9, 8, 7 and 6 (someone asked me if I got the 7 SDK)
Greets, Tobias