/external/skia/src/effects/gradients/ |
D | SkLinearGradient.cpp | 184 *dstC++ = cache[toggle + fi]; \ 191 SkPMColor* dstC, const SkPMColor* cache, 198 SkPMColor* SK_RESTRICT dstC, in shadeSpan_linear_vertical_lerp() argument 217 sk_memset32_dither(dstC, lerp, dlerp, count); in shadeSpan_linear_vertical_lerp() 221 SkPMColor* SK_RESTRICT dstC, in shadeSpan_linear_clamp() argument 229 sk_memset32_dither(dstC, in shadeSpan_linear_clamp() 233 dstC += count; in shadeSpan_linear_clamp() 251 sk_memset32_dither(dstC, in shadeSpan_linear_clamp() 259 SkPMColor* SK_RESTRICT dstC, in shadeSpan_linear_mirror() argument 266 *dstC++ = cache[toggle + fi]; in shadeSpan_linear_mirror() [all …]
|
D | SkTwoPointConicalGradient.cpp | 135 typedef void (*TwoPointConicalProc)(TwoPtRadialContext* rec, SkPMColor* dstC, 138 static void twopoint_clamp(TwoPtRadialContext* rec, SkPMColor* SK_RESTRICT dstC, in twopoint_clamp() argument 144 *dstC++ = 0; in twopoint_clamp() 148 *dstC++ = cache[toggle + in twopoint_clamp() 155 static void twopoint_repeat(TwoPtRadialContext* rec, SkPMColor* SK_RESTRICT dstC, in twopoint_repeat() argument 161 *dstC++ = 0; in twopoint_repeat() 165 *dstC++ = cache[toggle + in twopoint_repeat() 172 static void twopoint_mirror(TwoPtRadialContext* rec, SkPMColor* SK_RESTRICT dstC, in twopoint_mirror() argument 178 *dstC++ = 0; in twopoint_mirror() 182 *dstC++ = cache[toggle + in twopoint_mirror() [all …]
|
D | SkRadialGradient.cpp | 92 SkPMColor* dstC, const SkPMColor* cache, 105 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_radial_clamp2() argument 109 sk_memset32_dither(dstC, in shadeSpan_radial_clamp2() 140 *dstC++ = cache[toggle + fi[i]]; in shadeSpan_radial_clamp2() 151 *dstC++ = cache[toggle + fi[i]]; in shadeSpan_radial_clamp2() 163 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_radial() argument 169 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache32Shift)]; in shadeSpan_radial() 177 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_radial_mirror() argument 179 shadeSpan_radial<mirror_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, count, toggle); in shadeSpan_radial_mirror() 183 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_radial_repeat() argument [all …]
|
D | SkLinearGradient.h | 42 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override; 53 void shade4_clamp(int x, int y, SkPMColor dstC[], int count); 54 template <bool, bool> void shade4_dx_clamp(SkPMColor dstC[], int count, float fx, float dx,
|
D | SkSweepGradient.cpp | 80 void SkSweepGradient::SweepGradientContext::shadeSpan(int x, int y, SkPMColor* SK_RESTRICT dstC, in shadeSpan() argument 105 *dstC++ = cache[toggle + SkATan2_255(fy, fx)]; in shadeSpan() 114 *dstC++ = cache[toggle + SkATan2_255(srcPt.fY, srcPt.fX)]; in shadeSpan()
|
D | SkSweepGradient.h | 24 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override;
|
D | SkRadialGradient.h | 24 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override;
|
D | SkTwoPointConicalGradient.h | 56 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override;
|
/external/skia/src/core/ |
D | SkBitmapProcShader.cpp | 140 void SkBitmapProcShader::BitmapProcShaderContext::shadeSpan(int x, int y, SkPMColor dstC[], in shadeSpan() argument 144 state.getShaderProc32()(&state, x, y, dstC, count); in shadeSpan() 172 sproc(state, buffer, n, dstC); in shadeSpan() 179 dstC += n; in shadeSpan()
|
D | SkXfermode4f.cpp | 25 template <DstType D> Sk4f load_dst(SkPMColor dstC) { in load_dst() argument 26 return (D == kSRGB_Dst) ? Sk4f_fromS32(dstC) : Sk4f_fromL32(dstC); in load_dst() 29 static Sk4f srgb_4b_to_linear_unit(SkPMColor dstC) { in srgb_4b_to_linear_unit() argument 30 return Sk4f_fromS32(dstC); in srgb_4b_to_linear_unit() 98 SkPMColor dstC = dst[i]; in clear_linear() local 101 C = SkFourByteInterp(C, dstC, a); in clear_linear()
|
D | SkXfermode.cpp | 1022 SkPMColor dstC = dst[i]; in xfer32() local 1023 SkPMColor C = this->xferColor(src[i], dstC); in xfer32() 1025 C = SkFourByteInterp(C, dstC, a); in xfer32() 1040 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); in xfer16() local 1041 dst[i] = SkPixel32ToPixel16_ToU16(this->xferColor(src[i], dstC)); in xfer16() 1047 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); in xfer16() local 1048 SkPMColor C = this->xferColor(src[i], dstC); in xfer16() 1050 C = SkFourByteInterp(C, dstC, a); in xfer16() 1171 SkPMColor dstC = dst[i]; in xfer32() local 1172 SkPMColor C = proc(src[i], dstC); in xfer32() [all …]
|
D | SkPictureShader.h | 64 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override;
|
D | SkBitmapProcShader.h | 44 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override;
|
D | SkPictureShader.cpp | 291 void SkPictureShader::PictureShaderContext::shadeSpan(int x, int y, SkPMColor dstC[], int count) { in shadeSpan() argument 293 fBitmapShaderContext->shadeSpan(x, y, dstC, count); in shadeSpan()
|
D | SkDraw.cpp | 1710 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override; 1778 void SkTriColorShader::TriColorShaderContext::shadeSpan(int x, int y, SkPMColor dstC[], int count) { in shadeSpan() argument 1805 dstC[i] = SkAlphaMulQ(fColors[0], scale0) + in shadeSpan()
|
/external/skia/tests/ |
D | BitmapCopyTest.cpp | 620 SkPMColor dstC = dstPixels[y*4+x]; in DEF_TEST() local 625 REPORTER_ASSERT(reporter, check_4x4_pixel(dstC, sx, sy)); in DEF_TEST() 627 REPORTER_ASSERT(reporter, 0 == dstC); in DEF_TEST()
|