OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kBlockMask
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/skia/src/effects/
SkPerlinNoiseShader.cpp
25
static const int
kBlockMask
= kBlockSize - 1;
383
noiseX.noisePositionIntegerValue &=
kBlockMask
;
384
noiseY.noisePositionIntegerValue &=
kBlockMask
;
389
paintingData.fLatticeSelector[(noiseX.noisePositionIntegerValue + 1) &
kBlockMask
] +
396
u = paintingData.fGradient[channel][latticeIndex &
kBlockMask
].dot(fractionValue);
398
v = paintingData.fGradient[channel][nextLatticeIndex &
kBlockMask
].dot(fractionValue);
401
v = paintingData.fGradient[channel][(nextLatticeIndex + 1) &
kBlockMask
].dot(fractionValue);
403
u = paintingData.fGradient[channel][(latticeIndex + 1) &
kBlockMask
].dot(fractionValue);
[
all
...]
/external/skia/src/effects/
SkPerlinNoiseShader.cpp
25
static const int
kBlockMask
= kBlockSize - 1;
383
noiseX.noisePositionIntegerValue &=
kBlockMask
;
384
noiseY.noisePositionIntegerValue &=
kBlockMask
;
389
paintingData.fLatticeSelector[(noiseX.noisePositionIntegerValue + 1) &
kBlockMask
] +
396
u = paintingData.fGradient[channel][latticeIndex &
kBlockMask
].dot(fractionValue);
398
v = paintingData.fGradient[channel][nextLatticeIndex &
kBlockMask
].dot(fractionValue);
401
v = paintingData.fGradient[channel][(nextLatticeIndex + 1) &
kBlockMask
].dot(fractionValue);
403
u = paintingData.fGradient[channel][(latticeIndex + 1) &
kBlockMask
].dot(fractionValue);
[
all
...]
Completed in 601 milliseconds