Home
last modified time | relevance | path

Searched refs:invokeChild (Results 1 – 21 of 21) sorted by relevance

/external/skia/src/effects/
DSkTableColorFilter.cpp212 SkString inputColor = this->invokeChild(kInputFPIndex, args); in onMakeProgramImpl()
213 SkString a = this->invokeChild(kTexEffectFPIndex, args, "half2(coord.a, 0.5)"); in onMakeProgramImpl()
214 SkString r = this->invokeChild(kTexEffectFPIndex, args, "half2(coord.r, 1.5)"); in onMakeProgramImpl()
215 SkString g = this->invokeChild(kTexEffectFPIndex, args, "half2(coord.g, 2.5)"); in onMakeProgramImpl()
216 SkString b = this->invokeChild(kTexEffectFPIndex, args, "half2(coord.b, 3.5)"); in onMakeProgramImpl()
/external/skia/src/gpu/ganesh/effects/
DGrSkSLFP.cpp142 return std::string(fSelf->invokeChild(index, fInputColor, fArgs, coords).c_str()); in emitCode()
146 return std::string(fSelf->invokeChild(index, in emitCode()
157 fSelf->invokeChild(index, src.c_str(), dst.c_str(), fArgs).c_str()); in emitCode()
168 SkString xformedColor = fSelf->invokeChild( in emitCode()
179 SkString xformedColor = fSelf->invokeChild( in emitCode()
198 this->invokeChild(fp.fInputChildIndex, args).c_str()); in emitCode()
208 this->invokeChild(fp.fDestColorChildIndex, args.fDestColor, args).c_str()); in emitCode()
DGrModulateAtlasCoverageEffect.cpp48 SkString inputColor = this->invokeChild(0, args); in onMakeProgramImpl()
60 SkString atlasCoverage = this->invokeChild(1, args, "sk_FragCoord.xy"); in onMakeProgramImpl()
DGrBlendFragmentProcessor.cpp227 SkString srcColor = this->invokeChild(0, args); in onMakeProgramImpl()
228 SkString dstColor = this->invokeChild(1, args); in onMakeProgramImpl()
DGrMatrixConvolutionEffect.cpp179 SkString kernelSample = this->invokeChild(1, args, "float2(float(i) + 0.5, 0.5)"); in emitKernelBlock()
190 auto sample = this->invokeChild(0, args, "coord + sourceOffset"); in emitKernelBlock()
245 auto sample = this->invokeChild(0, args); in emitCode()
DGrBicubicEffect.cpp56 auto childStr = this->invokeChild(0, args, coord); in emitCode()
81 auto childStr = this->invokeChild(0, args, coord); in emitCode()
DGrConvexPolyEffect.cpp126 SkString inputSample = this->invokeChild(/*childIndex=*/0, args); in onMakeProgramImpl()
DGrGaussianConvolutionFragmentProcessor.cpp74 SkString sample = this->invokeChild(/*childIndex=*/0, args, childCoord); in emitCode()
DGrRRectEffect.cpp289 SkString inputSample = this->invokeChild(/*childIndex=*/0, args); in emitCode()
615 SkString inputSample = this->invokeChild(/*childIndex=*/0, args); in emitCode()
DGrYUVtoRGBEffect.cpp284 this->invokeChild(planeIdx, args, sampleCoords).c_str(), in onMakeProgramImpl()
/external/skia/src/gpu/ganesh/
DGrFragmentProcessor.h542 inline SkString invokeChild(int childIndex,
545 return this->invokeChild(childIndex,
560 inline SkString invokeChild(int childIndex,
564 return this->invokeChild(childIndex,
591 SkString invokeChild(int childIndex,
DGrFragmentProcessor.cpp275 SkString childColor = this->invokeChild(0, args); in SwizzleOutput()
386 SkString result = this->invokeChild(1, args); // g(x) in Compose()
387 result = this->invokeChild(0, result.c_str(), args); // f(g(x)) in Compose()
573 auto child = this->invokeChild(0, args.fInputColor, args, "sk_FragCoord.xy"); in DeviceSpace()
824 SkString childColor = this->invokeChild(0, args); in HighPrecision()
855 SkString ProgramImpl::invokeChild(int childIndex, in invokeChild() function in ProgramImpl
DGrColorSpaceXform.cpp125 SkString childColor = this->invokeChild(0, args); in onMakeProgramImpl()
/external/skia/gm/
Dfpcoordinateoverride.cpp66 SkString s1 = this->invokeChild(0, args, "float2(sk_FragCoord.x, sk_FragCoord.y)"); in onMakeProgramImpl()
67 SkString s2 = this->invokeChild(0, args, "float2(sk_FragCoord.x, 512-sk_FragCoord.y)"); in onMakeProgramImpl()
Ddestcolor.cpp54 SkString result = this->invokeChild(0, args); in onMakeProgramImpl()
Dfp_sample_chaining.cpp88 SkString sample = this->invokeChild(0, args, "coord"); in onMakeProgramImpl()
/external/skia/src/shaders/
DSkPerlinNoiseShader.cpp753 SkString sampleX = this->invokeChild(0, "half4(1)", args, "half2(floorVal.x, 0.5)"); in emitCode()
754 SkString sampleY = this->invokeChild(0, "half4(1)", args, "half2(floorVal.z, 0.5)"); in emitCode()
780 SkString sampleA = this->invokeChild(1, "half4(1)", args, "half2(bcoords.x, chanCoord)"); in emitCode()
781 SkString sampleB = this->invokeChild(1, "half4(1)", args, "half2(bcoords.y, chanCoord)"); in emitCode()
782 SkString sampleC = this->invokeChild(1, "half4(1)", args, "half2(bcoords.w, chanCoord)"); in emitCode()
783 SkString sampleD = this->invokeChild(1, "half4(1)", args, "half2(bcoords.z, chanCoord)"); in emitCode()
/external/skia/src/effects/imagefilters/
DSkDisplacementMapImageFilter.cpp572 SkString displacementSample = this->invokeChild(/*childIndex=*/0, args); in emitCode()
590 SkString colorSample = this->invokeChild(/*childIndex=*/1, args, "cCoords"); in emitCode()
DSkMorphologyImageFilter.cpp300 SkString sample = this->invokeChild(kTexEffectIndex, args, "coord"); in onMakeProgramImpl()
310 SkString inputColor = this->invokeChild(kInputFPIndex, args); in onMakeProgramImpl()
DSkLightingImageFilter.cpp1883 auto sample = this->invokeChild(0, args, texCoords.c_str()); in emitCode()
/external/skia/tests/
DProgramsTest.cpp133 SkString temp = this->invokeChild(0, args); in emitCode()