| 13 | from modules import render_report |
| 14 | |
| 15 | class WorkbenchReport(render_report.Report): |
| 16 | def __init__(self, title, output_dir, oiiotool, variation=None, blocklist=[]): |
| 17 | super().__init__(title, output_dir, oiiotool, variation=variation, blocklist=blocklist) |
| 18 | self.gpu_backend = variation |
| 19 | |
| 20 | def _get_render_arguments(self, arguments_cb, filepath, base_output_filepath): |
| 21 | return arguments_cb(filepath, base_output_filepath, gpu_backend=self.gpu_backend) |
| 22 | |
| 23 | except ImportError: |
| 24 | # render_report can only be loaded when running the render tests. It errors when |