Home | History | Annotate | Download | only in libpixelflinger

Lines Matching refs:d2

180     const GGLcoord d2 = x*x + y*y;
181 if (d2 >= rmax) return 0;
182 if (d2 < rmin) return 0x7FFF;
262 const GGLcoord d2 = x*x + y*y;
263 if (d2 >= rmax) return 0;
264 if (d2 < rmin) return 0x7FFF;
265 return 0x7FFF - (d2-rmin)*scale;