Home
last modified time | relevance | path

Searched refs:outColors (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/effects/gradients/
DSkGradientShader.cpp1166 int outColors = random->nextRangeU(1, kMaxRandomGradientColors); in RandomGradientParams() local
1169 if (outColors == 1 || (outColors >= 2 && random->nextBool())) { in RandomGradientParams()
1174 for (int i = 0; i < outColors; ++i) { in RandomGradientParams()
1178 stop = i < outColors - 1 ? stop + random->nextUScalar1() * (1.f - stop) : 1.f; in RandomGradientParams()
1183 return outColors; in RandomGradientParams()
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp1406 …es (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>& outColors) const;
1486 …tices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>& outColors) const in generateVertices()
1499 outColors.resize(6); in generateVertices()
1519 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
1603 …ces (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>& outColors) const;
1713 …tices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>& outColors) const in generateVertices()
1726 outColors.resize(6); in generateVertices()
1746 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
Des2fTextureUnitTests.cpp473 Vec4 outColors[4] = { Vec4(0.0f), Vec4(0.0f), Vec4(0.0f), Vec4(0.0f) }; in shadeFragments() local
521 outColors[fragNdx] += colorMultiplier * texSamples[fragNdx]; in shadeFragments()
526 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, outColors[fragNdx]); in shadeFragments()
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp1683 …es (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>& outColors) const;
1764 …tices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>& outColors) const in generateVertices()
1777 outColors.resize(6); in generateVertices()
1797 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()
1910 …ces (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>& outColors) const;
2066 …tices (int iteration, std::vector<tcu::Vec4>& outVertices, std::vector<tcu::Vec4>& outColors) const in generateVertices()
2079 outColors.resize(6); in generateVertices()
2099 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; in generateVertices()