/external/skia/src/core/ |
D | SkBitmap.cpp | 34 static bool reset_return_false(SkBitmap* bm) { in reset_return_false() 39 SkBitmap::SkBitmap() : fFlags(0) {} in SkBitmap() function in SkBitmap 41 SkBitmap::SkBitmap(const SkBitmap& src) in SkBitmap() function in SkBitmap 50 SkBitmap::SkBitmap(SkBitmap&& other) in SkBitmap() function in SkBitmap 60 SkBitmap::~SkBitmap() {} in ~SkBitmap() 62 SkBitmap& SkBitmap::operator=(const SkBitmap& src) { in operator =() 72 SkBitmap& SkBitmap::operator=(SkBitmap&& other) { in operator =() 84 void SkBitmap::swap(SkBitmap& other) { in swap() 90 void SkBitmap::reset() { in reset() 96 void SkBitmap::getBounds(SkRect* bounds) const { in getBounds() [all …]
|
D | SkBitmapDevice.h | 42 SkBitmapDevice(const SkBitmap& bitmap); 56 SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps, 57 void* externalHandle, const SkBitmap* coverage); 92 void drawSprite(const SkBitmap&, int x, int y, const SkPaint&) override; 98 void drawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, 110 sk_sp<SkSpecialImage> makeSpecial(const SkBitmap&) override; 136 virtual void drawBitmap(const SkBitmap&, const SkMatrix&, const SkRect* dstOrNull, 152 void replaceBitmapBackendForRasterSurface(const SkBitmap&) override; 160 SkBitmap fBitmap; 163 std::unique_ptr<SkBitmap> fCoverage; // if non-null, will have the same dimensions as fBitmap [all …]
|
/external/skqp/src/core/ |
D | SkBitmap.cpp | 34 static bool reset_return_false(SkBitmap* bm) { in reset_return_false() 39 SkBitmap::SkBitmap() : fFlags(0) {} in SkBitmap() function in SkBitmap 41 SkBitmap::SkBitmap(const SkBitmap& src) in SkBitmap() function in SkBitmap 50 SkBitmap::SkBitmap(SkBitmap&& other) in SkBitmap() function in SkBitmap 60 SkBitmap::~SkBitmap() {} in ~SkBitmap() 62 SkBitmap& SkBitmap::operator=(const SkBitmap& src) { in operator =() 72 SkBitmap& SkBitmap::operator=(SkBitmap&& other) { in operator =() 84 void SkBitmap::swap(SkBitmap& other) { in swap() 90 void SkBitmap::reset() { in reset() 96 void SkBitmap::getBounds(SkRect* bounds) const { in getBounds() [all …]
|
D | SkBitmapDevice.h | 42 SkBitmapDevice(const SkBitmap& bitmap); 56 SkBitmapDevice(const SkBitmap& bitmap, const SkSurfaceProps& surfaceProps, 57 void* externalHandle, const SkBitmap* coverage); 92 void drawBitmap(const SkBitmap&, SkScalar x, SkScalar y, const SkPaint&) override; 93 void drawSprite(const SkBitmap&, int x, int y, const SkPaint&) override; 99 void drawBitmapRect(const SkBitmap&, const SkRect*, const SkRect&, 111 sk_sp<SkSpecialImage> makeSpecial(const SkBitmap&) override; 137 virtual void drawBitmap(const SkBitmap&, const SkMatrix&, const SkRect* dstOrNull, 153 void replaceBitmapBackendForRasterSurface(const SkBitmap&) override; 161 SkBitmap fBitmap; [all …]
|
/external/skia/include/core/ |
D | SkBitmap.h | 55 class SK_API SkBitmap { 68 SkBitmap(); 76 SkBitmap(const SkBitmap& src); 84 SkBitmap(SkBitmap&& src); 88 ~SkBitmap(); 96 SkBitmap& operator=(const SkBitmap& src); 104 SkBitmap& operator=(SkBitmap&& src); 110 void swap(SkBitmap& other); 361 static bool ComputeIsOpaque(const SkBitmap& bm) { in ComputeIsOpaque() 911 bool extractSubset(SkBitmap* dst, const SkIRect& subset) const; [all …]
|
/external/skqp/include/core/ |
D | SkBitmap.h | 55 class SK_API SkBitmap { 68 SkBitmap(); 76 SkBitmap(const SkBitmap& src); 84 SkBitmap(SkBitmap&& src); 88 ~SkBitmap(); 96 SkBitmap& operator=(const SkBitmap& src); 104 SkBitmap& operator=(SkBitmap&& src); 110 void swap(SkBitmap& other); 361 static bool ComputeIsOpaque(const SkBitmap& bm) { in ComputeIsOpaque() 929 bool extractSubset(SkBitmap* dst, const SkIRect& subset) const; [all …]
|
/external/skia/gm/ |
D | showmiplevels.cpp | 22 static SkBitmap make_bitmap(int w, int h) { in make_bitmap() 23 SkBitmap bm; in make_bitmap() 35 static SkBitmap make_bitmap2(int w, int h) { in make_bitmap2() 36 SkBitmap bm; in make_bitmap2() 55 static SkBitmap make_bitmap3(int w, int h) { in make_bitmap3() 56 SkBitmap bm; in make_bitmap3() 77 SkBitmap fBM[4]; 94 static void apply_gamma(const SkBitmap& bm) { in apply_gamma() 119 static void DrawAndFrame(SkCanvas* canvas, const SkBitmap& orig, SkScalar x, SkScalar y) { in DrawAndFrame() 120 SkBitmap bm; in DrawAndFrame() [all …]
|
D | downsamplebitmap.cpp | 15 SkBitmap (*fMakeBitmap)(SkImageInfo); 19 DownsampleBitmapGM(SkBitmap (*fn)(SkImageInfo), const char* kind, SkFilterQuality fq) in DownsampleBitmapGM() 30 SkBitmap bm = fMakeBitmap(SkImageInfo::MakeN32Premul(1,1)/*whatever*/); in onISize() 39 SkBitmap bm = fMakeBitmap(info); in onDraw() 65 static SkBitmap convert_bitmap_format(SkBitmap src, SkImageInfo info) { in convert_bitmap_format() 66 SkBitmap dst; in convert_bitmap_format() 77 static SkBitmap make_text(SkImageInfo info) { in make_text() 80 SkBitmap bm; in make_text() 107 static SkBitmap make_checkerboard(SkImageInfo info) { in make_checkerboard() 111 SkBitmap bm; in make_checkerboard() [all …]
|
D | all_bitmap_configs.cpp | 17 static SkBitmap copy_bitmap(const SkBitmap& src, SkColorType colorType) { in copy_bitmap() 18 const SkBitmap* srcPtr = &src; in copy_bitmap() 19 SkBitmap tmp(src); in copy_bitmap() 25 SkBitmap copy; in copy_bitmap() 34 static SkBitmap make_bitmap(SkColorType ct) { in make_bitmap() 35 SkBitmap bm; in make_bitmap() 110 const SkBitmap& src, in draw() 128 SkBitmap bitmap; 134 SkBitmap copy565 = copy_bitmap(bitmap, kRGB_565_SkColorType); 140 SkBitmap copy4444 = copy_bitmap(bitmap, kARGB_4444_SkColorType); [all …]
|
D | bitmappremul.cpp | 23 static void init_bitmap(SkColorType ct, SkBitmap* bitmap) { in init_bitmap() 29 static SkBitmap make_argb8888_gradient() { in make_argb8888_gradient() 30 SkBitmap bitmap; in make_argb8888_gradient() 41 static SkBitmap make_argb4444_gradient() { in make_argb4444_gradient() 42 SkBitmap bitmap; in make_argb4444_gradient() 51 static SkBitmap make_argb8888_stripes() { in make_argb8888_stripes() 52 SkBitmap bitmap; in make_argb8888_stripes() 70 static SkBitmap make_argb4444_stripes() { in make_argb4444_stripes() 71 SkBitmap bitmap; in make_argb4444_stripes()
|
/external/skqp/gm/ |
D | showmiplevels.cpp | 22 static SkBitmap make_bitmap(int w, int h) { in make_bitmap() 23 SkBitmap bm; in make_bitmap() 35 static SkBitmap make_bitmap2(int w, int h) { in make_bitmap2() 36 SkBitmap bm; in make_bitmap2() 55 static SkBitmap make_bitmap3(int w, int h) { in make_bitmap3() 56 SkBitmap bm; in make_bitmap3() 77 SkBitmap fBM[4]; 94 static void apply_gamma(const SkBitmap& bm) { in apply_gamma() 119 static void DrawAndFrame(SkCanvas* canvas, const SkBitmap& orig, SkScalar x, SkScalar y) { in DrawAndFrame() 120 SkBitmap bm; in DrawAndFrame() [all …]
|
D | downsamplebitmap.cpp | 15 SkBitmap (*fMakeBitmap)(SkImageInfo); 19 DownsampleBitmapGM(SkBitmap (*fn)(SkImageInfo), const char* kind, SkFilterQuality fq) in DownsampleBitmapGM() 30 SkBitmap bm = fMakeBitmap(SkImageInfo::MakeN32Premul(1,1)/*whatever*/); in onISize() 39 SkBitmap bm = fMakeBitmap(info); in onDraw() 65 static SkBitmap convert_bitmap_format(SkBitmap src, SkImageInfo info) { in convert_bitmap_format() 66 SkBitmap dst; in convert_bitmap_format() 77 static SkBitmap make_text(SkImageInfo info) { in make_text() 80 SkBitmap bm; in make_text() 107 static SkBitmap make_checkerboard(SkImageInfo info) { in make_checkerboard() 111 SkBitmap bm; in make_checkerboard() [all …]
|
D | all_bitmap_configs.cpp | 17 static SkBitmap copy_bitmap(const SkBitmap& src, SkColorType colorType) { in copy_bitmap() 18 const SkBitmap* srcPtr = &src; in copy_bitmap() 19 SkBitmap tmp(src); in copy_bitmap() 25 SkBitmap copy; in copy_bitmap() 34 static SkBitmap make_bitmap(SkColorType ct) { in make_bitmap() 35 SkBitmap bm; in make_bitmap() 110 const SkBitmap& src, in draw() 128 SkBitmap bitmap; 134 SkBitmap copy565 = copy_bitmap(bitmap, kRGB_565_SkColorType); 140 SkBitmap copy4444 = copy_bitmap(bitmap, kARGB_4444_SkColorType); [all …]
|
D | bitmappremul.cpp | 23 static void init_bitmap(SkColorType ct, SkBitmap* bitmap) { in init_bitmap() 29 static SkBitmap make_argb8888_gradient() { in make_argb8888_gradient() 30 SkBitmap bitmap; in make_argb8888_gradient() 41 static SkBitmap make_argb4444_gradient() { in make_argb4444_gradient() 42 SkBitmap bitmap; in make_argb4444_gradient() 51 static SkBitmap make_argb8888_stripes() { in make_argb8888_stripes() 52 SkBitmap bitmap; in make_argb8888_stripes() 70 static SkBitmap make_argb4444_stripes() { in make_argb4444_stripes() 71 SkBitmap bitmap; in make_argb4444_stripes()
|
/external/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 54 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); in SkBitmap_ReleaseInfo() 58 static bool getBitmapInfo(const SkBitmap& bm, in getBitmapInfo() 104 static SkBitmap* prepareForImageRef(const SkBitmap& bm, in prepareForImageRef() 112 SkBitmap* copy; in prepareForImageRef() 114 copy = new SkBitmap; in prepareForImageRef() 120 copy = new SkBitmap(bm); in prepareForImageRef() 125 CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm, in SkCreateCGImageRefWithColorspace() 130 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace() 161 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap() 239 bool SkCreateBitmapFromCGImage(SkBitmap* dst, CGImageRef image) { in SkCreateBitmapFromCGImage() [all …]
|
/external/skqp/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 54 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); in SkBitmap_ReleaseInfo() 58 static bool getBitmapInfo(const SkBitmap& bm, in getBitmapInfo() 104 static SkBitmap* prepareForImageRef(const SkBitmap& bm, in prepareForImageRef() 112 SkBitmap* copy; in prepareForImageRef() 114 copy = new SkBitmap; in prepareForImageRef() 120 copy = new SkBitmap(bm); in prepareForImageRef() 125 CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm, in SkCreateCGImageRefWithColorspace() 130 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace() 161 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap() 239 bool SkCreateBitmapFromCGImage(SkBitmap* dst, CGImageRef image) { in SkCreateBitmapFromCGImage() [all …]
|
/external/skqp/tools/ |
D | sk_tool_utils.h | 29 class SkBitmap; variable 83 void write_pixels(SkCanvas*, const SkBitmap&, int x, int y, SkColorType, SkAlphaType); 84 void write_pixels(SkSurface*, const SkBitmap&, int x, int y, SkColorType, SkAlphaType); 92 bool equal_pixels(const SkBitmap&, const SkBitmap&); 106 SkBitmap create_checkerboard_bitmap(int w, int h, 115 SkBitmap create_string_bitmap(int w, int h, SkColor c, int x, int y, 140 void create_hemi_normal_map(SkBitmap* bm, const SkIRect& dst); 142 void create_frustum_normal_map(SkBitmap* bm, const SkIRect& dst); 144 void create_tetra_normal_map(SkBitmap* bm, const SkIRect& dst); 236 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src); [all …]
|
D | sk_tool_utils.cpp | 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() [all …]
|
/external/skia/tools/ |
D | sk_tool_utils.h | 29 class SkBitmap; variable 78 void write_pixels(SkCanvas*, const SkBitmap&, int x, int y, SkColorType, SkAlphaType); 79 void write_pixels(SkSurface*, const SkBitmap&, int x, int y, SkColorType, SkAlphaType); 87 bool equal_pixels(const SkBitmap&, const SkBitmap&); 101 SkBitmap create_checkerboard_bitmap(int w, int h, 110 SkBitmap create_string_bitmap(int w, int h, SkColor c, int x, int y, 135 void create_hemi_normal_map(SkBitmap* bm, const SkIRect& dst); 137 void create_frustum_normal_map(SkBitmap* bm, const SkIRect& dst); 139 void create_tetra_normal_map(SkBitmap* bm, const SkIRect& dst); 231 bool copy_to(SkBitmap* dst, SkColorType dstCT, const SkBitmap& src); [all …]
|
/external/skia/include/effects/ |
D | SkMatrixConvolutionImageFilter.h | 17 class SkBitmap; variable 102 void filterPixels(const SkBitmap& src, 103 SkBitmap* result, 108 void filterPixels(const SkBitmap& src, 109 SkBitmap* result, 113 void filterInteriorPixels(const SkBitmap& src, 114 SkBitmap* result, 118 void filterBorderPixels(const SkBitmap& src, 119 SkBitmap* result,
|
/external/skqp/include/effects/ |
D | SkMatrixConvolutionImageFilter.h | 17 class SkBitmap; variable 102 void filterPixels(const SkBitmap& src, 103 SkBitmap* result, 108 void filterPixels(const SkBitmap& src, 109 SkBitmap* result, 113 void filterInteriorPixels(const SkBitmap& src, 114 SkBitmap* result, 118 void filterBorderPixels(const SkBitmap& src, 119 SkBitmap* result,
|
/external/skqp/tests/ |
D | BitmapTest.cpp | 24 SkBitmap bm; in test_peekpixels() 50 SkBitmap bm; in test_bigalloc() 63 SkBitmap bm; in test_allocpixels() 94 SkBitmap bm; in test_bigwidth() 117 SkBitmap bm; in DEF_TEST() 137 SkBitmap source; in DEF_TEST() 145 SkBitmap copy; in DEF_TEST() 156 SkBitmap bm; in test_erasecolor_premul() 191 SkBitmap bm; in DEF_TEST() 195 REPORTER_ASSERT(r, SkBitmap::ComputeIsOpaque(bm)); in DEF_TEST() [all …]
|
/external/skia/tests/ |
D | BitmapTest.cpp | 24 SkBitmap bm; in test_peekpixels() 50 SkBitmap bm; in test_bigalloc() 63 SkBitmap bm; in test_allocpixels() 94 SkBitmap bm; in test_bigwidth() 117 SkBitmap bm; in DEF_TEST() 137 SkBitmap source; in DEF_TEST() 145 SkBitmap copy; in DEF_TEST() 156 SkBitmap bm; in test_erasecolor_premul() 191 SkBitmap bm; in DEF_TEST() 195 REPORTER_ASSERT(r, SkBitmap::ComputeIsOpaque(bm)); in DEF_TEST() [all …]
|
/external/skqp/dm/ |
D | DMSrcSink.h | 87 virtual Error SK_WARN_UNUSED_RESULT draw(const Src&, SkBitmap*, SkWStream*, SkString* log) 337 Error draw(const Src& src, SkBitmap*, SkWStream*, SkString*) const override; 350 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 351 Error onDraw(const Src&, SkBitmap*, SkWStream*, SkString*, 391 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 413 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 427 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 438 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 447 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 459 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; [all …]
|
/external/skia/dm/ |
D | DMSrcSink.h | 87 virtual Error SK_WARN_UNUSED_RESULT draw(const Src&, SkBitmap*, SkWStream*, SkString* log) 323 Error draw(const Src& src, SkBitmap*, SkWStream*, SkString*) const override; 336 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 337 Error onDraw(const Src&, SkBitmap*, SkWStream*, SkString*, 377 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 399 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 413 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 424 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 433 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; 445 Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; [all …]
|