Home
last modified time | relevance | path

Searched refs:dstC (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/shaders/gradients/
DSkLinearGradient.cpp181 *dstC++ = cache[toggle + fi]; \
188 SkPMColor* dstC, const SkPMColor* cache,
195 SkPMColor* SK_RESTRICT dstC, in shadeSpan_linear_vertical_lerp() argument
214 sk_memset32_dither(dstC, lerp, dlerp, count); in shadeSpan_linear_vertical_lerp()
218 SkPMColor* SK_RESTRICT dstC, in shadeSpan_linear_clamp() argument
226 sk_memset32_dither(dstC, in shadeSpan_linear_clamp()
230 dstC += count; in shadeSpan_linear_clamp()
248 sk_memset32_dither(dstC, in shadeSpan_linear_clamp()
256 SkPMColor* SK_RESTRICT dstC, in shadeSpan_linear_mirror() argument
263 *dstC++ = cache[toggle + fi]; in shadeSpan_linear_mirror()
[all …]
DSkRadialGradient.cpp91 SkPMColor* dstC, const SkPMColor* cache,
103 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_radial_clamp2() argument
107 sk_memset32_dither(dstC, in shadeSpan_radial_clamp2()
139 *dstC++ = cache[toggle + fi[i]]; in shadeSpan_radial_clamp2()
150 *dstC++ = cache[toggle + fi[i]]; in shadeSpan_radial_clamp2()
162 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_radial() argument
168 *dstC++ = cache[toggle + (fi >> SkGradientShaderBase::kCache32Shift)]; in shadeSpan_radial()
176 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_radial_mirror() argument
178 shadeSpan_radial<mirror_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, count, toggle); in shadeSpan_radial_mirror()
182 SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, in shadeSpan_radial_repeat() argument
[all …]
DSkLinearGradient.h35 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override;
46 void shade4_clamp(int x, int y, SkPMColor dstC[], int count);
47 template <bool, bool> void shade4_dx_clamp(SkPMColor dstC[], int count, float fx, float dx,
DSkRadialGradient.h21 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override;
/external/skia/src/shaders/
DSkBitmapProcShader.cpp58 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override { in shadeSpan() argument
61 state.getShaderProc32()(&state, x, y, dstC, count); in shadeSpan()
77 sproc(state, buffer, n, dstC); in shadeSpan()
84 dstC += n; in shadeSpan()
126 void shadeSpan4f(int x, int y, SkPM4f dstC[], int count) override { in shadeSpan4f() argument
127 fShaderPipeline->shadeSpan4f(x, y, dstC, count); in shadeSpan4f()
130 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override { in shadeSpan() argument
139 dstC[i] = Sk4f_toL32(tmp[i].to4f_pmorder()); in shadeSpan()
141 dstC += n; in shadeSpan()
DSkPictureShader.h63 void shadeSpan(int x, int y, SkPMColor dstC[], int count) override;
DSkPictureShader.cpp356 void SkPictureShader::PictureShaderContext::shadeSpan(int x, int y, SkPMColor dstC[], int count) { in shadeSpan() argument
358 fBitmapShaderContext->shadeSpan(x, y, dstC, count); in shadeSpan()
/external/skia/tests/
DBitmapCopyTest.cpp202 SkPMColor dstC = dstPixels[y*4+x]; in DEF_TEST() local
207 REPORTER_ASSERT(reporter, check_4x4_pixel(dstC, sx, sy)); in DEF_TEST()
209 REPORTER_ASSERT(reporter, 0 == dstC); in DEF_TEST()