/third_party/skia/tests/ |
D | PremulAlphaRoundTripTest.cpp | 53 uint32_t* pixels = bmp.getAddr32(0, a); in fill_surface() 83 const uint32_t* pixels1 = readBmp1.getAddr32(0, y); in test_premul_alpha_roundtrip() 84 const uint32_t* pixels2 = readBmp2.getAddr32(0, y); in test_premul_alpha_roundtrip() 177 uint32_t* srcPixels = src.getAddr32(0, 0); in DEF_TEST() 203 SkDebugf("Src : %08x\n", *src.getAddr32(x, y)); in DEF_TEST() 204 SkDebugf(" -> : %08x\n", *surf.getAddr32(x, y)); in DEF_TEST() 205 SkDebugf(" <- : %08x\n", *read1.getAddr32(x, y)); in DEF_TEST() 206 SkDebugf(" -> : %08x\n", *surf2.getAddr32(x, y)); in DEF_TEST() 207 SkDebugf(" <- : %08x\n", *read2.getAddr32(x, y)); in DEF_TEST() 212 const uint32_t* pixels1 = read1.getAddr32(0, 0); in DEF_TEST() [all …]
|
D | ShaderImageFilterTest.cpp | 55 const SkPMColor* filterPtr = filterResult.getAddr32(0, y); in test_unscaled() 56 const SkPMColor* paintPtr = paintResult.getAddr32(0, y); in test_unscaled() 105 const SkPMColor* filterPtr = filterResult.getAddr32(0, y); in test_scaled() 106 const SkPMColor* paintPtr = paintResult.getAddr32(0, y); in test_scaled()
|
D | QuickRejectTest.cpp | 28 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); in test_drawBitmap() 32 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5)); in test_drawBitmap() 36 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); in test_drawBitmap() 40 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); in test_drawBitmap()
|
/third_party/flutter/skia/tools/skdiff/ |
D | skdiff.cpp | 177 SkPMColor c0 = *dr->fBase.fBitmap.getAddr32(x, y); in compute_diff() 178 SkPMColor c1 = *dr->fComparison.fBitmap.getAddr32(x, y); in compute_diff() 205 *dr->fDifference.fBitmap.getAddr32(x, y) = outputDifference; in compute_diff() 206 *dr->fWhite.fBitmap.getAddr32(x, y) = PMCOLOR_WHITE; in compute_diff() 208 *dr->fDifference.fBitmap.getAddr32(x, y) = 0; in compute_diff() 209 *dr->fWhite.fBitmap.getAddr32(x, y) = PMCOLOR_BLACK; in compute_diff()
|
/third_party/skia/tools/skdiff/ |
D | skdiff.cpp | 177 SkPMColor c0 = *dr->fBase.fBitmap.getAddr32(x, y); in compute_diff() 178 SkPMColor c1 = *dr->fComparison.fBitmap.getAddr32(x, y); in compute_diff() 205 *dr->fDifference.fBitmap.getAddr32(x, y) = outputDifference; in compute_diff() 206 *dr->fWhite.fBitmap.getAddr32(x, y) = PMCOLOR_WHITE; in compute_diff() 208 *dr->fDifference.fBitmap.getAddr32(x, y) = 0; in compute_diff() 209 *dr->fWhite.fBitmap.getAddr32(x, y) = PMCOLOR_BLACK; in compute_diff()
|
/third_party/skia/samplecode/ |
D | SampleAARectModes.cpp | 61 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader() 62 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, in make_bg_shader()
|
D | SampleHairModes.cpp | 61 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader() 62 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, 0xCC, 0xCC); in make_bg_shader()
|
/third_party/flutter/skia/samplecode/ |
D | SampleAARectModes.cpp | 61 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader() 62 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, in make_bg_shader()
|
D | SampleHairModes.cpp | 61 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader() 62 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, 0xCC, 0xCC); in make_bg_shader()
|
D | SampleHairline.cpp | 48 if (!check_zeros(bm.getAddr32(0, i), bm.width(), 1)) { in check_bitmap_margin() 52 if (!check_zeros(bm.getAddr32(0, bottom), bm.width(), 1)) { in check_bitmap_margin() 56 if (!check_zeros(bm.getAddr32(i, 0), bm.height(), SkToInt(rb >> 2))) { in check_bitmap_margin() 60 if (!check_zeros(bm.getAddr32(right, 0), bm.height(), in check_bitmap_margin() 198 bm.getAddr32(MARGIN, MARGIN), bm.rowBytes()); in onDrawContent()
|
D | SampleLitAtlas.cpp | 229 *atlas.getAddr32(x, y) = SK_ColorTRANSPARENT; in MakeAtlas() 232 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0x88, 0x88, 0xFF); in MakeAtlas() 245 *atlas.getAddr32(x, y) = SkPreMultiplyARGB(0, 0, 0, 0); in MakeAtlas() 247 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0xFF, 0, 0); in MakeAtlas() 260 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0, 0xFF, 0); in MakeAtlas() 277 *atlas.getAddr32(x, y) = SkPreMultiplyARGB(0, 0, 0, 0); in MakeAtlas() 279 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0, 0, 0xFF); in MakeAtlas() 305 *atlas.getAddr32(x, y) = SkPackARGB32(0xFF, 0, 0xFF, 0xFF); in MakeAtlas() 307 *atlas.getAddr32(x, y) = SkPackARGB32(0, 0, 0, 0); in MakeAtlas()
|
/third_party/flutter/skia/gm/ |
D | simple_magnification.cpp | 61 *bm.getAddr32(1, 1) = SkPackARGB32(0xFF, 0x00, 0xFF, 0x00); in make_image() 62 *bm.getAddr32(2, 1) = SkPackARGB32(0xFF, 0x00, 0x00, 0xFF); in make_image() 63 *bm.getAddr32(1, 2) = SkPackARGB32(0xFF, 0x00, 0xFF, 0xFF); in make_image() 64 *bm.getAddr32(2, 2) = SkPackARGB32(0xFF, 0x88, 0x88, 0x88); in make_image()
|
D | hairmodes.cpp | 73 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader() 74 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCE, 0xCF, 0xCE); in make_bg_shader()
|
D | aarectmodes.cpp | 120 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader() 121 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCE, in make_bg_shader()
|
D | bitmapfilters.cpp | 34 *bm->getAddr32(0, 0) = colorsPM[0]; in make_bm() 35 *bm->getAddr32(1, 0) = colorsPM[1]; in make_bm() 36 *bm->getAddr32(0, 1) = colorsPM[2]; in make_bm() 37 *bm->getAddr32(1, 1) = colorsPM[3]; in make_bm()
|
/third_party/skia/gm/ |
D | simple_magnification.cpp | 59 *bm.getAddr32(1, 1) = SkPackARGB32(0xFF, 0x00, 0xFF, 0x00); in make_image() 60 *bm.getAddr32(2, 1) = SkPackARGB32(0xFF, 0x00, 0x00, 0xFF); in make_image() 61 *bm.getAddr32(1, 2) = SkPackARGB32(0xFF, 0x00, 0xFF, 0xFF); in make_image() 62 *bm.getAddr32(2, 2) = SkPackARGB32(0xFF, 0x88, 0x88, 0x88); in make_image()
|
D | hairmodes.cpp | 73 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader() 74 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCE, 0xCF, 0xCE); in make_bg_shader()
|
D | aarectmodes.cpp | 121 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = 0xFFFFFFFF; in make_bg_shader() 122 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCE, in make_bg_shader()
|
D | bitmapfilters.cpp | 33 *bm->getAddr32(0, 0) = colorsPM[0]; in make_bm() 34 *bm->getAddr32(1, 0) = colorsPM[1]; in make_bm() 35 *bm->getAddr32(0, 1) = colorsPM[2]; in make_bm() 36 *bm->getAddr32(1, 1) = colorsPM[3]; in make_bm()
|
/third_party/flutter/skia/tests/ |
D | PaintImageFilterTest.cpp | 54 const SkPMColor* filterPtr = filterResult.getAddr32(0, y); in test_unscaled() 55 const SkPMColor* paintPtr = paintResult.getAddr32(0, y); in test_unscaled() 103 const SkPMColor* filterPtr = filterResult.getAddr32(0, y); in test_scaled() 104 const SkPMColor* paintPtr = paintResult.getAddr32(0, y); in test_scaled()
|
D | QuickRejectTest.cpp | 29 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); in test_drawBitmap() 33 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5)); in test_drawBitmap() 37 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); in test_drawBitmap() 41 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); in test_drawBitmap()
|
D | ImageTest.cpp | 203 const bool sameMutable = pm.addr32(0, 0) == bm.getAddr32(0, 0); in DEF_TEST() 212 const bool sameImmutable = pm.addr32(0, 0) == bm.getAddr32(0, 0); in DEF_TEST() 506 *bmp.getAddr32(x, y) = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 525 if (*bmp.getAddr32(x, y) != *unpremul.getAddr32(x, y)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 527 *bmp.getAddr32(x, y), *unpremul.getAddr32(x, y), x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 541 uint32_t origColor = *bmp.getAddr32(x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 548 uint32_t read = *premul.getAddr32(x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 559 *bmp.getAddr32(x, y), *premul.getAddr32(x, y), origColor, x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 722 REPORTER_ASSERT(reporter, imageColor == *bitmap.getAddr32(0, 0)); in check_legacy_bitmap() 1175 *srgbBitmap.getAddr32(0, 0) = SkSwizzle_RGBA_to_PMColor(0xFF604020); in DEF_TEST() [all …]
|
D | PremulAlphaRoundTripTest.cpp | 51 uint32_t* pixels = bmp.getAddr32(0, a); in fill_surface() 82 const uint32_t* pixels1 = readBmp1.getAddr32(0, y); in test_premul_alpha_roundtrip() 83 const uint32_t* pixels2 = readBmp2.getAddr32(0, y); in test_premul_alpha_roundtrip()
|
/third_party/flutter/skia/docs/examples/ |
D | Bitmap_getAddr32.cpp | 7 uint32_t* row0 = source.getAddr32(0, 0); in draw() 8 uint32_t* row1 = source.getAddr32(0, 1); in draw()
|
/third_party/skia/docs/examples/ |
D | Bitmap_getAddr32.cpp | 7 uint32_t* row0 = source.getAddr32(0, 0); in draw() 8 uint32_t* row1 = source.getAddr32(0, 1); in draw()
|