wine/dlls/d3d9
Matteo Bruni 9d9dd8b378 d3d9: Always allow read and write map access to non-DEFAULT buffers.
D3d9 is very lax WRT map access to buffers and there isn't really much
of a reason for us to restrict read access to non-DEFAULT resources.

On the other hand, we'd still really like to be able to ensure that
DEFAULT, DYNAMIC | WRITEONLY buffers get allocated in the proper
memory region and get efficient data uploads, so keep the restriction
for DEFAULT resources.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46849
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 20:13:59 +02:00
..
tests wined3d: Apply stencil mask to stencil reference value. 2019-05-09 10:01:22 -05:00
buffer.c d3d9: Always allow read and write map access to non-DEFAULT buffers. 2019-05-14 20:13:59 +02:00
d3d9.spec
d3d9_main.c wined3d: Move wined3d_bit_scan() to public header. 2019-01-25 23:09:07 +01:00
d3d9_private.h wined3d: Explicitly create the implicit swapchain. 2019-04-12 15:33:44 +02:00
device.c d3d9: Fix memory leak in device_init() (Coverity). 2019-04-15 21:33:07 +02:00
directx.c d3d9: Return failure in CheckDeviceFormat() for unsupported adapter formats. 2019-03-06 18:31:03 +01:00
Makefile.in
query.c wined3d: Move wined3d_bit_scan() to public header. 2019-01-25 23:09:07 +01:00
shader.c wined3d: Move wined3d_bit_scan() to public header. 2019-01-25 23:09:07 +01:00
stateblock.c d3d9: Forbid capturing a stateblock while recording. 2019-04-03 20:35:53 +02:00
surface.c d3d9: Take usage flags into account when assigning map flags. 2019-01-31 00:12:57 +01:00
swapchain.c wined3d: Move wined3d_bit_scan() to public header. 2019-01-25 23:09:07 +01:00
texture.c d3d9: Refuse to create D3DUSAGE_WRITEONLY textures. 2019-02-05 19:27:03 +01:00
version.rc
vertexdeclaration.c d3d9: Don't upload unused system memory vertex buffers. 2019-03-06 18:30:57 +01:00
volume.c d3d9: Take usage flags into account when assigning map flags. 2019-01-31 00:12:57 +01:00