Searched refs:p1x (Results 1 – 6 of 6) sorted by relevance
/external/skqp/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 281 const double p1x = fPts[1].x(); in init() local 288 const double p1xSqd = p1x * p1x; in init() 291 const double p01xProd = p0x * p1x; in init() 293 const double b12xProd = p1x * 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() 309 + (2.0 * p1x * p01yProd) - (4.0 * p1x * p02yProd) in init() 310 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init()
|
/external/skia/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 281 const double p1x = fPts[1].x(); in init() local 288 const double p1xSqd = p1x * p1x; in init() 291 const double p01xProd = p0x * p1x; in init() 293 const double b12xProd = p1x * 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() 309 + (2.0 * p1x * p01yProd) - (4.0 * p1x * p02yProd) in init() 310 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init()
|
/external/skia/src/compute/skc/platforms/cl_12/kernels/ |
D | rasterize.cl | 1703 …SKC_RASTERIZE_FLOAT p1x = (x_offset + skc_subgroup_shuffle(x_base,x_source)) * SKC_SUBPIXEL_… 1704 SKC_RASTERIZE_FLOAT const p_t = (p1x - o0x) * skc_subgroup_shuffle(x_denom,x_source); 1710 p1x = select(p1x,o1x,is_x_last); 1719 SKC_RASTERIZE_FLOAT p0x = skc_subgroup_shuffle_up_1(p1x_prev,p1x); 1731 p1x_prev = p1x; 1847 SKC_RASTERIZE_INT const z1x = SKC_CONVERT(SKC_RASTERIZE_INT)(p1x);
|
/external/skqp/src/compute/skc/platforms/cl_12/kernels/ |
D | rasterize.cl | 1703 …SKC_RASTERIZE_FLOAT p1x = (x_offset + skc_subgroup_shuffle(x_base,x_source)) * SKC_SUBPIXEL_… 1704 SKC_RASTERIZE_FLOAT const p_t = (p1x - o0x) * skc_subgroup_shuffle(x_denom,x_source); 1710 p1x = select(p1x,o1x,is_x_last); 1719 SKC_RASTERIZE_FLOAT p0x = skc_subgroup_shuffle_up_1(p1x_prev,p1x); 1731 p1x_prev = p1x; 1847 SKC_RASTERIZE_INT const z1x = SKC_CONVERT(SKC_RASTERIZE_INT)(p1x);
|
/external/skqp/src/core/ |
D | SkPath.cpp | 2998 double p1x = SkScalarToDouble(p1.fX); in cross_prod() local 3004 cross = SkDoubleToScalar((p1x - p0x) * (p2y - p0y) - in cross_prod()
|
/external/skia/src/core/ |
D | SkPath.cpp | 2998 double p1x = SkScalarToDouble(p1.fX); in cross_prod() local 3004 cross = SkDoubleToScalar((p1x - p0x) * (p2y - p0y) - in cross_prod()
|