• Home
  • Raw
  • Download

Lines Matching refs:stitchData

322         SkPMColor shade(const SkPoint& point, StitchData& stitchData) const;
325 … StitchData& stitchData, const SkPoint& point) const;
328 const StitchData& stitchData, const SkPoint& noiseVector) const;
432 int channel, const StitchData& stitchData, const SkPoint& noiseVector) const { in noise2D() argument
452 checkNoise(noiseX.noisePositionIntegerValue, stitchData.fWrapX, stitchData.fWidth); in noise2D()
454 checkNoise(noiseY.noisePositionIntegerValue, stitchData.fWrapY, stitchData.fHeight); in noise2D()
456 checkNoise(noiseX.nextNoisePositionIntegerValue, stitchData.fWrapX, stitchData.fWidth); in noise2D()
458 checkNoise(noiseY.nextNoisePositionIntegerValue, stitchData.fWrapY, stitchData.fHeight); in noise2D()
493 int channel, StitchData& stitchData, const SkPoint& point) const { in calculateTurbulenceValueForPoint() argument
497 stitchData = fPaintingData.fStitchDataInit; in calculateTurbulenceValueForPoint()
504 SkScalar noise = noise2D(channel, stitchData, noiseVector); in calculateTurbulenceValueForPoint()
513 stitchData.fWidth *= 2; in calculateTurbulenceValueForPoint()
514 stitchData.fWrapX = stitchData.fWidth + kPerlinNoise; in calculateTurbulenceValueForPoint()
515 stitchData.fHeight *= 2; in calculateTurbulenceValueForPoint()
516 stitchData.fWrapY = stitchData.fHeight + kPerlinNoise; in calculateTurbulenceValueForPoint()
597 const SkPoint& point, StitchData& stitchData) const { in shade()
611 value = calculateTurbulenceValueForPoint(channel, stitchData, newPoint); in shade()
649 StitchData stitchData; in shadeSpan() local
651 result[i] = shade(point, stitchData); in shadeSpan()
694 …const SkPerlinNoiseShaderImpl::StitchData& stitchData() const { return fPaintingData->fStitchDataI… in stitchData() function in GrPerlinNoise2Effect
805 const char* stitchData = "stitchData"; in emitCode() local
830 GrShaderVar(stitchData, kVec2f_GrSLType) in emitCode()
847 floorVal, stitchData, floorVal, stitchData); in emitCode()
849 floorVal, stitchData, floorVal, stitchData); in emitCode()
851 floorVal, stitchData, floorVal, stitchData); in emitCode()
853 floorVal, stitchData, floorVal, stitchData); in emitCode()
973 fragBuilder->codeAppendf("\n\t\tvec2 %s = %s;", stitchData, stitchDataUni); in emitCode()
989 noiseFuncName.c_str(), chanCoordR, noiseVec, stitchData, in emitCode()
990 noiseFuncName.c_str(), chanCoordG, noiseVec, stitchData, in emitCode()
991 noiseFuncName.c_str(), chanCoordB, noiseVec, stitchData, in emitCode()
992 noiseFuncName.c_str(), chanCoordA, noiseVec, stitchData); in emitCode()
1011 fragBuilder->codeAppendf("\n\t\t\t%s *= vec2(2.0);", stitchData); in emitCode()
1068 const SkPerlinNoiseShaderImpl::StitchData& stitchData = turbulence.stitchData(); in onSetData() local
1069 pdman.set2f(fStitchDataUni, SkIntToScalar(stitchData.fWidth), in onSetData()
1070 SkIntToScalar(stitchData.fHeight)); in onSetData()