/third_party/skia/src/shaders/ |
D | SkLocalMatrixShader.cpp | 21 return as_SB(fProxyShader)->asFragmentProcessor( in asFragmentProcessor() 53 return as_SB(fProxyShader)->makeContext(newRec, alloc); in onMakeContext() 76 return as_SB(fProxyShader)->appendStages(newRec); in onAppendStages() 89 return as_SB(fProxyShader)->program(p, device,local, paint, in onProgram() 103 sk_sp<SkShader> proxy(as_SB(this)->makeAsALocalMatrixShader(&otherLocalMatrix)); in makeWithLocalMatrix() 155 return as_SB(fProxyShader)->appendStages(newRec); in onAppendStages() 164 return as_SB(fProxyShader)->program(p, device,local, paint, in onProgram() 188 auto base = as_SB(fProxyShader)->asFragmentProcessor( in asFragmentProcessor()
|
D | SkComposeShader.cpp | 114 if (!as_SB(s0)->appendStages(rec)) { in append_two_shaders() 119 if (!as_SB(s1)->appendStages(rec)) { in append_two_shaders() 148 if ((d = as_SB(fDst)->program(p, device,local, paint, mats,localM, cinfo, uniforms,alloc)) && in onProgram() 149 (s = as_SB(fSrc)->program(p, device,local, paint, mats,localM, cinfo, uniforms,alloc))) in onProgram() 169 auto fpA = as_SB(fDst)->asFragmentProcessor(args); in asFragmentProcessor() 170 auto fpB = as_SB(fSrc)->asFragmentProcessor(args); in asFragmentProcessor()
|
D | SkColorFilterShader.cpp | 53 if (!as_SB(fShader)->appendStages(rec)) { in onAppendStages() 71 skvm::Color c = as_SB(fShader)->program(p, device,local, paint, in onProgram() 96 auto shaderFP = as_SB(fShader)->asFragmentProcessor(args); in asFragmentProcessor()
|
D | SkShaderBase.h | 276 inline SkShaderBase* as_SB(SkShader* shader) { in as_SB() function 280 inline const SkShaderBase* as_SB(const SkShader* shader) { in as_SB() function 284 inline const SkShaderBase* as_SB(const sk_sp<SkShader>& shader) { in as_SB() function
|
D | SkShader.cpp | 122 return as_SB(this)->onIsAImage(localMatrix, xy); in isAImage() 144 return alloc->make<SkTransformShader>(*as_SB(this)); in updatableShader() 186 cb->ctx = as_SB(this)->makeContext(cr, rec.fAlloc); in onAppendStages()
|
D | SkPictureShader.cpp | 293 return as_SB(bitmapShader)->appendStages(localRec); in onAppendStages() 311 return as_SB(bitmapShader)->program(p, device,local, paint, in onProgram() 348 fBitmapShaderContext = as_SB(fBitmapShader)->makeContext(rec, alloc); in PictureShaderContext()
|
/third_party/flutter/skia/src/shaders/ |
D | SkLocalMatrixShader.cpp | 18 return as_SB(fProxyShader)->asFragmentProcessor( in asFragmentProcessor() 50 return as_SB(fProxyShader)->makeContext(newRec, alloc); in onMakeContext() 69 SkPicture* picture = as_SB(fProxyShader)->isAPicture(&proxyMatrix, tileModes, tile); in isAPicture() 84 return as_SB(fProxyShader)->appendStages(newRec); in onAppendStages() 96 sk_sp<SkShader> proxy(as_SB(this)->makeAsALocalMatrixShader(&otherLocalMatrix)); in makeWithLocalMatrix()
|
D | SkShaderBase.h | 240 inline SkShaderBase* as_SB(SkShader* shader) { in as_SB() function 244 inline const SkShaderBase* as_SB(const SkShader* shader) { in as_SB() function 248 inline const SkShaderBase* as_SB(const sk_sp<SkShader>& shader) { in as_SB() function
|
D | SkColorFilterShader.cpp | 42 if (!as_SB(fShader)->appendStages(rec)) { in onAppendStages() 56 auto fp1 = as_SB(fShader)->asFragmentProcessor(args); in asFragmentProcessor()
|
D | SkComposeShader.cpp | 87 if (!as_SB(shader)->appendStages(rec)) { in append_shader_or_paint() 194 if (!as_SB(fRed)->appendStages(rec)) { in onAppendStages() 219 return shader ? as_SB(shader)->asFragmentProcessor(args) : nullptr; in as_fp() 247 auto red = as_SB(fRed)->asFragmentProcessor(args); in asFragmentProcessor()
|
D | SkShader.cpp | 118 return as_SB(this)->onIsAImage(localMatrix, xy); in isAImage() 170 cb->ctx = as_SB(this)->makeContext(cr, rec.fAlloc); in onAppendStages()
|
D | SkPictureShader.cpp | 287 return as_SB(bitmapShader)->appendStages(localRec); in onAppendStages() 322 fBitmapShaderContext = as_SB(fBitmapShader)->makeContext(rec, alloc); in PictureShaderContext() 363 return as_SB(bitmapShader)->asFragmentProcessor(newArgs); in asFragmentProcessor()
|
/third_party/skia/src/core/ |
D | SkSpecialSurface.cpp | 40 static SkSpecialSurface_Base* as_SB(SkSpecialSurface* surface) { in as_SB() function 53 return as_SB(this)->onGetCanvas(); in getCanvas() 57 sk_sp<SkSpecialImage> image(as_SB(this)->onMakeImageSnapshot()); in makeImageSnapshot() 58 as_SB(this)->reset(); in makeImageSnapshot()
|
D | SkPaintPriv.cpp | 65 (p.getShader() && !as_SB(p.getShader())->isConstant()); in ShouldDither() 73 const auto* shader = as_SB(paint.getShader()); in just_a_color()
|
D | SkDraw_atlas.cpp | 118 SkStageUpdater* updator = as_SB(atlasShader.get())->appendUpdatableStages(rec); in drawAtlas() 182 auto updateShader = as_SB(atlasShader)->updatableShader(&alloc); in drawAtlas() 190 shader = as_SB(updateShader); in drawAtlas()
|
D | SkVMBlitter.cpp | 104 skvm::Color c = as_SB(fShader)->program(p, device,local, paint, in onProgram() 248 if (paint.isDither() && !as_SB(shader)->isConstant()) { in EffectiveParams() 314 skvm::Color src = as_SB(params.shader)->program(p, device, /*local=*/device, paint, in BuildProgram() 371 skvm::Color clip = as_SB(params.clip)->program(p, device, /*local=*/device, paint, in BuildProgram() 434 const SkShaderBase* sb = as_SB(shader); in CacheKey()
|
/third_party/flutter/skia/src/core/ |
D | SkSpecialSurface.cpp | 39 static SkSpecialSurface_Base* as_SB(SkSpecialSurface* surface) { in as_SB() function 52 return as_SB(this)->onGetCanvas(); in getCanvas() 56 sk_sp<SkSpecialImage> image(as_SB(this)->onMakeImageSnapshot()); in makeImageSnapshot() 57 as_SB(this)->reset(); in makeImageSnapshot()
|
D | SkPaintPriv.cpp | 59 || !p.getShader() || !as_SB(p.getShader())->isConstant(); in ShouldDither() 67 const auto* shader = as_SB(paint.getShader()); in just_a_color()
|
D | SkNormalMapSource.cpp | 126 std::unique_ptr<GrFragmentProcessor> mapFP = as_SB(fMapShader)->asFragmentProcessor(args); in asFragmentProcessor() 160 auto* context = as_SB(fMapShader)->makeContext(overrideRec, alloc); in asProvider() 170 SkMatrix total = SkMatrix::Concat(*rec.fMatrix, as_SB(fMapShader)->getLocalMatrix()); in computeNormTotalInverse()
|
/third_party/skia/src/pdf/ |
D | SkPDFUtils.h | 117 if (sk_sp<SkShader> s = as_SB(shader)->makeAsALocalMatrixShader(&localMatrix)) { in GetShaderLocalMatrix() 118 return SkMatrix::Concat(as_SB(s)->getLocalMatrix(), localMatrix); in GetShaderLocalMatrix() 120 return as_SB(shader)->getLocalMatrix(); in GetShaderLocalMatrix()
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFUtils.h | 117 if (sk_sp<SkShader> s = as_SB(shader)->makeAsALocalMatrixShader(&localMatrix)) { in GetShaderLocalMatrix() 118 return SkMatrix::Concat(as_SB(s)->getLocalMatrix(), localMatrix); in GetShaderLocalMatrix() 120 return as_SB(shader)->getLocalMatrix(); in GetShaderLocalMatrix()
|
/third_party/flutter/skia/src/gpu/gradients/generated/ |
D | GrLinearGradientLayout.cpp | 74 std::unique_ptr<GrFragmentProcessor> fp = as_SB(shader)->asFragmentProcessor(asFPArgs.args()); in TestCreate()
|
D | GrRadialGradientLayout.cpp | 77 fp = shader ? as_SB(shader)->asFragmentProcessor(asFPArgs.args()) : nullptr; in TestCreate()
|
/third_party/flutter/skia/src/gpu/gradients/ |
D | GrRadialGradientLayout.fp | 67 fp = shader ? as_SB(shader)->asFragmentProcessor(asFPArgs.args()) : nullptr;
|
/third_party/skia/src/effects/ |
D | SkShaderMaskFilter.cpp | 117 return GrFragmentProcessor::MulInputByChildAlpha(as_SB(fShader)->asFragmentProcessor(args)); in onAsFragmentProcessor()
|