/external/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 59 return SkNx_shuffle<2, 0, 3, 1>(v); in nextCW() 63 return SkNx_shuffle<1, 3, 0, 2>(v); in nextCCW() 71 *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() 186 Sk4f e1x = SkNx_shuffle<2, 3, 2, 3>(quad->fX) - SkNx_shuffle<0, 1, 0, 1>(quad->fX); in outset_projected_vertices() 187 Sk4f e1y = SkNx_shuffle<2, 3, 2, 3>(quad->fY) - SkNx_shuffle<0, 1, 0, 1>(quad->fY); in outset_projected_vertices() 188 Sk4f e1w = SkNx_shuffle<2, 3, 2, 3>(quad->fW) - SkNx_shuffle<0, 1, 0, 1>(quad->fW); in outset_projected_vertices() 192 Sk4f e2x = SkNx_shuffle<1, 1, 3, 3>(quad->fX) - SkNx_shuffle<0, 0, 2, 2>(quad->fX); in outset_projected_vertices() 193 Sk4f e2y = SkNx_shuffle<1, 1, 3, 3>(quad->fY) - SkNx_shuffle<0, 0, 2, 2>(quad->fY); in outset_projected_vertices() [all …]
|
D | GrTextureOp.cpp | 57 auto rblt = SkNx_shuffle<2, 3, 0, 1>(ltrb); in compute_domain() 67 ltrb = SkNx_shuffle<0, 3, 2, 1>(kMul * ltrb + kAdd); in compute_domain()
|
D | GrAAFillRRectOp.cpp | 495 devRadii = SkNx_shuffle<1,0>(devRadii); in can_use_hw_derivatives()
|
D | GrLatticeOp.cpp | 270 domain = SkNx_shuffle<0, 3, 2, 1>(kFlipMuls * domain + kFlipOffsets); in onPrepareDraws()
|
/external/skqp/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 30 return SkNx_shuffle<2, 0, 3, 1>(v); in nextCW() 34 return SkNx_shuffle<1, 3, 0, 2>(v); in nextCCW() 145 Sk4f edgeLimits = 0.5f * SkNx_shuffle<0, 1, 1, 0>(sides); in compute_nested_quad_vertices() 234 Sk4f opX = SkNx_shuffle<2, 3, 0, 1>(*x); in compute_quad_persp_vertices() 235 Sk4f opW = SkNx_shuffle<2, 3, 0, 1>(*w); in compute_quad_persp_vertices() 236 Sk4f opY = SkNx_shuffle<2, 3, 0, 1>(*y); in compute_quad_persp_vertices() 238 Sk2f vx = SkNx_shuffle<2, 3>(x2d) - SkNx_shuffle<0, 1>(x2d); in compute_quad_persp_vertices() 239 Sk2f vy = SkNx_shuffle<2, 3>(y2d) - SkNx_shuffle<0, 1>(y2d); in compute_quad_persp_vertices() 240 Sk4f len = SkNx_shuffle<0, 1, 0, 1>(SkNx_fma(vx, vx, vy * vy).sqrt()); in compute_quad_persp_vertices() 258 Sk4f opU = SkNx_shuffle<2, 3, 0, 1>(*u); in compute_quad_persp_vertices() [all …]
|
D | GrTextureOp.cpp | 57 auto rblt = SkNx_shuffle<2, 3, 0, 1>(ltrb); in compute_domain() 67 ltrb = SkNx_shuffle<0, 3, 2, 1>(kMul * ltrb + kAdd); in compute_domain()
|
D | GrAAFillRRectOp.cpp | 482 devRadii = SkNx_shuffle<1,0>(devRadii); in can_use_hw_derivatives()
|
D | GrLatticeOp.cpp | 268 domain = SkNx_shuffle<0, 3, 2, 1>(kFlipMuls * domain + kFlipOffsets); in onPrepareDraws()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCFillGeometry.cpp | 55 return n * (nn + SkNx_shuffle<1,0>(nn)).rsqrt(); in normalize() 74 Sk2f dd = (p1 - p0) * SkNx_shuffle<1,0>(l); in are_collinear() 180 Sk2f t = (dQ0n + SkNx_shuffle<1,0>(dQ0n)) / (dQ1n + SkNx_shuffle<1,0>(dQ1n)); in appendQuadratics() 209 aa += SkNx_shuffle<1,0>(aa); in first_unless_nearly_zero() 213 bb += SkNx_shuffle<1,0>(bb); in first_unless_nearly_zero() 352 Sk2f T1 = SkNx_shuffle<1,0>(T2); // T1 is the other root of l(T). in find_chops_around_loop_intersection() 503 Sk2f C0x1 = C0 * SkNx_shuffle<1,0>(C1); in cubicTo() 517 Sk2f ts = t * SkNx_shuffle<1,0>(s); in cubicTo() 751 Sk2f d = (p1 - p0) * SkNx_shuffle<1,0>(base); in appendMonotonicConic()
|
D | GrCCStrokeGeometry.cpp | 26 vv += SkNx_shuffle<1,0>(vv); in normalize() 434 Sk2f cross = base * SkNx_shuffle<1,0>(n0); in recordLeftJoinIfNotEmpty()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCFillGeometry.cpp | 55 return n * (nn + SkNx_shuffle<1,0>(nn)).rsqrt(); in normalize() 74 Sk2f dd = (p1 - p0) * SkNx_shuffle<1,0>(l); in are_collinear() 180 Sk2f t = (dQ0n + SkNx_shuffle<1,0>(dQ0n)) / (dQ1n + SkNx_shuffle<1,0>(dQ1n)); in appendQuadratics() 209 aa += SkNx_shuffle<1,0>(aa); in first_unless_nearly_zero() 213 bb += SkNx_shuffle<1,0>(bb); in first_unless_nearly_zero() 352 Sk2f T1 = SkNx_shuffle<1,0>(T2); // T1 is the other root of l(T). in find_chops_around_loop_intersection() 503 Sk2f C0x1 = C0 * SkNx_shuffle<1,0>(C1); in cubicTo() 517 Sk2f ts = t * SkNx_shuffle<1,0>(s); in cubicTo() 751 Sk2f d = (p1 - p0) * SkNx_shuffle<1,0>(base); in appendMonotonicConic()
|
D | GrCCStrokeGeometry.cpp | 26 vv += SkNx_shuffle<1,0>(vv); in normalize() 434 Sk2f cross = base * SkNx_shuffle<1,0>(n0); in recordLeftJoinIfNotEmpty()
|
D | GrCCStroker.cpp | 434 Sk2f cross = n0 * SkNx_shuffle<1,0>(n1); in appendJoin()
|
/external/skqp/src/gpu/ |
D | GrQuad.cpp | 160 SkNx_shuffle<0, 0, 2, 2>(r).store(fX); in GrQuad() 161 SkNx_shuffle<1, 3, 1, 3>(r).store(fY); in GrQuad() 202 SkNx_shuffle<0, 0, 2, 2>(r).store(fX); in GrPerspQuad() 203 SkNx_shuffle<1, 3, 1, 3>(r).store(fY); in GrPerspQuad()
|
D | GrPathUtils.cpp | 666 Sk4f D = SkNx_shuffle<0,0,2,1>(X) * SkNx_shuffle<2,1,0,0>(Y); in calcCubicInverseTransposePowerBasisMatrix() 667 D -= SkNx_shuffle<2,3,0,1>(D); in calcCubicInverseTransposePowerBasisMatrix() 687 (X * SkNx_shuffle<3,3,3,3>(Y) - Y * SkNx_shuffle<3,3,3,3>(X)).store(z); in calcCubicInverseTransposePowerBasisMatrix()
|
/external/skia/src/gpu/ |
D | GrPathUtils.cpp | 666 Sk4f D = SkNx_shuffle<0,0,2,1>(X) * SkNx_shuffle<2,1,0,0>(Y); in calcCubicInverseTransposePowerBasisMatrix() 667 D -= SkNx_shuffle<2,3,0,1>(D); in calcCubicInverseTransposePowerBasisMatrix() 687 (X * SkNx_shuffle<3,3,3,3>(Y) - Y * SkNx_shuffle<3,3,3,3>(X)).store(z); in calcCubicInverseTransposePowerBasisMatrix()
|
D | GrQuad.cpp | 109 *xs = SkNx_shuffle<0, 0, 2, 2>(r); in map_rect_translate_scale() 110 *ys = SkNx_shuffle<1, 3, 1, 3>(r); in map_rect_translate_scale()
|
/external/skia/tests/ |
D | SkNxTest.cpp | 254 DEF_TEST(SkNx_shuffle, r) { in DEF_TEST() argument 257 Sk2f f2 = SkNx_shuffle<2,1>(f4); in DEF_TEST() 261 f4 = SkNx_shuffle<0,1,1,0>(f2); in DEF_TEST()
|
/external/skqp/tests/ |
D | SkNxTest.cpp | 254 DEF_TEST(SkNx_shuffle, r) { in DEF_TEST() argument 257 Sk2f f2 = SkNx_shuffle<2,1>(f4); in DEF_TEST() 261 f4 = SkNx_shuffle<0,1,1,0>(f2); in DEF_TEST()
|
/external/skqp/samplecode/ |
D | SamplePathText.cpp | 423 (dy + SkNx_shuffle<2,3,0,1>(dy)).store(offsetY); // accumulate. in apply() 424 (dx + SkNx_shuffle<2,3,0,1>(dx)).store(offsetX); in apply()
|
/external/skia/samplecode/ |
D | SamplePathText.cpp | 423 (dy + SkNx_shuffle<2,3,0,1>(dy)).store(offsetY); // accumulate. in apply() 424 (dx + SkNx_shuffle<2,3,0,1>(dx)).store(offsetX); in apply()
|
/external/skia/src/effects/imagefilters/ |
D | SkArithmeticImageFilter.cpp | 127 Sk4f a = SkNx_shuffle<3,3,3,3>(r); in arith_span() 143 Sk4f a = SkNx_shuffle<3,3,3,3>(r); in arith_transparent()
|
/external/skqp/src/effects/imagefilters/ |
D | SkArithmeticImageFilter.cpp | 126 Sk4f a = SkNx_shuffle<3,3,3,3>(r); in arith_span() 142 Sk4f a = SkNx_shuffle<3,3,3,3>(r); in arith_transparent()
|
/external/skia/include/private/ |
D | SkColorData.h | 403 return SkNx_shuffle<2, 1, 0, 3>(x); in swizzle_rb()
|
/external/skqp/include/private/ |
D | SkColorData.h | 403 return SkNx_shuffle<2, 1, 0, 3>(x); in swizzle_rb()
|