Searched refs:TestImageGenerator (Results 1 – 1 of 1) sorted by relevance
158 class TestImageGenerator : public SkImageGenerator { class171 TestImageGenerator(TestType type, skiatest::Reporter* reporter, in TestImageGenerator() function in TestImageGenerator176 virtual ~TestImageGenerator() { } in ~TestImageGenerator()180 return SkImageInfo::Make(TestImageGenerator::Width(), TestImageGenerator::Height(), in GetMyInfo()199 TestImageGenerator::PMColor(), info.width()); in onGetPixels()205 ctable[0] = TestImageGenerator::PMColor(); in onGetPixels()214 SkPixel32ToPixel16(TestImageGenerator::PMColor()), info.width()); in onGetPixels()233 REPORTER_ASSERT(reporter, TestImageGenerator::Width() == bm.width()); in check_test_image_generator_bitmap()234 REPORTER_ASSERT(reporter, TestImageGenerator::Height() == bm.height()); in check_test_image_generator_bitmap()243 if (TestImageGenerator::Color() != bm.getColor(x, y)) { in check_test_image_generator_bitmap()[all …]