Searched refs:fColor4f (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/core/ |
D | SkPaint.cpp | 39 : fColor4f{0, 0, 0, 1} // opaque black in SkPaint() 74 && EQUAL(fColor4f) in operator ==() 120 fColor4f = SkColor4f::FromColor(color); in setColor() 126 fColor4f = {color.fR, color.fG, color.fB, SkTPin(color.fA, 0.0f, 1.0f)}; in setColor() 127 steps.apply(fColor4f.vec()); in setColor() 131 fColor4f.fA = SkTPin(a, 0.0f, 1.0f); in setAlphaf()
|
/external/skia/include/core/ |
D | SkPaint.h | 225 SkColor getColor() const { return fColor4f.toSkColor(); } in getColor() 232 SkColor4f getColor4f() const { return fColor4f; } in getColor4f() 261 float getAlphaf() const { return fColor4f.fA; } in getAlphaf() 668 SkColor4f fColor4f; variable 689 static_assert(::sk_is_trivially_relocatable<decltype(fColor4f)>::value);
|
/external/skia/bench/ |
D | VertexColorSpaceBench.cpp | 150 , fColor4f(color4f) { in Op() 225 v[i + 0].fColor = fColor4f; in onPrepareDraws() 227 v[i + 1].fColor = fColor4f; in onPrepareDraws() 236 SkFloatToHalf_finite_ftz(skvx::float4::Load(&fColor4f)).store(&color); in onPrepareDraws() 275 SkColor4f fColor4f; member in __anone3ad4af60111::Op
|