wine/dlls/wined3d
Zebediah Figura 8c1c83dfdf wined3d: Cap the maximum reported VRAM, not the current reported VRAM.
That is, subtract the currently used memory from the capped maximum, so that
creating textures will report that available VRAM has decreased. Drivers on
Windows seem to match this behaviour (at least NVidia and WARP), although they
vary on where the cap is set.

This fixes test failures in test_vidmem_accounting() for cards with over 4 GiB
of VRAM.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-08 11:13:04 +02:00
..
adapter_gl.c wined3d: Do not accelerate NOOVERWRITE maps if we cannot map persistently. 2022-06-01 20:51:58 +02:00
adapter_vk.c wined3d: Do not accelerate NOOVERWRITE maps if we cannot map persistently. 2022-06-01 20:51:58 +02:00
arb_program_shader.c wined3d: Parse the eval_centroid opcode. 2022-06-07 19:42:24 +02:00
ati_fragment_shader.c wined3d: Use the bundled vkd3d and build with msvcrt. 2022-03-03 10:07:16 +01:00
buffer.c wined3d: Do not accelerate NOOVERWRITE maps if we cannot map persistently. 2022-06-01 20:51:58 +02:00
context.c wined3d: Add some state table consistency checking to context_invalidate_state(). 2022-05-24 17:36:38 +02:00
context_gl.c wined3d: Store whether a depth/stencil state writes to the depth/stencil buffer in the state itself. 2022-06-03 21:53:17 +02:00
context_vk.c wined3d: Store whether a depth/stencil state writes to the depth/stencil buffer in the state itself. 2022-06-03 21:53:17 +02:00
cs.c wined3d: Rename format flags to caps. 2022-05-24 20:04:49 +02:00
device.c wined3d: Cap the maximum reported VRAM, not the current reported VRAM. 2022-06-08 11:13:04 +02:00
directx.c wined3d: Rename format flags to caps. 2022-05-24 20:04:49 +02:00
gl_compat.c wined3d: Use the bundled vkd3d and build with msvcrt. 2022-03-03 10:07:16 +01:00
glsl_shader.c wined3d: Parse the eval_centroid opcode. 2022-06-07 19:42:24 +02:00
Makefile.in wined3d: Use the bundled vkd3d and build with msvcrt. 2022-03-03 10:07:16 +01:00
nvidia_texture_shader.c wined3d: Use the bundled vkd3d and build with msvcrt. 2022-03-03 10:07:16 +01:00
palette.c wined3d: Use the bundled vkd3d and build with msvcrt. 2022-03-03 10:07:16 +01:00
query.c wined3d: Don't submit fences when the GL context doesn't support them. 2022-04-27 21:47:43 +02:00
resource.c wined3d: Add a memory_colour_fill path for clearing the entire level to zero. 2022-05-31 22:52:45 +02:00
sampler.c wined3d: Use the bundled vkd3d and build with msvcrt. 2022-03-03 10:07:16 +01:00
shader.c wined3d: Parse the eval_centroid opcode. 2022-06-07 19:42:24 +02:00
shader_sm1.c wined3d: Use the bundled vkd3d and build with msvcrt. 2022-03-03 10:07:16 +01:00
shader_sm4.c wined3d: Parse the eval_centroid opcode. 2022-06-07 19:42:24 +02:00
shader_spirv.c wined3d: Use the bundled vkd3d and build with msvcrt. 2022-03-03 10:07:16 +01:00
state.c wined3d: Consider the depth write mask in depth_stencil_state_desc_writes_ds() only if depth testing is enabled. 2022-06-03 21:53:31 +02:00
stateblock.c wined3d: Use the bundled vkd3d and build with msvcrt. 2022-03-03 10:07:16 +01:00
surface.c wined3d: Add a memory_colour_fill path for clearing the entire level to zero. 2022-05-31 22:52:45 +02:00
swapchain.c wined3d: Don't submit fences when the GL context doesn't support them. 2022-04-27 21:47:43 +02:00
texture.c wined3d: Store clear colors in subresources. 2022-05-31 22:52:45 +02:00
utils.c wined3d: Store clear colors in subresources. 2022-05-31 22:52:45 +02:00
version.rc
vertexdeclaration.c wined3d: Rename format flags to caps. 2022-05-24 20:04:49 +02:00
view.c wined3d: Rename format flags to caps. 2022-05-24 20:04:49 +02:00
wined3d.spec dxgi: Implement adapter video memory budget change notification. 2022-05-23 20:50:01 +02:00
wined3d_gl.h
wined3d_main.c wined3d: Avoid calling _strnicmp() with limit -1. 2022-03-29 20:53:50 +02:00
wined3d_private.h wined3d: Parse the eval_centroid opcode. 2022-06-07 19:42:24 +02:00
wined3d_shaders.h
wined3d_vk.h