Home
last modified time | relevance | path

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

/external/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.cpp98 float floatColors[4]; in set_blend_factor() local
102 floatColors[0] = blendConst.fR; in set_blend_factor()
103 floatColors[1] = blendConst.fG; in set_blend_factor()
104 floatColors[2] = blendConst.fB; in set_blend_factor()
105 floatColors[3] = blendConst.fA; in set_blend_factor()
107 memset(floatColors, 0, 4 * sizeof(float)); in set_blend_factor()
109 gpu->currentCommandList()->setBlendFactor(floatColors); in set_blend_factor()
/external/skqp/src/gpu/vk/
DGrVkPipeline.cpp624 float floatColors[4]; in SetDynamicBlendConstantState() local
629 floatColors[0] = blendConst.fR; in SetDynamicBlendConstantState()
630 floatColors[1] = blendConst.fG; in SetDynamicBlendConstantState()
631 floatColors[2] = blendConst.fB; in SetDynamicBlendConstantState()
632 floatColors[3] = blendConst.fA; in SetDynamicBlendConstantState()
634 memset(floatColors, 0, 4 * sizeof(float)); in SetDynamicBlendConstantState()
636 cmdBuffer->setBlendConstants(gpu, floatColors); in SetDynamicBlendConstantState()
/external/angle/src/tests/gl_tests/
DInstancingTest.cpp754 std::vector<float> floatColors; in TEST_P() local
757 floatColors.push_back(color.R / 255.0f); in TEST_P()
758 floatColors.push_back(color.G / 255.0f); in TEST_P()
759 floatColors.push_back(color.B / 255.0f); in TEST_P()
760 floatColors.push_back(color.A / 255.0f); in TEST_P()
762 glBufferData(GL_ARRAY_BUFFER, floatColors.size() * 4u, floatColors.data(), GL_DYNAMIC_DRAW); in TEST_P()
/external/skia/src/gpu/vk/
DGrVkPipeline.cpp691 float floatColors[4]; in SetDynamicBlendConstantState() local
695 floatColors[0] = blendConst.fR; in SetDynamicBlendConstantState()
696 floatColors[1] = blendConst.fG; in SetDynamicBlendConstantState()
697 floatColors[2] = blendConst.fB; in SetDynamicBlendConstantState()
698 floatColors[3] = blendConst.fA; in SetDynamicBlendConstantState()
699 cmdBuffer->setBlendConstants(gpu, floatColors); in SetDynamicBlendConstantState()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp456 float floatColors[3]; in AddSamples() local
460 floatColors[j] = colorsMin[j] + (colorsMax[j] - colorsMin[j]) * interp; in AddSamples()
463 SkPackARGB32(0xFF, FloatToByte(floatColors[0]), in AddSamples()
464 FloatToByte(floatColors[1]), FloatToByte(floatColors[2])); in AddSamples()