Lines Matching defs:testFile
50 const char* testFile,
53 SkString resourcePath = SkStringPrintf("sksl/%s", testFile);
56 ERRORF(r, "%s%s: Unable to load file", testFile, permutationSuffix);
63 ERRORF(r, "%s%s: %s", testFile, permutationSuffix, result.errorText.c_str());
91 ERRORF(r, "%s%s: Unable to build shader", testFile, permutationSuffix);
138 const char* testFile,
143 test_one_permutation(r, surface, testFile, "", options);
146 test_one_permutation(r, surface, testFile, " (NoInline)", options);
149 static void test_cpu(skiatest::Reporter* r, const char* testFile) {
153 test_permutations(r, surface.get(), testFile, /*worksInES2=*/true);
156 static void test_gpu(skiatest::Reporter* r, GrDirectContext* ctx, const char* testFile) {
160 test_permutations(r, surface.get(), testFile, /*worksInES2=*/true);
163 static void test_es3(skiatest::Reporter* r, GrDirectContext* ctx, const char* testFile) {
171 test_permutations(r, surface.get(), testFile, /*worksInES2=*/false);