You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Component improvement: Microsoft.Wpf.Media.SurfaceQueueInteropHelper::SetPixelSize: can swapchain.Resize() be used instead of recreate on size changed?
#5
Open
rrelyea opened this issue
Oct 30, 2015
· 0 comments
I see that on size changed IntPtr of the surface is changed, which will lead to recreation of the whole swapchain instead of simple swapchain.Resize(). I think this is caused by the fact that WPF internally is still working on DirectX 9 and DirectX 9 has no way to resize swapchain, but DirectX 10 and higher - does.
[Originally filed by QuantumDeveloper as part of "D3DImage possible issues" https://github.com//issues/2]
The text was updated successfully, but these errors were encountered:
I see that on size changed IntPtr of the surface is changed, which will lead to recreation of the whole swapchain instead of simple swapchain.Resize(). I think this is caused by the fact that WPF internally is still working on DirectX 9 and DirectX 9 has no way to resize swapchain, but DirectX 10 and higher - does.
[Originally filed by QuantumDeveloper as part of "D3DImage possible issues" https://github.com//issues/2]
The text was updated successfully, but these errors were encountered: