/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/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()
|
D | SkDevice.h | 172 sh = as_SB(sh)->makeWithCTM(this->localToDevice()); in clipShader() 174 sh = as_SB(sh)->makeInvertAlpha(); in clipShader()
|
D | SkRasterPipelineBlitter.cpp | 104 auto shader = as_SB(paint.getShader()); in SkCreateRasterPipelineBlitter() 173 if (as_SB(clipShader)->appendStages(rec)) { in Create()
|
D | SkRuntimeEffect.cpp | 793 auto childFP = as_SB(child.shader())->asFragmentProcessor(childArgs); in make_effect_fp() 875 return as_SB(shader)->program(p, coord, coord, c, mats, /*localM=*/nullptr, in onProgram() 1039 return as_SB(shader)->program(p, device, coord, paint, mats, /*localM=*/nullptr, in onProgram() 1149 return as_SB(shader)->program(p, coord, coord, src, mats, /*localM=*/nullptr, in onProgram() 1293 childFPs.push_back(as_SB(shader)->asFragmentProcessor(args)); in makeImage()
|
D | SkDevice.cpp | 420 const auto nested_shader = as_SB(shader)->makeAsALocalMatrixShader(&outer_lm); in make_post_inverse_lm() 428 const auto lm = *as_SB(shader)->totalLocalMatrix(nullptr); in make_post_inverse_lm()
|
D | SkDraw_vertices.cpp | 400 if (auto updater = as_SB(shader)->appendUpdatableStages(rec)) { in drawFixedVertices() 473 texCoordShader = as_SB(shader)->updatableShader(outerAlloc); in drawFixedVertices()
|
D | SkClipStack.cpp | 165 fShader = as_SB(fShader)->makeInvertAlpha(); in invertShapeFillType()
|
/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()
|
D | SkPDFShader.cpp | 273 SkMatrix shaderTransform = as_SB(shader)->getLocalMatrix(); in make_fallback_shader()
|
/third_party/skia/src/effects/ |
D | SkShaderMaskFilter.cpp | 117 return GrFragmentProcessor::MulInputByChildAlpha(as_SB(fShader)->asFragmentProcessor(args)); in onAsFragmentProcessor()
|
/third_party/skia/gm/ |
D | constcolorprocessor.cpp | 117 baseFP = as_SB(fShader)->asFragmentProcessor(args); in onDraw()
|
/third_party/skia/modules/particles/src/ |
D | SkParticleBinding.cpp | 190 skvm::Color result = as_SB(fShader)->program( in call()
|
/third_party/skia/src/svg/ |
D | SkSVGDevice.cpp | 594 if (!as_SB(shader)->getLocalMatrix().isIdentity()) { in addLinearGradientDef() 595 this->addAttribute("gradientTransform", svg_transform(as_SB(shader)->getLocalMatrix())); in addLinearGradientDef()
|
/third_party/skia/tests/ |
D | GradientTest.cpp | 401 as_SB(gradient)->asFragmentProcessor(args); in test_unsorted_degenerate()
|
D | TriangulatingPathRendererTests.cpp | 709 return as_SB(shader)->asFragmentProcessor({rContext, matrixProvider, &colorInfo}); in create_linear_gradient_processor()
|
/third_party/skia/src/gpu/ |
D | SkGr.cpp | 433 if (const SkShaderBase* shader = as_SB(skPaint.getShader())) { in skpaint_to_grpaint_impl()
|