Lines Matching refs:SkBitmap
76 void write_pixels(SkCanvas* canvas, const SkBitmap& bitmap, int x, int y, in write_pixels()
78 SkBitmap tmp(bitmap); in write_pixels()
84 void write_pixels(SkSurface* surface, const SkBitmap& src, int x, int y, in write_pixels()
91 SkBitmap bm; in create_checkerboard_shader()
100 SkBitmap create_checkerboard_bitmap(int w, int h, SkColor c1, SkColor c2, int checkSize) { in create_checkerboard_bitmap()
101 SkBitmap bitmap; in create_checkerboard_bitmap()
116 SkBitmap create_string_bitmap(int w, int h, SkColor c, int x, int y, in create_string_bitmap()
118 SkBitmap bitmap; in create_string_bitmap()
133 SkBitmap result; in create_string_bitmap()
193 static inline void norm_to_rgb(SkBitmap* bm, int x, int y, const SkVector3& norm) { in norm_to_rgb()
201 void create_hemi_normal_map(SkBitmap* bm, const SkIRect& dst) { in create_hemi_normal_map()
225 void create_frustum_normal_map(SkBitmap* bm, const SkIRect& dst) { in create_frustum_normal_map()
266 void create_tetra_normal_map(SkBitmap* bm, const SkIRect& dst) { in create_tetra_normal_map()
310 bool copy_to(SkBitmap* dst, SkColorType dstColorType, const SkBitmap& src) { in copy_to()
316 SkBitmap tmpDst; in copy_to()
339 void copy_to_g8(SkBitmap* dst, const SkBitmap& src) { in copy_to_g8()
392 bool equal_pixels(const SkBitmap& bm0, const SkBitmap& bm1) { in equal_pixels()