Function gdk::test_render_sync[][src]

pub fn test_render_sync(window: &Window)
Expand description

Retrieves a pixel from window to force the windowing system to carry out any pending rendering commands.

This function is intended to be used to synchronize with rendering pipelines, to benchmark windowing system rendering operations.

window

a mapped Window