Home | History | Annotate | Download | only in swrast

Lines Matching refs:samples

212  * Fill in the samples[] array with the (x,y) subpixel positions of
214 * Note that the four corner samples are put into the first four
216 * case of all samples being inside the polygon.
219 make_sample_table(GLint xSamples, GLint ySamples, GLfloat samples[][2])
249 samples[j][0] = x * dx + 0.5F * dx;
250 samples[j][1] = y * dy + 0.5F * dy;
267 static GLfloat samples[SUB_PIXEL * SUB_PIXEL][2];
275 make_sample_table(SUB_PIXEL, SUB_PIXEL, samples);
287 const GLfloat sx = x + samples[i][0];
288 const GLfloat sy = y + samples[i][1];