Home
last modified time | relevance | path

Searched refs:thenElse (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp71 *e1 = bad.thenElse(-SkNx_shuffle<3, 2, 1, 0>(*e1), *e1); in correct_bad_edges()
72 *e2 = bad.thenElse(-SkNx_shuffle<3, 2, 1, 0>(*e2), *e2); in correct_bad_edges()
74 *e3 = bad.thenElse(-SkNx_shuffle<3, 2, 1, 0>(*e3), *e3); in correct_bad_edges()
82 *c1 = bad.thenElse(nextCCW(*c1), *c1); in correct_bad_coords()
83 *c2 = bad.thenElse(nextCCW(*c2), *c2); in correct_bad_coords()
85 *c3 = bad.thenElse(nextCCW(*c3), *c3); in correct_bad_coords()
236 denom = aMask.thenElse(bMask.thenElse(c1x * c2y - c2x * c1y, useC1x.thenElse(c1x, c1y)), in outset_projected_vertices()
238 bMask.thenElse(useC2x.thenElse(c2x, c2y), 1.0f)); in outset_projected_vertices()
240 a = aMask.thenElse(bMask.thenElse(c2x * c3y - c3x * c2y, useC1x.thenElse(-c3x, -c3y)), in outset_projected_vertices()
244 b = bMask.thenElse(aMask.thenElse(c3x * c1y - c1x * c3y, useC2x.thenElse(-c3x, -c3y)), in outset_projected_vertices()
[all …]
DGrTextureOp.cpp61 ltrb = (whwh < 1.f).thenElse(c, ltrb + kOffsets); in compute_domain()
/external/skia/include/private/
DSkNx_sse.h115 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
220 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
276 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
298 return (x < y).thenElse(x, y); in Min()
306 return (x > y).thenElse(x, y); in Max()
346 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
394 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
575 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
643 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
686 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
DSkNx_neon.h157 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
302 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
372 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
419 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
510 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
566 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
624 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
DSkNx.h149 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
150 return { fLo.thenElse(t.fLo, e.fLo), fHi.thenElse(t.fHi, e.fHi) }; in thenElse()
267 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { return fVal != 0 ? t : e; }
/external/skqp/include/private/
DSkNx_sse.h115 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
220 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
276 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
298 return (x < y).thenElse(x, y); in Min()
306 return (x > y).thenElse(x, y); in Max()
346 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
394 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
575 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
643 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
686 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
DSkNx_neon.h157 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
302 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
372 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
419 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
510 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
566 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
624 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
DSkNx.h149 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { in thenElse() function
150 return { fLo.thenElse(t.fLo, e.fLo), fHi.thenElse(t.fHi, e.fHi) }; in thenElse()
267 AI SkNx thenElse(const SkNx& t, const SkNx& e) const { return fVal != 0 ? t : e; }
/external/skia/src/core/
DSk4px.h96 Sk4px thenElse(const Sk4px& t, const Sk4px& e) const { return INHERITED::thenElse(t,e); } in thenElse() function
/external/skqp/src/core/
DSk4px.h96 Sk4px thenElse(const Sk4px& t, const Sk4px& e) const { return INHERITED::thenElse(t,e); } in thenElse() function
/external/skia/src/gpu/ccpr/
DGrCCFillGeometry.cpp216 return (aa > bb * SK_ScalarNearlyZero).thenElse(a, b); in first_unless_nearly_zero()
268 tl = (sl > 0).thenElse(tl, -tl); // Tl=tl/sl is the triple root of l(t,s). Normalize so s >= 0. in find_chops_around_inflection_points()
415 numRoots = (discr < 0).thenElse(3, 1); in find_chops_around_loop_intersection()
424 R = (r > 0).thenElse(-s, s); in find_chops_around_loop_intersection()
444 cosTheta3 = (q >= 0).thenElse(1, -1) + p / qqq.abs(); in find_chops_around_loop_intersection()
/external/skqp/src/gpu/ccpr/
DGrCCFillGeometry.cpp216 return (aa > bb * SK_ScalarNearlyZero).thenElse(a, b); in first_unless_nearly_zero()
268 tl = (sl > 0).thenElse(tl, -tl); // Tl=tl/sl is the triple root of l(t,s). Normalize so s >= 0. in find_chops_around_inflection_points()
415 numRoots = (discr < 0).thenElse(3, 1); in find_chops_around_loop_intersection()
424 R = (r > 0).thenElse(-s, s); in find_chops_around_loop_intersection()
444 cosTheta3 = (q >= 0).thenElse(1, -1) + p / qqq.abs(); in find_chops_around_loop_intersection()
/external/skia/tests/
DSkNxTest.cpp389 auto fs = (Sk4f(0.0f, -0.0f, 2.0f, -4.0f) < 0).thenElse(-1, 1); in DEF_TEST()
394 auto fshi = (Sk2f(0.0f, -0.0f) < 0).thenElse(-1, 1); in DEF_TEST()
395 auto fslo = (Sk2f(2.0f, -4.0f) < 0).thenElse(-1, 1); in DEF_TEST()
/external/skqp/tests/
DSkNxTest.cpp389 auto fs = (Sk4f(0.0f, -0.0f, 2.0f, -4.0f) < 0).thenElse(-1, 1); in DEF_TEST()
394 auto fshi = (Sk2f(0.0f, -0.0f) < 0).thenElse(-1, 1); in DEF_TEST()
395 auto fslo = (Sk2f(2.0f, -4.0f) < 0).thenElse(-1, 1); in DEF_TEST()
/external/deqp-deps/glslang/hlsl/
DhlslGrammar.cpp3634 TIntermNodePair thenElse = { nullptr, nullptr }; in acceptSelectionStatement() local
3639 if (! acceptScopedStatement(thenElse.node1)) { in acceptSelectionStatement()
3647 if (! acceptScopedStatement(thenElse.node2)) { in acceptSelectionStatement()
3654 statement = intermediate.addSelection(condition, thenElse, loc); in acceptSelectionStatement()
/external/skqp/src/gpu/ops/
DGrTextureOp.cpp61 ltrb = (whwh < 1.f).thenElse(c, ltrb + kOffsets); in compute_domain()