Searched refs:dist2 (Results 1 - 10 of 10) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_setup.c1263 float dx, dy, dist2, cover; local in function:sp_setup_point
1269 dist2 = dx * dx + dy * dy;
1270 if (dist2 <= rmax2) {
1271 cover = 1.0F - (dist2 - rmin2) * cscale;
1278 dist2 = dx * dx + dy * dy;
1279 if (dist2 <= rmax2) {
1280 cover = 1.0F - (dist2 - rmin2) * cscale;
1287 dist2 = dx * dx + dy * dy;
1288 if (dist2 <= rmax2) {
1289 cover = 1.0F - (dist2
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_setup.c1339 float dx, dy, dist2, cover; local in function:sp_setup_point
1345 dist2 = dx * dx + dy * dy;
1346 if (dist2 <= rmax2) {
1347 cover = 1.0F - (dist2 - rmin2) * cscale;
1354 dist2 = dx * dx + dy * dy;
1355 if (dist2 <= rmax2) {
1356 cover = 1.0F - (dist2 - rmin2) * cscale;
1363 dist2 = dx * dx + dy * dy;
1364 if (dist2 <= rmax2) {
1365 cover = 1.0F - (dist2
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_points.c328 const GLfloat dist2 = dx * dx + dy * dy; local in function:smooth_point
331 if (dist2 < rmax2) {
332 if (dist2 >= rmin2) {
334 coverage = 1.0F - (dist2 - rmin2) * cscale;
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_points.c321 const GLfloat dist2 = dx * dx + dy * dy; local in function:smooth_point
324 if (dist2 < rmax2) {
325 if (dist2 >= rmin2) {
327 coverage = 1.0F - (dist2 - rmin2) * cscale;
/xsrc/external/mit/freetype/dist/src/autofit/
H A Dafcjk.c1080 FT_Pos dist2 = 0; local in function:af_cjk_hints_compute_edges
1090 dist2 = AF_SEGMENT_DIST( link, link1 );
1091 if ( dist2 >= edge_distance_threshold )
1097 if ( dist2 >= edge_distance_threshold )
2074 FT_Pos dist1, dist2, span; local in function:af_cjk_hint_edges
2091 dist2 = edge3->opos - edge2->opos;
2093 span = dist1 - dist2;
H A Daflatin2.c2189 FT_Pos dist1, dist2, span, delta;
2206 dist2 = edge3->opos - edge2->opos;
2208 span = dist1 - dist2;
H A Daflatin.c3350 FT_Pos dist1, dist2, span, delta; local in function:af_latin_hint_edges
3367 dist2 = edge3->opos - edge2->opos;
3369 span = dist1 - dist2;
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimstb_truetype.h4485 float dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); local in function:stbtt_GetGlyphSDF
4486 if (dist2 < min_dist*min_dist)
4487 min_dist = (float) STBTT_sqrt(dist2);
4553 dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy);
4554 if (dist2 < min_dist * min_dist)
4555 min_dist = (float) STBTT_sqrt(dist2);
4561 dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy);
4562 if (dist2 < min_dist * min_dist)
4563 min_dist = (float) STBTT_sqrt(dist2);
4569 dist2
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_tri.c402 float dist2 = v2[0][0] * v2[0][0] + v2[0][1] * v2[0][1]; local in function:do_triangle_ccw
403 if (dist0 > dist1 && dist1 < dist2) {
424 else if (dist0 > dist2) {
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimstb_truetype.h4485 float dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); local in function:stbtt_GetGlyphSDF
4486 if (dist2 < min_dist*min_dist)
4487 min_dist = (float) STBTT_sqrt(dist2);
4553 dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy);
4554 if (dist2 < min_dist * min_dist)
4555 min_dist = (float) STBTT_sqrt(dist2);
4561 dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy);
4562 if (dist2 < min_dist * min_dist)
4563 min_dist = (float) STBTT_sqrt(dist2);
4569 dist2
[all...]

Completed in 32 milliseconds