On Mon Jul 14 12:59:39 2025 +0000, Nikolay Sivov wrote:
So, does it work on Windows for a case with more than one subresource or not? If All we need to support index == 0, we don't need that many changes.
Drawing a bitmap from a DXGI subresource surface with more than one subresource does work on Windows. However, the bitmap must be created with ID2D1DeviceContext_CreateSharedBitmap, not ID2D1DeviceContext_CreateBitmapFromDxgiSurface.