Lines Matching refs:SkImage
14 static sk_sp<SkImage> make_image() { in make_image()
32 sk_sp<SkImage> img(make_image());//SkImage::NewFromEncoded(data));
53 static sk_sp<SkImage> make(sk_sp<SkColorSpace> cs) { in make()
65 return SkImage::MakeFromBitmap(bm); in make()
68 static void show_mips(SkCanvas* canvas, SkImage* img) { in show_mips()
90 sk_sp<SkImage> limg = make(nullptr);
91 sk_sp<SkImage> simg = make(SkColorSpace::MakeSRGB());
102 static sk_sp<SkImage> make_g8_gradient(sk_sp<SkColorSpace> cs) { in make_g8_gradient()
114 return SkImage::MakeFromBitmap(bm); in make_g8_gradient()
117 static void show_mips_only(SkCanvas* canvas, SkImage* img) { in show_mips_only()
139 sk_sp<SkImage> limg = make_g8_gradient(nullptr);
140 sk_sp<SkImage> simg = make_g8_gradient(SkColorSpace::MakeSRGB());