Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp249 const double p0y = p0.y(); in init() local
260 const double sinTheta = (p2y - p0y) / hypotenuse; in init()
263 cosTheta, sinTheta, -(cosTheta * p0x) - (sinTheta * p0y), in init()
264 -sinTheta, cosTheta, (sinTheta * p0x) - (cosTheta * p0y) in init()
285 const double p0ySqd = p0y * p0y; in init()
294 const double p01yProd = p0y * p1y; in init()
295 const double p02yProd = p0y * p2y; in init()
298 const double sqrtA = p0y - (2.0 * p1y) + p2y; in init()
300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
314 - (2.0 * p01xProd * p2y) - (p02xProd * p0y) in init()
[all …]
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp249 const double p0y = p0.y(); in init() local
260 const double sinTheta = (p2y - p0y) / hypotenuse; in init()
263 cosTheta, sinTheta, -(cosTheta * p0x) - (sinTheta * p0y), in init()
264 -sinTheta, cosTheta, (sinTheta * p0x) - (cosTheta * p0y) in init()
285 const double p0ySqd = p0y * p0y; in init()
294 const double p01yProd = p0y * p1y; in init()
295 const double p02yProd = p0y * p2y; in init()
298 const double sqrtA = p0y - (2.0 * p1y) + p2y; in init()
300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
314 - (2.0 * p01xProd * p2y) - (p02xProd * p0y) in init()
[all …]
/external/skia/src/compute/skc/platforms/cl_12/kernels/
Drasterize.cl1720 SKC_RASTERIZE_FLOAT p0y = skc_subgroup_shuffle_up_1(p1y_prev,p1y);
1726 p0y = select(p0y,o0y,is_x_first);
1744 SKC_RASTERIZE_PREDICATE is_active = (p0y != p1y);
1843 SKC_RASTERIZE_INT const z0y = SKC_CONVERT(SKC_RASTERIZE_INT)(p0y);
/external/skqp/src/compute/skc/platforms/cl_12/kernels/
Drasterize.cl1720 SKC_RASTERIZE_FLOAT p0y = skc_subgroup_shuffle_up_1(p1y_prev,p1y);
1726 p0y = select(p0y,o0y,is_x_first);
1744 SKC_RASTERIZE_PREDICATE is_active = (p0y != p1y);
1843 SKC_RASTERIZE_INT const z0y = SKC_CONVERT(SKC_RASTERIZE_INT)(p0y);
/external/skqp/src/core/
DSkPath.cpp2996 double p0y = SkScalarToDouble(p0.fY); in cross_prod() local
3004 cross = SkDoubleToScalar((p1x - p0x) * (p2y - p0y) - in cross_prod()
3005 (p1y - p0y) * (p2x - p0x)); in cross_prod()
/external/skia/src/core/
DSkPath.cpp2996 double p0y = SkScalarToDouble(p0.fY); in cross_prod() local
3004 cross = SkDoubleToScalar((p1x - p0x) * (p2y - p0y) - in cross_prod()
3005 (p1y - p0y) * (p2x - p0x)); in cross_prod()