/external/skia/src/effects/gradients/ |
D | SkLinearGradient.cpp | 104 *dstC++ = cache[toggle + fi]; \ 111 SkPMColor* dstC, const SkPMColor* cache, 118 SkPMColor* SK_RESTRICT dstC, in shadeSpan_linear_vertical_lerp() argument 137 sk_memset32_dither(dstC, lerp, dlerp, count); in shadeSpan_linear_vertical_lerp() 141 SkPMColor* SK_RESTRICT dstC, in shadeSpan_linear_clamp() argument 148 sk_memset32_dither(dstC, in shadeSpan_linear_clamp() 152 dstC += count; in shadeSpan_linear_clamp() 170 sk_memset32_dither(dstC, in shadeSpan_linear_clamp() 178 SkPMColor* SK_RESTRICT dstC, in shadeSpan_linear_mirror() argument 185 *dstC++ = cache[toggle + fi]; in shadeSpan_linear_mirror() [all …]
|
D | SkRadialGradient.cpp | 68 uint16_t* dstC, const uint16_t* cache, 73 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, in shadeSpan16_radial_clamp() argument 98 *dstC++ = cache[toggle + in shadeSpan16_radial_clamp() 110 *dstC++ = cache[toggle + in shadeSpan16_radial_clamp() 119 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, in shadeSpan16_radial() argument 125 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache16Shift)]; in shadeSpan16_radial() 133 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, in shadeSpan16_radial_mirror() argument 135 shadeSpan16_radial<mirror_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggle, count); in shadeSpan16_radial_mirror() 139 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, in shadeSpan16_radial_repeat() argument 141 shadeSpan16_radial<repeat_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggle, count); in shadeSpan16_radial_repeat() [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 | SkTwoPointRadialGradient.cpp | 111 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 118 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_twopoint_clamp() argument 125 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan_twopoint_clamp() 135 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_twopoint_mirror() argument 142 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan_twopoint_mirror() 153 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_twopoint_repeat() argument 160 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan_twopoint_repeat() 251 SkPMColor* SK_RESTRICT dstC = dstCParam; in shadeSpan() local 255 sk_bzero(dstC, count * sizeof(*dstC)); in shadeSpan() 298 dstC, cache, count); in shadeSpan() [all …]
|
D | SkSweepGradient.cpp | 84 void SkSweepGradient::SweepGradientContext::shadeSpan(int x, int y, SkPMColor* SK_RESTRICT dstC, in shadeSpan() argument 111 *dstC++ = cache[toggle + SkATan2_255(fy, fx)]; in shadeSpan() 120 *dstC++ = cache[toggle + SkATan2_255(srcPt.fY, srcPt.fX)]; in shadeSpan() 126 void SkSweepGradient::SweepGradientContext::shadeSpan16(int x, int y, uint16_t* SK_RESTRICT dstC, in shadeSpan16() argument 154 *dstC++ = cache[toggle + index]; in shadeSpan16() 166 *dstC++ = cache[toggle + index]; in shadeSpan16()
|
D | SkSweepGradient.h | 25 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; 26 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
|
D | SkLinearGradient.h | 24 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; 25 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
|
D | SkRadialGradient.h | 25 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; 26 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
D | SkLinearGradient.cpp | 118 *dstC++ = cache[toggle + fi]; \ 125 SkPMColor* dstC, const SkPMColor* cache, 132 SkPMColor* SK_RESTRICT dstC, in shadeSpan_linear_vertical_lerp() argument 151 sk_memset32_dither(dstC, lerp, dlerp, count); in shadeSpan_linear_vertical_lerp() 155 SkPMColor* SK_RESTRICT dstC, in shadeSpan_linear_clamp() argument 162 sk_memset32_dither(dstC, in shadeSpan_linear_clamp() 166 dstC += count; in shadeSpan_linear_clamp() 184 sk_memset32_dither(dstC, in shadeSpan_linear_clamp() 192 SkPMColor* SK_RESTRICT dstC, in shadeSpan_linear_mirror() argument 199 *dstC++ = cache[toggle + fi]; in shadeSpan_linear_mirror() [all …]
|
D | SkRadialGradient.cpp | 68 uint16_t* dstC, const uint16_t* cache, 73 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, in shadeSpan16_radial_clamp() argument 98 *dstC++ = cache[toggle + in shadeSpan16_radial_clamp() 110 *dstC++ = cache[toggle + in shadeSpan16_radial_clamp() 119 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, in shadeSpan16_radial() argument 125 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache16Shift)]; in shadeSpan16_radial() 133 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, in shadeSpan16_radial_mirror() argument 135 shadeSpan16_radial<mirror_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggle, count); in shadeSpan16_radial_mirror() 139 uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, in shadeSpan16_radial_repeat() argument 141 shadeSpan16_radial<repeat_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggle, count); in shadeSpan16_radial_repeat() [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 | SkTwoPointRadialGradient.cpp | 111 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, 118 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_twopoint_clamp() argument 125 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan_twopoint_clamp() 135 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_twopoint_mirror() argument 142 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan_twopoint_mirror() 153 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_twopoint_repeat() argument 160 *dstC++ = cache[index >> SkGradientShaderBase::kCache32Shift]; in shadeSpan_twopoint_repeat() 251 SkPMColor* SK_RESTRICT dstC = dstCParam; in shadeSpan() local 255 sk_bzero(dstC, count * sizeof(*dstC)); in shadeSpan() 298 dstC, cache, count); in shadeSpan() [all …]
|
D | SkSweepGradient.cpp | 95 void SkSweepGradient::SweepGradientContext::shadeSpan(int x, int y, SkPMColor* SK_RESTRICT dstC, in shadeSpan() argument 122 *dstC++ = cache[toggle + SkATan2_255(fy, fx)]; in shadeSpan() 131 *dstC++ = cache[toggle + SkATan2_255(srcPt.fY, srcPt.fX)]; in shadeSpan() 137 void SkSweepGradient::SweepGradientContext::shadeSpan16(int x, int y, uint16_t* SK_RESTRICT dstC, in shadeSpan16() argument 165 *dstC++ = cache[toggle + index]; in shadeSpan16() 177 *dstC++ = cache[toggle + index]; in shadeSpan16()
|
D | SkLinearGradient.h | 24 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; 25 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
|
D | SkRadialGradient.h | 24 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; 25 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
|
D | SkSweepGradient.h | 24 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; 25 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
|
/external/skia/src/effects/ |
D | SkLerpXfermode.cpp | 44 SkPMColor dstC = dst[i]; in xfer32() local 45 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale); in xfer32() 47 resC = SkFastFourByteInterp256(resC, dstC, a + (a >> 7)); in xfer32() 67 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); in xfer16() local 68 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale); in xfer16() 70 resC = SkFastFourByteInterp256(resC, dstC, a + (a >> 7)); in xfer16() 77 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); in xfer16() local 78 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale); in xfer16()
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkLerpXfermode.cpp | 48 SkPMColor dstC = dst[i]; in xfer32() local 49 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale); in xfer32() 51 resC = SkFastFourByteInterp256(resC, dstC, a + (a >> 7)); in xfer32() 71 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); in xfer16() local 72 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale); in xfer16() 74 resC = SkFastFourByteInterp256(resC, dstC, a + (a >> 7)); in xfer16() 81 SkPMColor dstC = SkPixel16ToPixel32(dst[i]); in xfer16() local 82 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale); in xfer16()
|
/external/skia/src/core/ |
D | SkBitmapProcShader.cpp | 197 void SkBitmapProcShader::BitmapProcShaderContext::shadeSpan(int x, int y, SkPMColor dstC[], in shadeSpan() argument 201 state.getShaderProc32()(state, x, y, dstC, count); in shadeSpan() 231 sproc(state, buffer, n, dstC); in shadeSpan() 238 dstC += n; in shadeSpan() 250 void SkBitmapProcShader::BitmapProcShaderContext::shadeSpan16(int x, int y, uint16_t dstC[], in shadeSpan16() argument 254 state.getShaderProc16()(state, x, y, dstC, count); in shadeSpan16() 273 sproc(state, buffer, n, dstC); in shadeSpan16() 279 dstC += n; in shadeSpan16()
|
D | SkPictureShader.cpp | 164 void SkPictureShader::PictureShaderContext::shadeSpan(int x, int y, SkPMColor dstC[], int count) { in shadeSpan() argument 166 fBitmapShaderContext->shadeSpan(x, y, dstC, count); in shadeSpan() 169 void SkPictureShader::PictureShaderContext::shadeSpan16(int x, int y, uint16_t dstC[], int count) { in shadeSpan16() argument 171 fBitmapShaderContext->shadeSpan16(x, y, dstC, count); in shadeSpan16()
|
D | SkBitmapProcShader.h | 44 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; 46 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
|
D | SkPictureShader.h | 63 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; 64 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkBitmapProcShader.cpp | 210 void SkBitmapProcShader::BitmapProcShaderContext::shadeSpan(int x, int y, SkPMColor dstC[], in shadeSpan() argument 214 state.getShaderProc32()(state, x, y, dstC, count); in shadeSpan() 244 sproc(state, buffer, n, dstC); in shadeSpan() 251 dstC += n; in shadeSpan() 263 void SkBitmapProcShader::BitmapProcShaderContext::shadeSpan16(int x, int y, uint16_t dstC[], in shadeSpan16() argument 267 state.getShaderProc16()(state, x, y, dstC, count); in shadeSpan16() 286 sproc(state, buffer, n, dstC); in shadeSpan16() 292 dstC += n; in shadeSpan16()
|
D | SkBitmapProcShader.h | 45 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; 47 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
|
D | SkPictureShader.h | 64 virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; 65 virtual void shadeSpan16(int x, int y, uint16_t dstC[], int count) SK_OVERRIDE;
|