benchmark.manyspheres Module

paraview.benchmark.manyspheres.flush_render_buffer()[source]

When running as a single process use the WindowToImage filter to force a framebuffer read. This bypasses driver optimizations that perform lazy rendering and allows you to get actual frame rates for a single process with a GPU. Multi-process doesn’t need this since compositing forces the frame buffer read.

paraview.benchmark.manyspheres.get_render_view(size)[source]

Similar to GetRenderView except if a new view is created, it’s created with the specified size instead of having t resize afterwards

paraview.benchmark.manyspheres.main(argv)[source]
paraview.benchmark.manyspheres.memtime_stamp()[source]
paraview.benchmark.manyspheres.run(output_basename='log', num_spheres=8, num_spheres_in_scene=None, resolution=725, view_size=(1920, 1080), num_frames=10, save_logs=True, transparency=False, ospray=False)[source]
paraview.benchmark.manyspheres.save_render_buffer(fname)[source]

Similar to SaveScreenshot except a re-render will not be triggered