Test rendering a composited WebView2 (connected to a Windows.UI.Composition.ContainerVisual) inside a SwapChainPanel, with Direct2D or Direct3D 11 and GraphicsCaptureItem to get frames, then IDirect3DDxgiInterfaceAccess to get IDXGISurface or ID3D11Texture2D
Tested on Windows 10 22H2 with no discrete GPU (Intel® HD Graphics), Windows App SDK 1.7.250401001