Home
last modified time | relevance | path

Searched refs:floatColors (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/src/gpu/d3d/
H A 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/skia/src/gpu/vk/
H A DGrVkPipeline.cpp659 float floatColors[4];
663 floatColors[0] = blendConst.fR;
664 floatColors[1] = blendConst.fG;
665 floatColors[2] = blendConst.fB;
666 floatColors[3] = blendConst.fA;
667 cmdBuffer->setBlendConstants(gpu, floatColors);
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DInstancingTest.cpp746 std::vector<float> floatColors;
749 floatColors.push_back(color.R / 255.0f);
750 floatColors.push_back(color.G / 255.0f);
751 floatColors.push_back(color.B / 255.0f);
752 floatColors.push_back(color.A / 255.0f);
754 glBufferData(GL_ARRAY_BUFFER, floatColors.size() * 4u, floatColors.data(), GL_DYNAMIC_DRAW);

Completed in 5 milliseconds