@@ -5446,13 +5446,13 @@ pub struct SurfaceConfiguration<V> {
54465446 ///
54475447 /// Typical values range from 3 to 1, but higher values are possible:
54485448 /// * Choose 2 or higher for potentially smoother frame display, as it allows to be at least one frame
5449- /// to be queued up. This typically avoids starving the GPU's work queue.
5450- /// Higher values are useful for achieving a constant flow of frames to the display under varying load.
5449+ /// to be queued up. This typically avoids starving the GPU's work queue.
5450+ /// Higher values are useful for achieving a constant flow of frames to the display under varying load.
54515451 /// * Choose 1 for low latency from frame recording to frame display.
5452- /// ⚠️ If the backend does not support waiting on present, this will cause the CPU to wait for the GPU
5453- /// to finish all work related to the previous frame when calling `wgpu::Surface::get_current_texture`,
5454- /// causing CPU-GPU serialization (i.e. when `wgpu::Surface::get_current_texture` returns, the GPU might be idle).
5455- /// It is currently not possible to query this. See <https://github.com/gfx-rs/wgpu/issues/2869>.
5452+ /// ⚠️ If the backend does not support waiting on present, this will cause the CPU to wait for the GPU
5453+ /// to finish all work related to the previous frame when calling `wgpu::Surface::get_current_texture`,
5454+ /// causing CPU-GPU serialization (i.e. when `wgpu::Surface::get_current_texture` returns, the GPU might be idle).
5455+ /// It is currently not possible to query this. See <https://github.com/gfx-rs/wgpu/issues/2869>.
54565456 /// * A value of 0 is generally not supported and always clamped to a higher value.
54575457 pub desired_maximum_frame_latency : u32 ,
54585458 /// Specifies how the alpha channel of the textures should be handled during compositing.
0 commit comments