Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.cpp99 float floatColors[4]; in set_blend_factor() local
103 floatColors[0] = blendConst.fR; in set_blend_factor()
104 floatColors[1] = blendConst.fG; in set_blend_factor()
105 floatColors[2] = blendConst.fB; in set_blend_factor()
106 floatColors[3] = blendConst.fA; in set_blend_factor()
108 memset(floatColors, 0, 4 * sizeof(float)); in set_blend_factor()
110 gpu->currentCommandList()->setBlendFactor(floatColors); in set_blend_factor()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DInstancingTest.cpp528 std::vector<float> floatColors; in TEST_P() local
531 floatColors.push_back(color.R / 255.0f); in TEST_P()
532 floatColors.push_back(color.G / 255.0f); in TEST_P()
533 floatColors.push_back(color.B / 255.0f); in TEST_P()
534 floatColors.push_back(color.A / 255.0f); in TEST_P()
536 glBufferData(GL_ARRAY_BUFFER, floatColors.size() * 4u, floatColors.data(), GL_DYNAMIC_DRAW); in TEST_P()
/third_party/flutter/skia/src/gpu/vk/
DGrVkPipeline.cpp632 float floatColors[4]; in SetDynamicBlendConstantState() local
636 floatColors[0] = blendConst.fR; in SetDynamicBlendConstantState()
637 floatColors[1] = blendConst.fG; in SetDynamicBlendConstantState()
638 floatColors[2] = blendConst.fB; in SetDynamicBlendConstantState()
639 floatColors[3] = blendConst.fA; in SetDynamicBlendConstantState()
641 memset(floatColors, 0, 4 * sizeof(float)); in SetDynamicBlendConstantState()
643 cmdBuffer->setBlendConstants(gpu, floatColors); in SetDynamicBlendConstantState()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DInstancingTest.cpp746 std::vector<float> floatColors; in TEST_P() local
749 floatColors.push_back(color.R / 255.0f); in TEST_P()
750 floatColors.push_back(color.G / 255.0f); in TEST_P()
751 floatColors.push_back(color.B / 255.0f); in TEST_P()
752 floatColors.push_back(color.A / 255.0f); in TEST_P()
754 glBufferData(GL_ARRAY_BUFFER, floatColors.size() * 4u, floatColors.data(), GL_DYNAMIC_DRAW); in TEST_P()
/third_party/skia/src/gpu/vk/
DGrVkPipeline.cpp659 float floatColors[4]; in SetDynamicBlendConstantState() local
663 floatColors[0] = blendConst.fR; in SetDynamicBlendConstantState()
664 floatColors[1] = blendConst.fG; in SetDynamicBlendConstantState()
665 floatColors[2] = blendConst.fB; in SetDynamicBlendConstantState()
666 floatColors[3] = blendConst.fA; in SetDynamicBlendConstantState()
667 cmdBuffer->setBlendConstants(gpu, floatColors); in SetDynamicBlendConstantState()