Lines Matching defs:reporter
41 skiatest::Reporter* reporter,
54 ERRORF(reporter, "Couldn't create backendTexture for grColorType %d renderable %s\n",
61 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount());
89 ERRORF(reporter, "Couldn't make SkSurface from backendTexture for %s\n",
92 REPORTER_ASSERT(reporter,
105 ERRORF(reporter, "Couldn't make SkImage from backendTexture for %s\n",
109 REPORTER_ASSERT(reporter, proxy);
111 REPORTER_ASSERT(reporter, mipMapped == proxy->proxyMipmapped());
112 REPORTER_ASSERT(reporter, proxy->isInstantiated());
113 REPORTER_ASSERT(reporter, mipMapped == proxy->mipmapped());
115 REPORTER_ASSERT(reporter,
120 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount());
201 static void check_solid_pixmap(skiatest::Reporter* reporter,
212 [reporter, ct, label1, label2](int x, int y, const float diffs[4]) {
214 ERRORF(reporter, "%s %s %s - mismatch at %d, %d (%f, %f, %f %f)", GrColorTypeToStr(ct),
247 skiatest::Reporter* reporter,
279 ERRORF(reporter, "Could not make proxy from backend texture");
288 ERRORF(reporter, "Could not create surface context for colorType: %d\n", colorType);
295 ERRORF(reporter, "Couldn't readback from SurfaceContext for colorType: %d\n",
302 check_solid_pixmap(reporter, expectedColor, actual, colorType, label, name.c_str());
309 skiatest::Reporter* reporter,
329 check_mipmaps(dContext, mbet->texture(), colorType, expectedColors, reporter,
334 check_base_readbacks(dContext, mbet->texture(), colorType, renderable, testColor, reporter,
360 skiatest::Reporter* reporter,
383 ERRORF(reporter, "Could not make dst fill context.");
394 ERRORF(reporter, "Could not make proxy from backend texture");
424 REPORTER_ASSERT(reporter, result);
429 check_solid_pixmap(reporter, expectedColors[i], actual, colorType, label, str.c_str());
466 skiatest::Reporter* reporter,
513 check_mipmaps(dContext, mbet->texture(), grColorType, expectedColors, reporter,
519 reporter, "pixmap");
561 skiatest::Reporter* reporter) {
650 test_wrapping(context, reporter, uninitCreateMtd,
678 test_color_init(context, reporter, createWithColorMtd,
708 reporter,
720 DEF_GPUTEST(ColorTypeBackendAllocationTest, reporter, options) {
731 color_type_backend_allocation_test(info, reporter);
740 color_type_backend_allocation_test(info, reporter);
748 DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(GLBackendAllocationTest, reporter, ctxInfo) {
845 test_wrapping(context, reporter, uninitCreateMtd, combo.fColorType,
885 test_color_init(context, reporter, createWithColorMtd, combo.fColorType,
902 DEF_GPUTEST_FOR_VULKAN_CONTEXT(VkBackendAllocationTest, reporter, ctxInfo) {
990 test_wrapping(context, reporter, uninitCreateMtd, combo.fColorType, mipMapped,
1042 test_color_init(context, reporter, createWithColorMtd, combo.fColorType,