Expose DirectContext submit method, required to correctly resize swapchain in dx12.
Although Surface flush and submit methods are called, it seems that DirectContext still has some pending work and as well has some references to native dx12 resource, therefore it is impossible to correctly resize swapchain. Solution: destroy DirectContext or call submit(syncCpu = true) as shown here skia dx12 demo
Expose DirectContext submit method, required to correctly resize swapchain in dx12. Although Surface flush and submit methods are called, it seems that DirectContext still has some pending work and as well has some references to native dx12 resource, therefore it is impossible to correctly resize swapchain. Solution: destroy DirectContext or call submit(syncCpu = true) as shown here skia dx12 demo