Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp248 const double p0x = p0.x(); in init() local
259 const double cosTheta = (p2x - p0x) / hypotenuse; in init()
263 cosTheta, sinTheta, -(cosTheta * p0x) - (sinTheta * p0y), in init()
264 -sinTheta, cosTheta, (sinTheta * p0x) - (cosTheta * p0y) in init()
284 const double p0xSqd = p0x * p0x; in init()
291 const double p01xProd = p0x * p1x; in init()
292 const double p02xProd = p0x * p2x; in init()
300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
301 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init()
307 const double g = (p0x * p02yProd) - (2.0 * p0x * p1ySqd) in init()
[all …]
/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp248 const double p0x = p0.x(); in init() local
259 const double cosTheta = (p2x - p0x) / hypotenuse; in init()
263 cosTheta, sinTheta, -(cosTheta * p0x) - (sinTheta * p0y), in init()
264 -sinTheta, cosTheta, (sinTheta * p0x) - (cosTheta * p0y) in init()
284 const double p0xSqd = p0x * p0x; in init()
291 const double p01xProd = p0x * p1x; in init()
292 const double p02xProd = p0x * p2x; in init()
300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
301 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init()
307 const double g = (p0x * p02yProd) - (2.0 * p0x * p1ySqd) in init()
[all …]
/external/skqp/src/compute/skc/platforms/cl_12/kernels/
Drasterize.cl1719 SKC_RASTERIZE_FLOAT p0x = skc_subgroup_shuffle_up_1(p1x_prev,p1x);
1725 p0x = select(p0x,o0x,is_x_first);
1846 SKC_RASTERIZE_INT const z0x = SKC_CONVERT(SKC_RASTERIZE_INT)(p0x);
/external/skia/src/compute/skc/platforms/cl_12/kernels/
Drasterize.cl1719 SKC_RASTERIZE_FLOAT p0x = skc_subgroup_shuffle_up_1(p1x_prev,p1x);
1725 p0x = select(p0x,o0x,is_x_first);
1846 SKC_RASTERIZE_INT const z0x = SKC_CONVERT(SKC_RASTERIZE_INT)(p0x);
/external/skia/src/core/
DSkPath.cpp2995 double p0x = SkScalarToDouble(p0.fX); in cross_prod() local
3004 cross = SkDoubleToScalar((p1x - p0x) * (p2y - p0y) - in cross_prod()
3005 (p1y - p0y) * (p2x - p0x)); in cross_prod()
/external/skqp/src/core/
DSkPath.cpp2995 double p0x = SkScalarToDouble(p0.fX); in cross_prod() local
3004 cross = SkDoubleToScalar((p1x - p0x) * (p2y - p0y) - in cross_prod()
3005 (p1y - p0y) * (p2x - p0x)); in cross_prod()