Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkPatchUtils.cpp330 SkRGBAf* cornerColors = srcColors ? alloc.makeArray<SkRGBAf>(4) : nullptr; in MakeVertices() local
346 if (cornerColors) { in MakeVertices()
356 skcolor_to_linear(cornerColors, srcColors, kNumCorners, convertCS.get(), doPremul); in MakeVertices()
399 if (cornerColors) { in MakeVertices()
400 bilerp(u, v, cornerColors[kTopLeft_Corner].to4f(), in MakeVertices()
401 cornerColors[kTopRight_Corner].to4f(), in MakeVertices()
402 cornerColors[kBottomLeft_Corner].to4f(), in MakeVertices()
403cornerColors[kBottomRight_Corner].to4f()).store(tmpColors[dataIndex].fVec); in MakeVertices()