Home
last modified time | relevance | path

Searched refs:SkPackARGB32 (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/gm/
Dxfermodes2.cpp102 SkPackARGB32(0xFF, 0x42, 0x41, 0x42), in onOnceBeforeDraw()
103 SkPackARGB32(0xFF, 0xD6, 0xD3, 0xD6), in onOnceBeforeDraw()
104 SkPackARGB32(0xFF, 0xD6, 0xD3, 0xD6), in onOnceBeforeDraw()
105 SkPackARGB32(0xFF, 0x42, 0x41, 0x42) in onOnceBeforeDraw()
121 SkPMColor rowColor = SkPackARGB32(c, c, 0, c/2); in onOnceBeforeDraw()
133 SkPMColor colColor = SkPackARGB32(c, 0, c, c/2); in onOnceBeforeDraw()
Dbigmatrix.cpp54 pixels[0] = SkPackARGB32(0xFF, 0xFF, 0x00, 0x00);
55 pixels[1] = SkPackARGB32(0xFF, 0x00, 0xFF, 0x00);
56 pixels[2] = SkPackARGB32(0x80, 0x00, 0x00, 0x00);
57 pixels[3] = SkPackARGB32(0xFF, 0x00, 0x00, 0xFF);
Dsimple_magnification.cpp59 *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()
Dxfermodes3.cpp178 SkPackARGB32(0xFF, 0x42, 0x41, 0x42), in onOnceBeforeDraw()
179 SkPackARGB32(0xFF, 0xD6, 0xD3, 0xD6), in onOnceBeforeDraw()
180 SkPackARGB32(0xFF, 0xD6, 0xD3, 0xD6), in onOnceBeforeDraw()
181 SkPackARGB32(0xFF, 0x42, 0x41, 0x42) in onOnceBeforeDraw()
Dbitmappremul.cpp44 dst[x] = SkPackARGB32(y, y, y, y); in make_argb8888_gradient()
67 dst[x] = SkPackARGB32(rowColor, rowColor, in make_argb8888_stripes()
Dtinybitmap.cpp29 *bm.getAddr32(0, 0) = SkPackARGB32(0x80, 0x80, 0, 0); in onDraw()
Djpg_color_cube.cpp46 *bmp.getAddr32(bX + r, bY + g) = SkPackARGB32(255, in onOnceBeforeDraw()
Dfilterbug.cpp33 *bm.getAddr32(x, y) = SkPackARGB32(0xFF, 0x0, 0x0, 0x0); in make_image()
Dhairmodes.cpp74 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCE, 0xCF, 0xCE); in make_bg_shader()
Daarectmodes.cpp122 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCE, in make_bg_shader()
Dcomposeshader.cpp259 dst32Storage[y * width + x] = SkPackARGB32(0xFF, x, y, 0);
Dimage.cpp391 *pm.writable_addr32(x, y) = *pm.addr32(x, y) | SkPackARGB32(0xFF, 0, 0, 0); in slam_ff()
/third_party/skia/src/core/
DSkCompressedDataUtils.cpp83 return SkPackARGB32(0xFF, r8, g8, b8); in add_delta_and_clamp()
166 return SkPackARGB32(0xFF, r8, g8, b8); in from565()
177 return SkPackARGB32(0xFF, r8, g8, b8); in lerp()
196 colors[2] = SkPackARGB32( in decompress_bc1()
202 colors[3] = SkPackARGB32(isOpaque ? 0xFF : 0, 0, 0, 0); in decompress_bc1()
DSkBlitter_ARGB32.cpp56 return SkPackARGB32(0xFF, in blend_lcd16()
91 return SkPackARGB32(0xFF, in blend_lcd16_opaque()
322 __m128i src_sse = _mm_set1_epi32(SkPackARGB32(0xFF, srcR, srcG, srcB)); in blit_row_lcd16()
391 __m128i src_sse = _mm_set1_epi32(SkPackARGB32(0xFF, srcR, srcG, srcB)); in blit_row_lcd16_opaque()
682 fPMColor = SkPackARGB32(fSrcA, fSrcR, fSrcG, fSrcB); in SkARGB32_Blitter()
1241 dst[i] = SkPackARGB32(0xFF, in blend_row_lcd16()
1275 dst[i] = SkPackARGB32(0xFF, in blend_row_LCD16_opaque()
/third_party/skia/include/core/
DSkColorPriv.h104 static inline SkPMColor SkPackARGB32(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPackARGB32() function
135 return SkPackARGB32(a, r, g, b); in SkPremultiplyARGBInline()
/third_party/skia/docs/examples/
DPixmap_getColor.cpp16 storage[x + y * w] = SkPackARGB32(a, a * x / (w - 1), a * y / (h - 1), a); in draw()
/third_party/skia/samplecode/
DSampleAARectModes.cpp62 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, in make_bg_shader()
DSampleHairModes.cpp62 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, 0xCC, 0xCC); in make_bg_shader()
/third_party/skia/tools/skdiff/
Dskdiff.h263 return SkPackARGB32(0xFF, SkAbs32(dr), SkAbs32(dg), SkAbs32(db)); in compute_diff_pmcolor()
/third_party/skia/tests/
DBitmapCopyTest.cpp138 colors[y*4+x] = SkPackARGB32(0xFF, x, y, 0x80); in fill_4x4_pixels()
DReadPixelsTest.cpp59 return SkPackARGB32(0xff, r, g , b); in get_dst_bmp_init_color()
94 return SkPackARGB32(a, r, g, b); in convert_to_pmcolor()
DImageTest.cpp261 const SkPMColor red = SkPackARGB32(0xFF, 0xFF, 0, 0); in DEF_TEST()
262 const SkPMColor green = SkPackARGB32(0xFF, 0, 0xFF, 0); in DEF_TEST()
1260 *bm->getAddr32(a, r) = SkPackARGB32(a, c, c, c); in make_all_premul()
1344 const SkPMColor pmRed = SkPackARGB32(0xFF, 0xFF, 0, 0); in DEF_TEST()
1361 const SkPMColor pmRed = SkPackARGB32(0xFF, 0xFF, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DBlurTest.cpp533 REPORTER_ASSERT(reporter, *p == SkPackARGB32(0xFF, 0, 0, 0)); in DEF_TEST()
/third_party/skia/include/private/
DSkColorData.h169 return SkPackARGB32(a, r, g, b); in SkFourByteInterp256()
/third_party/skia/tools/
DToolUtils.cpp274 *bm->getAddr32(x, y) = SkPackARGB32(0xFF, r, g, b); in norm_to_rgb()

12