Home
last modified time | relevance | path

Searched refs:halfColor (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/src/gpu/
DGrColor.h83 uint64_t halfColor; in SkPMColor4f_toFP16() local
84 SkFloatToHalf_finite_ftz(Sk4f::Load(color.vec())).store(&halfColor); in SkPMColor4f_toFP16()
85 return halfColor; in SkPMColor4f_toFP16()
/third_party/skia/bench/
DVertexColorSpaceBench.cpp234 Sk4h halfColor = SkFloatToHalf_finite_ftz(Sk4f::Load(&fColor4f)); in onPrepareDraws() local
235 color = (uint64_t)halfColor[0] << 48 | in onPrepareDraws()
236 (uint64_t)halfColor[1] << 32 | in onPrepareDraws()
237 (uint64_t)halfColor[2] << 16 | in onPrepareDraws()
238 (uint64_t)halfColor[3] << 0; in onPrepareDraws()