Searched refs:to4f (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/core/ |
D | SkPM4f.h | 57 Sk4f to4f() const { return Sk4f::Load(fVec); } in to4f() function 58 Sk4f to4f_rgba() const { return this->to4f(); } in to4f_rgba() 59 Sk4f to4f_bgra() const { return swizzle_rb(this->to4f()); } in to4f_bgra() 60 Sk4f to4f_pmorder() const { return swizzle_rb_if_bgra(this->to4f()); } in to4f_pmorder() 63 Sk4f value = swizzle_rb_if_bgra(this->to4f()); in toPMColor()
|
D | SkBlendMode.cpp | 117 return SkPM4f::From4f(src.to4f() + dst.to4f() * Sk4f(1 - src.a())); in SkBlendMode_Apply()
|
D | SkDraw_vertices.cpp | 137 Sk4f c0 = colors[index0].to4f(), in update_tricolor_matrix() 138 c1 = colors[index1].to4f(), in update_tricolor_matrix() 139 c2 = colors[index2].to4f(); in update_tricolor_matrix()
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 230 Sk4f to4f() const { in to4f() function 236 SkNx_cast<uint8_t>(swizzle_rb(this->to4f()) * Sk4f(255) + Sk4f(0.5f)).store(&color); in toBGRA32() 242 return From4f(this->to4f() * Sk4f(a, a, a, 1)); in premul() 248 return From4f(this->to4f() * Sk4f(inv, inv, inv, 1)); in unpremul() 400 bilerp(u, v, cornerColors[kTopLeft_Corner].to4f(), in MakeVertices() 401 cornerColors[kTopRight_Corner].to4f(), in MakeVertices() 402 cornerColors[kBottomLeft_Corner].to4f(), in MakeVertices() 403 … cornerColors[kBottomRight_Corner].to4f()).store(tmpColors[dataIndex].fVec); in MakeVertices()
|
/external/skia/src/shaders/gradients/ |
D | Sk4fGradientPriv.h | 59 return c.to4f();
|
D | Sk4fGradientBase.cpp | 16 ? c4f.premul().to4f() in pack_color()
|
D | SkGradientShader.cpp | 415 f_and_b[0] = SkPM4f::From4f(c_r.to4f() - c_l.to4f()); in onAppendStages()
|