I am not part of the Dawn dev team, but I have been doing some tests with the API so maybe I can share my experience. Are you speaking about what you need to do when the window is resized? So far what has worked for me was to:
- Recreate the SwapChain with (with the new window size)
- Recreate the depth stencil view (with the new window size)
This was enough in my case. I didn't touch the `wgpu::Surface surface`, which I initialize at the beginning of the program. It's my understanding that it's the WSI's responsibility to adjust the surface when the window size changes but I am might be wrong. For my tests I used GLFW. Sorry if I didn't get your question right. I have tested this with the Vulkan backend. I also tried `swapChain.Configure(...)` but this didn't work for me. The only method that worked was the one I described above. Interested to hear from the Dawn developers if there's a better / other solution (or if this one is wrong).