+ def DidStartBrowser(self, browser):
+ # Check if the we actually have threaded forced compositing enabled.
+ system_info = browser.GetSystemInfo()
+ if not (system_info.gpu.feature_status and
+ system_info.gpu.feature_status.get(
+ 'compositing', None) == 'enabled_force_threaded'):
+ logging.warning('Warning: compositing feature status unknown or not '+
+ 'forced and threaded. Skipping measurement.')
+ sys.exit(0)
+