Searched refs:fDistSq (Results 1 – 4 of 4) sorted by relevance
19 float fDistSq; // distance squared to nearest (so far) edge texel member184 currData->fDistSq = dist*dist; in init_distances()187 currData->fDistSq = 2000000.f; in init_distances()207 float distSq = check->fDistSq - 2.0f*(distVec.fX + distVec.fY - 1.0f); in F1()208 if (distSq < curr->fDistSq) { in F1()211 curr->fDistSq = distSq; in F1()218 distSq = check->fDistSq - 2.0f*distVec.fY + 1.0f; in F1()219 if (distSq < curr->fDistSq) { in F1()221 curr->fDistSq = distSq; in F1()228 distSq = check->fDistSq + 2.0f*(distVec.fX - distVec.fY + 1.0f); in F1()[all …]
50 float fDistSq; // distance squared to nearest (so far) edge member356 currData->fDistSq = SK_DistanceFieldMagnitude * SK_DistanceFieldMagnitude; in init_distances()689 const float distSq = dataPtr[idx].fDistSq; in calculate_distance_field_data()715 dataPtr[idx].fDistSq = currDistSq; in calculate_distance_field_data()860 const float miniDist = sqrt(dataPtr[idx].fDistSq); in GrGenerateDistanceFieldFromPath()870 const float miniDist = sqrt(dataPtr[idx].fDistSq); in GrGenerateDistanceFieldFromPath()