Home
last modified time | relevance | path

Searched refs:fGradient (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/effects/
DSkPerlinNoiseShader.cpp106 SkPoint fGradient[4][kBlockSize]; member
187 fGradient[channel][i] = SkPoint::Make( in init()
190 fGradient[channel][i].normalize(); in init()
193 (fGradient[channel][i].fX + 1) * gHalfMax16bits); in init()
195 (fGradient[channel][i].fY + 1) * gHalfMax16bits); in init()
363 u = fPaintingData->fGradient[channel][b00].dot(fractionValue); in noise2D()
365 v = fPaintingData->fGradient[channel][b10].dot(fractionValue); in noise2D()
368 v = fPaintingData->fGradient[channel][b11].dot(fractionValue); in noise2D()
370 u = fPaintingData->fGradient[channel][b01].dot(fractionValue); in noise2D()
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp160 SkPoint fGradient[4][kBlockSize]; member
243 fGradient[channel][i] = SkPoint::Make( in init()
246 fGradient[channel][i].normalize(); in init()
249 (fGradient[channel][i].fX + 1) * gHalfMax16bits); in init()
251 (fGradient[channel][i].fY + 1) * gHalfMax16bits); in init()
429 u = fPaintingData->fGradient[channel][b00].dot(fractionValue); in noise2D()
431 v = fPaintingData->fGradient[channel][b10].dot(fractionValue); in noise2D()
434 v = fPaintingData->fGradient[channel][b11].dot(fractionValue); in noise2D()
436 u = fPaintingData->fGradient[channel][b01].dot(fractionValue); in noise2D()