wine/dlls/d3d9/tests
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
..
d3d9ex.c wined3d: Recreate swapchain textures in wined3d_swapchain_resize_buffers(). 2023-06-29 12:04:35 +02:00
device.c winex11: Separately store the internal pixel format set by WGL_WINE_pixel_format_passthrough. 2023-03-09 15:02:46 +01:00
Makefile.in d3d9/tests: Build without -DWINE_NO_LONG_TYPES. 2022-07-06 16:02:48 +02:00
stateblock.c d3d9/tests: Build without -DWINE_NO_LONG_TYPES. 2022-07-06 16:02:48 +02:00
utils.h d3d9/tests: Build without -DWINE_NO_LONG_TYPES. 2022-07-06 16:02:48 +02:00
visual.c wined3d: Add a comment about mismatched samplers. 2023-04-28 20:55:14 +02:00