On Tue Dec 10 09:52:01 2024 +0000, Nikolay Sivov wrote:
A test for CreateCompatibleRenderTarget() is also interesting, but probably only for dxgi context, to see if dxgi device is accessible through compatible target instance. For other targets it would be weird if it was suddenly exposed for compatible target, but not for the target it's created from. But who knows.
Done. I tested compatible bitmap targets for other render targets, and they also get D2DERR_INVALID_CALL for ID2D1Device2_GetDxgiDevice(). However, I didn't include these tests for targets other than DXGI.