Home
last modified time | relevance | path

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

/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/skia/src/gpu/vk/
DGrVkPipeline.cpp635 float floatColors[4]; in SetDynamicBlendConstantState() local
640 floatColors[0] = blendConst.fR; in SetDynamicBlendConstantState()
641 floatColors[1] = blendConst.fG; in SetDynamicBlendConstantState()
642 floatColors[2] = blendConst.fB; in SetDynamicBlendConstantState()
643 floatColors[3] = blendConst.fA; in SetDynamicBlendConstantState()
645 memset(floatColors, 0, 4 * sizeof(float)); in SetDynamicBlendConstantState()
647 cmdBuffer->setBlendConstants(gpu, floatColors); in SetDynamicBlendConstantState()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp411 float floatColors[3]; in AddSamples() local
415 floatColors[j] = colorsMin[j] + (colorsMax[j] - colorsMin[j]) * interp; in AddSamples()
418 SkPackARGB32(0xFF, FloatToByte(floatColors[0]), in AddSamples()
419 FloatToByte(floatColors[1]), FloatToByte(floatColors[2])); in AddSamples()