Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPaint.cpp45 : fColor4f{0, 0, 0, 1} // opaque black in SkPaint()
81 && EQUAL(fColor4f) in operator ==()
114 fColor4f = SkColor4f::FromColor(color); in setColor()
118 SkASSERT(fColor4f.fA >= 0 && fColor4f.fA <= 1.0f); in setColor()
122 fColor4f = color; in setColor()
123 steps.apply(fColor4f.vec()); in setColor()
128 fColor4f.fA = a; in setAlphaf()
/external/skqp/src/core/
DSkPaint.cpp43 fColor4f = { 0, 0, 0, 1 }; // opaque black in SkPaint()
68 , COPY(fColor4f) in SkPaint()
83 MOVE(fColor4f); in SkPaint()
104 ASSIGN(fColor4f); in operator =()
125 MOVE(fColor4f); in operator =()
142 && EQUAL(fColor4f) in operator ==()
179 fColor4f = SkColor4f::FromColor(color); in setColor()
185 fColor4f = color; in setColor4f()
186 steps.apply(fColor4f.vec()); in setColor4f()
191 fColor4f.fA = a * (1.0f / 255); in setAlpha()
/external/skqp/include/core/
DSkPaint.h238 SkColor getColor() const { return fColor4f.toSkColor(); } in getColor()
245 SkColor4f getColor4f() const { return fColor4f; } in getColor4f()
268 uint8_t getAlpha() const { return sk_float_round2int(fColor4f.fA * 255); } in getAlpha()
677 SkColor4f fColor4f; variable
/external/skia/include/core/
DSkPaint.h248 SkColor getColor() const { return fColor4f.toSkColor(); } in getColor()
255 SkColor4f getColor4f() const { return fColor4f; } in getColor4f()
284 float getAlphaf() const { return fColor4f.fA; } in getAlphaf()
695 SkColor4f fColor4f; variable
/external/skqp/bench/
DVertexColorSpaceBench.cpp137 , fColor4f(color4f) { in Op()
184 v[i + 0].fColor = fColor4f; in onPrepareDraws()
186 v[i + 1].fColor = fColor4f; in onPrepareDraws()
195 Sk4h halfColor = SkFloatToHalf_finite_ftz(Sk4f::Load(&fColor4f)); in onPrepareDraws()
232 SkColor4f fColor4f; member in __anond8ae11680111::Op
/external/skia/bench/
DVertexColorSpaceBench.cpp146 , fColor4f(color4f) { in Op()
219 v[i + 0].fColor = fColor4f; in onPrepareDraws()
221 v[i + 1].fColor = fColor4f; in onPrepareDraws()
230 Sk4h halfColor = SkFloatToHalf_finite_ftz(Sk4f::Load(&fColor4f)); in onPrepareDraws()
273 SkColor4f fColor4f; member in __anon14e774510111::Op