Home
last modified time | relevance | path

Searched refs:fDistSq (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/core/
DSkDistanceFieldGen.cpp19 float fDistSq; // distance squared to nearest (so far) edge texel member
184 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 …]
/external/skqp/src/core/
DSkDistanceFieldGen.cpp19 float fDistSq; // distance squared to nearest (so far) edge texel member
184 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 …]
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp50 float fDistSq; // distance squared to nearest (so far) edge member
356 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()
/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp50 float fDistSq; // distance squared to nearest (so far) edge member
356 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()