Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/ops/
DGrTextureOp.cpp105 auto ltrb = Sk4f::Load(&domainRect); in compute_domain() local
107 auto rblt = SkNx_shuffle<2, 3, 0, 1>(ltrb); in compute_domain()
108 auto whwh = (rblt - ltrb).abs(); in compute_domain()
109 auto c = (rblt + ltrb) * 0.5f; in compute_domain()
111 ltrb = (whwh < 1.f).thenElse(c, ltrb + kOffsets); in compute_domain()
113 ltrb *= Sk4f(iw, ih, iw, ih); in compute_domain()
117 ltrb = SkNx_shuffle<0, 3, 2, 1>(kMul * ltrb + kAdd); in compute_domain()
120 ltrb.store(out); in compute_domain()
/third_party/skia/src/gpu/ops/
DTextureOp.cpp145 auto ltrb = skvx::Vec<4, float>::Load(subsetRect); in normalize_and_inset_subset() local
149 ltrb = skvx::floor(ltrb*flipHi)*flipHi; in normalize_and_inset_subset()
152 ltrb += skvx::Vec<4, float>({.5f, .5f, -.5f, -.5f}); in normalize_and_inset_subset()
153 auto mid = (skvx::shuffle<2, 3, 0, 1>(ltrb) + ltrb)*0.5f; in normalize_and_inset_subset()
154 ltrb = skvx::min(ltrb*flipHi, mid*flipHi)*flipHi; in normalize_and_inset_subset()
157 ltrb = ltrb * skvx::Vec<4, float>{params.fIW, params.fInvH, params.fIW, params.fInvH} + in normalize_and_inset_subset()
161 ltrb = skvx::shuffle<0, 3, 2, 1>(ltrb); in normalize_and_inset_subset()
165 ltrb.store(&out); in normalize_and_inset_subset()
/third_party/skia/experimental/graphite/src/geom/
DRect.h76 AI float4 ltrb() const { return NegateBotRight(fVals); } in ltrb() function
87 this->ltrb().store(&r); in asSkRect()
/third_party/flutter/skia/src/core/
DSkMatrix.cpp1106 static Sk4f sort_as_rect(const Sk4f& ltrb) { in sort_as_rect() argument
1107 Sk4f rblt(ltrb[2], ltrb[3], ltrb[0], ltrb[1]); in sort_as_rect()
1108 Sk4f min = Sk4f::Min(ltrb, rblt); in sort_as_rect()
1109 Sk4f max = Sk4f::Max(ltrb, rblt); in sort_as_rect()
DSkCanvas.cpp1599 Sk4f ltrb = Sk4f::Load(&src.fLeft) * scale + trans; in quickReject() local
1602 Sk4f rblt(ltrb[2], ltrb[3], ltrb[0], ltrb[1]); in quickReject()
1603 Sk4f min = Sk4f::Min(ltrb, rblt); in quickReject()
1604 Sk4f max = Sk4f::Max(ltrb, rblt); in quickReject()
/third_party/skia/src/core/
DSkMatrix.cpp1127 static Sk4f sort_as_rect(const Sk4f& ltrb) { in sort_as_rect() argument
1128 Sk4f rblt(ltrb[2], ltrb[3], ltrb[0], ltrb[1]); in sort_as_rect()
1129 Sk4f min = Sk4f::Min(ltrb, rblt); in sort_as_rect()
1130 Sk4f max = Sk4f::Max(ltrb, rblt); in sort_as_rect()
/third_party/skia/tests/graphite/
DRectTest.cpp54 CHECK(all(rect2.ltrb() == float4(l,t,r,b))); in DEF_GRAPHITE_TEST()