Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

26 static void check_component(skiatest::Reporter* reporter, uint8_t control, uint8_t test) {
33 REPORTER_ASSERT(reporter, diff < TOL);
43 static void check_4444(skiatest::Reporter* reporter,
54 check_component(reporter, ctrlComp, testComp);
59 check_component(reporter, ctrlComp, testComp);
64 check_component(reporter, ctrlComp, testComp);
69 check_component(reporter, ctrlComp, testComp);
74 static void check_565(skiatest::Reporter* reporter,
84 check_component(reporter, ctrlComp, testComp);
89 check_component(reporter, ctrlComp, testComp);
94 check_component(reporter, ctrlComp, testComp);
99 static void run_test(skiatest::Reporter* reporter, GrContext* context,
134 check_4444(reporter, controlPixelData, readBuffer);
137 check_565(reporter, controlPixelData, readBuffer);
144 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(RGBA4444TextureTest, reporter, ctxInfo) {
145 run_test(reporter, ctxInfo.grContext(), CONTROL_ARRAY_SIZE, kRGBA_4444_GrPixelConfig);
148 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(RGB565TextureTest, reporter, ctxInfo) {
149 run_test(reporter, ctxInfo.grContext(), CONTROL_ARRAY_SIZE, kRGB_565_GrPixelConfig);