Home
last modified time | relevance | path

Searched refs:fQuadXDirection (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp456 int fQuadXDirection; member
480 rowData->fQuadXDirection = (int)sign_of(segment.fP2T.x() - segment.fP0T.x()); in precomputation_for_row()
532 … side = (SegSide)(int)(sign_of(xFormPt.y() - rowData.fYAtIntersection) * rowData.fQuadXDirection); in calculate_side_of_quad()
543 if ((rowData.fQuadXDirection == -1 && segment.fPts[0].y() <= point.y() && in calculate_side_of_quad()
545 (rowData.fQuadXDirection == 1 && segment.fPts[2].y() <= point.y() && in calculate_side_of_quad()
549 if ((rowData.fQuadXDirection == -1 && segment.fPts[2].y() <= point.y() && in calculate_side_of_quad()
551 (rowData.fQuadXDirection == 1 && segment.fPts[0].y() <= point.y() && in calculate_side_of_quad()
559 side = (SegSide)(signP1 * rowData.fQuadXDirection); in calculate_side_of_quad()
565 side = (SegSide)(-signP2 * rowData.fQuadXDirection); in calculate_side_of_quad()
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp456 int fQuadXDirection; member
480 rowData->fQuadXDirection = (int)sign_of(segment.fP2T.x() - segment.fP0T.x()); in precomputation_for_row()
532 … side = (SegSide)(int)(sign_of(xFormPt.y() - rowData.fYAtIntersection) * rowData.fQuadXDirection); in calculate_side_of_quad()
543 if ((rowData.fQuadXDirection == -1 && segment.fPts[0].y() <= point.y() && in calculate_side_of_quad()
545 (rowData.fQuadXDirection == 1 && segment.fPts[2].y() <= point.y() && in calculate_side_of_quad()
549 if ((rowData.fQuadXDirection == -1 && segment.fPts[2].y() <= point.y() && in calculate_side_of_quad()
551 (rowData.fQuadXDirection == 1 && segment.fPts[0].y() <= point.y() && in calculate_side_of_quad()
559 side = (SegSide)(signP1 * rowData.fQuadXDirection); in calculate_side_of_quad()
565 side = (SegSide)(-signP2 * rowData.fQuadXDirection); in calculate_side_of_quad()