sharpemu/tests/SharpEmu.Libs.Tests/VideoOut
kuba e1695cf87f
Share one guest image across sRGB/UNORM aliases (#717)
Ported from origin/fix/view-compatible-guest-images 7fb8fdf.

Rendering as sRGB and ImageLoad/Store-ing as UNORM at the same guest
address are the same surface accessed through different number formats.
Recreating the guest image per number format ping-pongs content between
two VkImages and loses the rendered pixels on every transition; the
mutable-format image now accepts the counterpart identity and serves it
through alias views. The commit names AvPlayer movie copies as the
pattern that needs this.

Adapted for this base: GetOrCreateGuestImage has since grown resolution
scaling and 3D/array support, so the alias accept is folded into the
current predicate (LogicalWidth/LogicalHeight/LogicalDepth/Type) rather
than the old Width/Height pair, and the storage-counterpart widening is
placed before the physical-dimension computation. The helper functions it
relies on (GetStorageImageFormat, IsCompatibleViewFormat) already existed.
2026-07-31 12:12:09 +03:00
..
HostVideoOptionsTests.cs Sdl backend (#670) 2026-07-28 03:33:26 +03:00
PngSplashLoaderTests.cs Fix PNG chunk CRC validation (#241) 2026-07-16 00:46:43 +03:00
VideoOutOutputOptionsTests.cs [VideoOut] Initialize output options storage (#315) 2026-07-18 04:14:27 +03:00
VideoOutOutputSupportTests.cs videoout: implement output support query (#269) 2026-07-18 02:44:23 +03:00
VideoOutPixelFormatTests.cs Sdl backend (#670) 2026-07-28 03:33:26 +03:00
VulkanDepthAttachmentTests.cs [Vulkan] Honor guest depth clear state (#290) 2026-07-17 02:29:53 +03:00
VulkanGuestImageAliasTests.cs Share one guest image across sRGB/UNORM aliases (#717) 2026-07-31 12:12:09 +03:00
VulkanGuestImageByteCountTests.cs fix(gpu): support Gen5 flat memory and 3D images (#587) 2026-07-24 15:44:58 +03:00
VulkanGuestImageTypeTests.cs fix(gpu): support Gen5 flat memory and 3D images (#587) 2026-07-24 15:44:58 +03:00
VulkanHostBufferPoolTests.cs Bound Vulkan host buffer pool memory (#201) 2026-07-16 16:44:29 +03:00
VulkanPhysicalDeviceScoringTests.cs [VideoOut] Scope the AMD integrated-GPU penalty to Windows (#339) 2026-07-17 18:48:09 +03:00
VulkanPipelineCacheStorageTests.cs Sdl backend (#670) 2026-07-28 03:33:26 +03:00
VulkanPresentEncodeFormatTests.cs fix(gta): restore wiped GTA foundation and gameplay path (PPSA04264) (#650) 2026-07-27 01:58:55 +03:00