Lines Matching refs:exitf
120 static void exitf(ExitErr, const char* format, ...);
160 exitf(ExitErr::kUnavailable, "DDL: conversion of skp failed"); in run_ddl_benchmark()
271 exitf(ExitErr::kUnavailable, "GPU timer failed"); in run_gpu_time_benchmark()
273 exitf(ExitErr::kUnavailable, "timer query still not ready after fence sync"); in run_gpu_time_benchmark()
295 exitf(ExitErr::kSoftware, "attempted to gather stats on even number of samples"); in print_result()
342 exitf(ExitErr::kUsage, "invalid config '%s': must specify one (and only one) GPU config", in main()
348 exitf(ExitErr::kUsage, in main()
364 exitf(ExitErr::kIO, "failed to open file %s", srcfile.c_str()); in main()
372 exitf(ExitErr::kData, "failed to parse file %s", srcfile.c_str()); in main()
386 exitf(ExitErr::kUnavailable, "This tool only supports the default surface type. (%s)", in main()
398 exitf(ExitErr::kUnavailable, "failed to create context for config %s", in main()
402 exitf(ExitErr::kUnavailable, "render target size %ix%i not supported by platform (max: %i)", in main()
407 exitf(ExitErr::kUnavailable, "failed to get GrPixelConfig from SkColorType: %d", in main()
413 exitf(ExitErr::kUnavailable, "sample count %i not supported by platform", in main()
418 exitf(ExitErr::kSoftware, "testContext is null"); in main()
421 exitf(ExitErr::kUnavailable, "GPU does not support fence sync"); in main()
433 exitf(ExitErr::kUnavailable, "failed to create %ix%i render target for config %s", in main()
455 exitf(ExitErr::kUnavailable, "DDL: GPU-only timing not supported"); in main()
458 exitf(ExitErr::kUnavailable, "GPU does not support timing"); in main()
470 exitf(ExitErr::kUnavailable, "failed to read canvas pixels for png"); in main()
473 exitf(ExitErr::kIO, "failed to create directory for png \"%s\"", FLAGS_png[0]); in main()
476 exitf(ExitErr::kIO, "failed to save png to \"%s\"", FLAGS_png[0]); in main()
517 exitf(ExitErr::kData, "failed to parse xml in file %s", filename); in create_skp_from_svg()
521 exitf(ExitErr::kData, "failed to build svg dom from file %s", filename); in create_skp_from_svg()
533 exitf(ExitErr::kData, "SK_XML is disabled; cannot open svg file %s", filename); in create_skp_from_svg()
552 static void exitf(ExitErr err, const char* format, ...) { in exitf() function
573 exitf(ExitErr::kSoftware, "attempted to sync with invalid fence"); in syncToPreviousFrame()
576 exitf(ExitErr::kUnavailable, "failed to wait for fence"); in syncToPreviousFrame()
585 exitf(ExitErr::kUnavailable, "failed to insert fence"); in updateFence()