Home
last modified time | relevance | path

Searched refs:srcColors (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/utils/
DSkPatchUtils.cpp237 sk_sp<SkVertices> SkPatchUtils::MakeVertices(const SkPoint cubics[12], const SkColor srcColors[4], in MakeVertices()
276 if (srcColors) { in MakeVertices()
281 SkPMColor4f* cornerColors = srcColors ? alloc.makeArray<SkPMColor4f>(4) : nullptr; in MakeVertices()
282 SkPMColor4f* tmpColors = srcColors ? alloc.makeArray<SkPMColor4f>(vertexCount) : nullptr; in MakeVertices()
290 skcolor_to_float(cornerColors, srcColors, kNumCorners, colorSpace); in MakeVertices()
/external/skqp/src/utils/
DSkPatchUtils.cpp235 sk_sp<SkVertices> SkPatchUtils::MakeVertices(const SkPoint cubics[12], const SkColor srcColors[4], in MakeVertices()
274 if (srcColors) { in MakeVertices()
279 SkPMColor4f* cornerColors = srcColors ? alloc.makeArray<SkPMColor4f>(4) : nullptr; in MakeVertices()
280 SkPMColor4f* tmpColors = srcColors ? alloc.makeArray<SkPMColor4f>(vertexCount) : nullptr; in MakeVertices()
288 skcolor_to_float(cornerColors, srcColors, kNumCorners, colorSpace); in MakeVertices()
/external/skia/docs/examples/
Dskpaint_xfer.cpp50 SkColor srcColors[2] = { in draw() local
54 srcPoints, srcColors, nullptr, 2, in draw()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBlendOperationAdvancedTests.cpp59 const Vec4 srcColors[] = { variable
1267 for (deUint32 color = 0; color < DE_LENGTH_OF_ARRAY(srcColors); color++) in prepareRenderPass()
1275 …Vec4 calculatedColor = calculateFinalColor(m_param, m_param.blendOps[i], srcColors[color], dstColo… in prepareRenderPass()
1293 …m_cmdBuffer, *m_pipelineLayout, VK_SHADER_STAGE_FRAGMENT_BIT, 0u, sizeof(Vec4), &srcColors[color]); in prepareRenderPass()
1329 DE_ASSERT(skippedColors < DE_LENGTH_OF_ARRAY(srcColors)); in prepareRenderPass()
1335 …sage << "Skipped " << skippedColors << " out of " << DE_LENGTH_OF_ARRAY(srcColors) << " color case… in prepareRenderPass()
1550 for (deUint32 color = 0; color < DE_LENGTH_OF_ARRAY(srcColors); color++) in verifyTestResult()
1557 …Vec4 rectColor = calculateFinalColor(m_param, m_param.blendOps[colorAtt], srcColors[color], dstCol… in verifyTestResult()
1585 …Vec4 rectColor = calculateFinalColor(m_param, m_param.blendOps[colorAtt], srcColors[color], dstCol… in verifyTestResult()
2052 for (deUint32 color = 0; color < DE_LENGTH_OF_ARRAY(srcColors)/2; color++) in prepareRenderPass()
[all …]
/external/angle/src/tests/gl_tests/
DCopyTextureTest.cpp398 const uint8_t *srcColors, in initializeSourceTexture() argument
409 memcpy(&srcColorsPadded[row * srcRowPitch], &srcColors[row * inputRowPitch], in initializeSourceTexture()
446 const uint8_t *srcColors = getSourceColors(sourceFormat, &colorCount, &componentCount); in testCopyTexture() local
452 &srcColors[i * componentCount], &destColors[i]); in testCopyTexture()
457 initializeSourceTexture(sourceTarget, sourceFormat, &srcColors[i * componentCount], in testCopyTexture()
513 const uint8_t *srcColors = getSourceColors(sourceFormat, &colorCount, &componentCount); in testCopySubTexture() local
519 &srcColors[i * componentCount], &destColors[i]); in testCopySubTexture()
524 initializeSourceTexture(sourceTarget, sourceFormat, &srcColors[i * componentCount], in testCopySubTexture()