Lines Matching refs:TestPixels
25 struct TestPixels { struct
40 bool make_ringed_bitmap(GrContext*, TestPixels* result, int width, int height, in make_ringed_bitmap() argument
47 result->fType = TestPixels::kBitmap; in make_ringed_bitmap()
109 static bool make_ringed_color_bitmap(GrContext* ctx, TestPixels* result, int width, int height) { in make_ringed_color_bitmap()
121 static bool make_ringed_alpha_bitmap(GrContext* ctx, TestPixels* result, int width, int height) { in make_ringed_alpha_bitmap()
131 static void bmp_to_image(TestPixels* result) { in bmp_to_image()
132 SkASSERT(TestPixels::kBitmap == result->fType); in bmp_to_image()
135 result->fType = TestPixels::kImage; in bmp_to_image()
140 bool make_ringed_color_image(GrContext* ctx, TestPixels* result, int width, int height) { in make_ringed_color_image()
149 bool make_ringed_alpha_image(GrContext* ctx, TestPixels* result, int width, int height) { in make_ringed_alpha_image()
165 bool make_oversized_texture_bitmap(GrContext* ctx, TestPixels* result, int width, int height, in make_oversized_texture_bitmap()
247 result->fType = TestPixels::kBitmap; in make_oversized_texture_bitmap()
257 static bool make_ringed_oversized_color_texture_bitmap(GrContext* ctx, TestPixels* result, in make_ringed_oversized_color_texture_bitmap()
269 static bool make_ringed_oversized_alpha_texture_bitmap(GrContext* ctx, TestPixels* result, in make_ringed_oversized_alpha_texture_bitmap()
302 bool (*fPixelMaker)(GrContext*, TestPixels* result, int width, int height);
342 void drawPixels(SkCanvas* canvas, const TestPixels& pixels, const SkRect& src, in drawPixels()
345 if (TestPixels::kBitmap == pixels.fType) { in drawPixels()
586 TestPixels fBigTestPixels;
587 TestPixels fSmallTestPixels;