Lines Matching refs:Reporter
16 static void test_read_pixels(skiatest::Reporter* reporter, GrContext* context,
25 ERRORF(reporter, "Error reading rectangle texture.");
29 ERRORF(reporter, "Error, rectangle texture pixel value %d should be 0x%08x,"
36 static void test_write_pixels(skiatest::Reporter* reporter, GrContext* context,
49 ERRORF(reporter, "Error writing to rectangle texture.");
51 test_read_pixels(reporter, context, rectangleTexture, pixels.get());
54 static void test_copy_surface_src(skiatest::Reporter* reporter, GrContext* context,
64 test_read_pixels(reporter, context, dst, expectedPixelValues);
67 static void test_copy_surface_dst(skiatest::Reporter* reporter, GrContext* context,
86 test_read_pixels(reporter, context, rectangleTexture, pixels.get());
89 static void test_clear(skiatest::Reporter* reporter, GrContext* context,
94 ERRORF(reporter, "Could not get GrDrawContext for rectangle texture.");
136 test_read_pixels(reporter, context, rectangleTexture, expectedPixels.get());
140 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(RectangleTexture, reporter, context, glContext) {
188 ERRORF(reporter, "Error wrapping rectangle texture in GrTexture.");
193 test_read_pixels(reporter, context, rectangleTexture, refPixels);
195 test_copy_surface_src(reporter, context, rectangleTexture, refPixels);
197 test_copy_surface_dst(reporter, context, rectangleTexture);
199 test_write_pixels(reporter, context, rectangleTexture);
201 test_clear(reporter, context, rectangleTexture);