wine/dlls/d3d8
Zebediah Figura ebaa0a9426 wined3d: Recreate swapchain textures in wined3d_swapchain_resize_buffers().
Instead of using wined3d_texture_update_desc(). This is safe, because:

* ddraw never exposes wined3d textures directly, and always retrieves them
  directly from wined3d when rendering.

* d3d8 and d3d9 (non-extended) will only resize buffers during a reset, and
  resetting is forbidden if the application holds any references to the
  backbuffers. RTVs are also replaced during a reset, so there is no concern
  about retrieving the old RTVs from the device state.

* d3d9ex allows resetting while holding references to the backbuffers, but tests
  (fixed by this patch) show that the backbuffers should in fact be recreated.

* dxgi forbids holding references to back buffers during ResizeBuffers(),
  including indirect references via command lists or device contexts.
2023-06-29 12:04:35 +02:00
..
tests d3d8/tests: Test IDirect3DDevice8::ValidateDevice() with various min, mag and mip filters. 2023-05-18 15:40:14 -05:00
buffer.c d3d8: Filter out redundant buffer discards. 2023-01-06 13:39:45 +01:00
d3d8.spec
d3d8_main.c
d3d8_private.h d3d8: Hold a reference to the wined3d swapchain from d3d8 swapchain surfaces. 2023-05-10 17:08:48 +02:00
device.c wined3d: Recreate swapchain textures in wined3d_swapchain_resize_buffers(). 2023-06-29 12:04:35 +02:00
directx.c wined3d: Make video memory accounting a per-resource flag. 2023-03-28 11:43:38 +02:00
Makefile.in d3d8: Build without -DWINE_NO_LONG_TYPES. 2022-11-09 21:23:48 +01:00
shader.c d3d8: Build without -DWINE_NO_LONG_TYPES. 2022-11-09 21:23:48 +01:00
surface.c d3d8: Hold a reference to the wined3d swapchain from d3d8 swapchain surfaces. 2023-05-10 17:08:48 +02:00
swapchain.c d3d8: Pass the container to d3d8_surface_create(). 2023-05-04 18:44:48 +02:00
texture.c d3d8: Build without -DWINE_NO_LONG_TYPES. 2022-11-09 21:23:48 +01:00
version.rc
vertexdeclaration.c d3d8: Build without -DWINE_NO_LONG_TYPES. 2022-11-09 21:23:48 +01:00
volume.c d3d8: Build without -DWINE_NO_LONG_TYPES. 2022-11-09 21:23:48 +01:00