/external/skia/src/core/ |
D | SkColorFilterShader.cpp | 20 : fShader(std::move(shader)) in SkColorFilterShader() 23 SkASSERT(fShader); in SkColorFilterShader() 37 buffer.writeFlattenable(fShader.get()); in flatten() 42 const SkColorFilterShader& filterShader = static_cast<const SkColorFilterShader&>(fShader); in getFlags() 58 SkShader::Context* shaderContext = fShader->makeContext(rec, alloc); in onMakeContext() 76 const SkColorFilterShader& filterShader = static_cast<const SkColorFilterShader&>(fShader); in shadeSpan() 84 const SkColorFilterShader& filterShader = static_cast<const SkColorFilterShader&>(fShader); in shadeSpan4f() 95 sk_sp<GrFragmentProcessor> fp1(fShader->asFragmentProcessor(args)); in asFragmentProcessor() 116 fShader->toString(str); in toString()
|
D | SkRasterPipelineBlitter.cpp | 49 SkRasterPipeline fShader; member in SkRasterPipelineBlitter 100 SkRasterPipeline* pipeline = &blitter->fShader; in Create() 228 p.extend(fShader); in blitH() 242 p.extend(fShader); in blitAntiH() 280 p.extend(fShader); in blitMask() 296 p.extend(fShader); in blitMask()
|
D | SkPictureShader.cpp | 72 , fShader(SkRef(tileShader)) {} in BitmapShaderRec() 75 sk_sp<SkShader> fShader; member 90 *result = rec.fShader; in Visitor()
|
D | SkColorFilterShader.h | 53 sk_sp<SkShader> fShader;
|
D | SkShader.cpp | 101 : fShader(shader), fCTM(*rec.fMatrix) in Context() 105 SkAssertResult(fShader.computeTotalInverse(rec, &fTotalInverse)); in Context()
|
D | SkBlitter.cpp | 974 , fShader(paint.getShader()) in SkShaderBlitter() 976 SkASSERT(fShader); in SkShaderBlitter() 979 fShader->ref(); in SkShaderBlitter() 985 fShader->unref(); in ~SkShaderBlitter()
|
D | SkCoreBlitters.h | 41 const SkShader* fShader; variable
|
D | SkComposeShader.cpp | 123 SkBlendMode mode = static_cast<const SkComposeShader&>(fShader).fMode; in shadeSpan()
|
/external/skia/gm/ |
D | samplerstress.cpp | 69 if (fShader) { in createShader() 75 fShader = SkShader::MakeBitmapShader(fTexture, SkShader::kRepeat_TileMode, in createShader() 99 paint.setShader(fShader); in onDraw() 141 sk_sp<SkShader> fShader; member in skiagm::SamplerStressGM
|
D | textblobshader.cpp | 72 fShader = SkGradientShader::MakeRadial(SkPoint::Make(SkIntToScalar(sz.width() / 2), in onOnceBeforeDraw() 90 p.setShader(fShader); in onDraw() 108 sk_sp<SkShader> fShader; member in TextBlobShaderGM
|
D | constcolorprocessor.cpp | 45 fShader = SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in onOnceBeforeDraw() 100 skPaint.setShader(fShader); in onDraw() 177 sk_sp<SkShader> fShader; member in skiagm::ConstColorProcessor
|
D | gradients.cpp | 630 fShader = SkGradientShader::MakeRadial(center, kRadius, gColors, nullptr, 2, in onOnceBeforeDraw() 636 paint.setShader(fShader); in onDraw() 642 sk_sp<SkShader> fShader; member in skiagm::RadialGradient3GM 667 fShader = SkGradientShader::MakeRadial(center, kRadius, colors, pos, in onOnceBeforeDraw() 675 paint.setShader(fShader); in onDraw() 680 sk_sp<SkShader> fShader; member in skiagm::RadialGradient4GM 710 for (int index = 0; index < (int) SK_ARRAY_COUNT(fShader); ++index) { in onOnceBeforeDraw() 715 fShader[index] = SkGradientShader::MakeLinear(pts, colors, pos, in onOnceBeforeDraw() 724 for (int index = 0; index < (int) SK_ARRAY_COUNT(fShader); ++index) { in onDraw() 725 paint.setShader(fShader[index]); in onDraw() [all …]
|
D | bleed.cpp | 232 paint.setShader(fShader); in drawCase1() 248 paint.setShader(fShader); in drawCase2() 267 paint.setShader(fShader); in drawCase3() 285 paint.setShader(fShader); in drawCase4() 303 paint.setShader(fShader); in drawCase5() 317 fShader = gBleedRec[fBT].fShaderMaker(); in onDraw() 434 sk_sp<SkShader> fShader; member in BleedGM
|
D | composeshader.cpp | 39 fShader = make_shader(SkBlendMode::kDstIn); in ComposeShaderGM() 55 paint.setShader(fShader); in onDraw() 60 sk_sp<SkShader> fShader; member in ComposeShaderGM
|
/external/skia/bench/ |
D | PDFBench.cpp | 200 sk_sp<SkShader> fShader; member 209 fShader = SkGradientShader::MakeLinear( in onDelayedSetup() 214 SkASSERT(fShader); in onDraw() 221 &doc, 72, fShader.get(), SkMatrix::I(), in onDraw()
|
/external/skia/samplecode/ |
D | SampleShaders.cpp | 41 sk_sp<SkShader> fShader; member in ShaderView 62 fShader = SkShader::MakeComposeShader(std::move(shaderA), std::move(shaderB), in ShaderView() 86 paint.setShader(fShader); in onDrawContent()
|
D | SampleColorFilter.cpp | 112 sk_sp<SkShader> fShader; member in ColorFilterView 119 fShader = sk_tool_utils::create_checkerboard_shader( in ColorFilterView() 139 paint.setShader(fShader); in onDrawBackground()
|
D | SampleFatBits.cpp | 72 if (fShader == fShader0) { in togglePixelColors() 73 fShader = fShader1; in togglePixelColors() 75 fShader = fShader0; in togglePixelColors() 98 fShader = fShader0; in setWHZ() 122 sk_sp<SkShader> fShader; member in FatBits 182 paint.setShader(fShader); in drawBG()
|
/external/skia/src/effects/gradients/ |
D | SkGradientShaderPriv.h | 147 const SkGradientShaderBase& fShader; variable 340 , fShader(shader) in CreateArgs() 347 const SkGradientShaderBase* fShader; member
|
D | SkGradientShader.cpp | 409 , fShader(shader) in GradientShaderCache() 589 if (cache->fShader.fColorCount == 2) { in initCache32() 590 Build32bitCache(cache->fCache32, cache->fShader.fOrigColors[0], in initCache32() 591 cache->fShader.fOrigColors[1], kCache32Count, cache->fCacheAlpha, in initCache32() 592 cache->fShader.fGradFlags, cache->fCacheDither); in initCache32() 594 Rec* rec = cache->fShader.fRecs; in initCache32() 596 for (int i = 1; i < cache->fShader.fColorCount; i++) { in initCache32() 601 Build32bitCache(cache->fCache32 + prevIndex, cache->fShader.fOrigColors[i-1], in initCache32() 602 cache->fShader.fOrigColors[i], nextIndex - prevIndex + 1, in initCache32() 603 cache->fCacheAlpha, cache->fShader.fGradFlags, cache->fCacheDither); in initCache32() [all …]
|
D | SkTwoPointConicalGradient_gpu.cpp | 95 *static_cast<const SkTwoPointConicalGradient*>(args.fShader); in Edge2PtConicalEffect() 401 return static_cast<const SkTwoPointConicalGradient*>(args.fShader)->isFlippedGrad(); in IsFlipped() 614 : INHERITED(args, args.fShader->colorsAreOpaque()), fFocalX(focalX) { in FocalInside2PtConicalEffect() 857 : INHERITED(args, args.fShader->colorsAreOpaque()), fInfo(info) { in CircleInside2PtConicalEffect() 1080 *static_cast<const SkTwoPointConicalGradient*>(args.fShader); in CircleOutside2PtConicalEffect() 1303 *static_cast<const SkTwoPointConicalGradient*>(args.fShader); in Make() 1317 GrGradientEffect::CreateArgs newArgs(args.fContext, args.fShader, &matrix, args.fTileMode, in Make()
|
D | SkRadialGradient.cpp | 192 const SkRadialGradient& radialGradient = static_cast<const SkRadialGradient&>(fShader); in shadeSpan() 257 GrRadialGradient(const CreateArgs& args) : INHERITED(args, args.fShader->colorsAreOpaque()) { in GrRadialGradient()
|
D | SkSweepGradient.cpp | 139 GrSweepGradient(const CreateArgs& args) : INHERITED(args, args.fShader->colorsAreOpaque()) { in GrSweepGradient()
|
/external/skia/include/core/ |
D | SkPaint.h | 481 SkShader* getShader() const { return fShader.get(); } in getShader() 1053 sk_sp<SkShader> fShader; variable
|
D | SkShader.h | 205 const SkShader& fShader;
|