Lines Matching defs:reporter

229 static void gpu_read_pixels_test_driver(skiatest::Reporter* reporter,
271 REPORTER_ASSERT(reporter, result != Result::kSuccess);
273 REPORTER_ASSERT(reporter, result != Result::kSuccess);
275 REPORTER_ASSERT(reporter, result != Result::kSuccess);
277 REPORTER_ASSERT(reporter, result != Result::kSuccess);
281 ERRORF(reporter,
330 ERRORF(reporter,
379 ERRORF(reporter,
481 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceContextReadPixels, reporter, ctxInfo) {
515 gpu_read_pixels_test_driver(reporter, rules, factory, reader, label);
520 DEF_GPUTEST_FOR_ALL_CONTEXTS(ReadPixels_InvalidRowBytes_Gpu, reporter, ctxInfo) {
532 REPORTER_ASSERT(reporter, !surf->readPixels(dstII, storage.get(), badRowBytes, 0, 0));
536 DEF_GPUTEST_FOR_ALL_CONTEXTS(WritePixels_InvalidRowBytes_Gpu, reporter, ctxInfo) {
550 REPORTER_ASSERT(reporter,
571 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceAsyncReadPixels, reporter, ctxInfo) {
618 gpu_read_pixels_test_driver(reporter, rules, factory, reader, label);
636 gpu_read_pixels_test_driver(reporter, rules, backendRTFactory, reader, label);
640 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageAsyncReadPixels, reporter, ctxInfo) {
685 gpu_read_pixels_test_driver(reporter, rules, factory, reader, label);
690 DEF_GPUTEST(AsyncReadPixelsContextShutdown, reporter, options) {
756 ERRORF(reporter, "Callback failed on %s. is YUV: %d",
811 static void gpu_write_pixels_test_driver(skiatest::Reporter* reporter,
842 REPORTER_ASSERT(reporter, result != Result::kSuccess);
844 REPORTER_ASSERT(reporter, result != Result::kSuccess);
846 REPORTER_ASSERT(reporter, result != Result::kSuccess);
852 ERRORF(reporter,
872 ERRORF(reporter,
898 ERRORF(reporter,
946 ERRORF(reporter,
1060 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceContextWritePixels, reporter, ctxInfo) {
1097 gpu_write_pixels_test_driver(reporter, factory, writer, reader);
1102 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceContextWritePixelsMipped, reporter, ctxInfo) {
1231 ERRORF(reporter,
1249 DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(GLReadPixelsUnbindPBO, reporter, ctxInfo) {
1256 ERRORF(reporter, "Couldn't make texture image.");
1271 ERRORF(reporter, "async_callback not called.");
1274 ERRORF(reporter, "async read failed.");
1294 ERRORF(reporter, "Expect sync and async read to be the same. "