Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrColor.h82 uint64_t halfColor; in SkPMColor4f_toFP16() local
83 SkFloatToHalf_finite_ftz(Sk4f::Load(color.vec())).store(&halfColor); in SkPMColor4f_toFP16()
84 return halfColor; in SkPMColor4f_toFP16()
/external/skqp/include/private/
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()
/external/skqp/bench/
DVertexColorSpaceBench.cpp195 Sk4h halfColor = SkFloatToHalf_finite_ftz(Sk4f::Load(&fColor4f)); in onPrepareDraws() local
196 color = (uint64_t)halfColor[0] << 48 | in onPrepareDraws()
197 (uint64_t)halfColor[1] << 32 | in onPrepareDraws()
198 (uint64_t)halfColor[2] << 16 | in onPrepareDraws()
199 (uint64_t)halfColor[3] << 0; in onPrepareDraws()
/external/skia/bench/
DVertexColorSpaceBench.cpp230 Sk4h halfColor = SkFloatToHalf_finite_ftz(Sk4f::Load(&fColor4f)); in onPrepareDraws() local
231 color = (uint64_t)halfColor[0] << 48 | in onPrepareDraws()
232 (uint64_t)halfColor[1] << 32 | in onPrepareDraws()
233 (uint64_t)halfColor[2] << 16 | in onPrepareDraws()
234 (uint64_t)halfColor[3] << 0; in onPrepareDraws()