robmikh / SimpleRecorder

A simple screen recorder using both the Windows.Graphics.Capture and Windows.Media.Transcoding APIs.
MIT License
219 stars 43 forks source link

Global D3D device #24

Closed robmikh closed 3 years ago

robmikh commented 3 years ago

Move to a global D3D device, we end up creating a new one when going back to the MainPage.

robmikh commented 3 years ago

So 21d3dfe fixes this, but now we have another issue that if the app is open and we lose the d3d device, the app can't recover. It'll likely crash. But this isn't that different from the previous behavior. The device lost issue is tracked by #4.