Chip Davis : wined3d: Introduce wined3d_device_flush().