Searched refs:unit_to_byte (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/shaders/
H A DSkColorShader.cpp116 static unsigned unit_to_byte(float unit) { function
122 return SkColorSetARGB(unit_to_byte(unit.fA), unit_to_byte(unit.fR),
123 unit_to_byte(unit.fG), unit_to_byte(unit.fB));
/external/skqp/src/shaders/
H A DSkColorShader.cpp116 static unsigned unit_to_byte(float unit) { function
122 return SkColorSetARGB(unit_to_byte(unit.fA), unit_to_byte(unit.fR),
123 unit_to_byte(unit.fG), unit_to_byte(unit.fB));

Completed in 232 milliseconds