Home
last modified time | relevance | path

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

/third_party/skia/experimental/graphite/src/geom/
DRect.h30 AI Rect(float l, float t, float r, float b) : fVals(NegateBotRight({l,t,r,b})) {} in Rect()
31 AI Rect(float2 topLeft, float2 botRight) : fVals(topLeft, -botRight) {} in Rect()
32 AI Rect(const SkRect& r) : fVals(NegateBotRight(float4::Load(r.asScalars()))) {} in Rect()
62 AI bool operator==(Rect rect) const { return all(fVals == rect.fVals); }
63 AI bool operator!=(Rect rect) const { return any(fVals != rect.fVals); }
65 AI const float4& vals() const { return fVals; } // [left, top, -right, -bot]. in vals()
66 AI float4& vals() { return fVals; } // [left, top, -right, -bot]. in vals()
68 AI float x() const { return fVals.x(); } in x()
69 AI float y() const { return fVals.y(); } in y()
70 AI float left() const { return fVals.x(); } in left()
[all …]
DIntersectionTree.cpp92 float4 comp = Rect::ComplementRect(rect).fVals; in intersects()
/third_party/skia/src/sksl/codegen/
DSkSLVMCodeGenerator.cpp70 fVals.resize(slots); in Value()
72 Value(skvm::F32 x) : fVals({ x.id }) {} in Value()
73 Value(skvm::I32 x) : fVals({ x.id }) {} in Value()
75 explicit operator bool() const { return !fVals.empty(); } in operator bool()
77 size_t slots() const { return fVals.size(); } in slots()
97 SkASSERT(i < fVals.size()); in operator []()
98 return fVals[i]; in operator []()
103 SkASSERT(i < fVals.size()); in operator []()
104 return fVals[i]; in operator []()
107 SkSpan<skvm::Val> asSpan() { return SkMakeSpan(fVals); } in asSpan()
[all …]