Lines Matching refs:samples
97 // Pick the FB config/visual with the most samples per pixel
105 int samp_buf, samples;
107 glXGetFBConfigAttrib(fDisplay, fbc[i], GLX_SAMPLES, &samples);
110 // " SAMPLES = %d\n",
111 // i, (unsigned int)vi->visualid, samp_buf, samples);
113 if (best_fbc < 0 || (samp_buf && samples > best_num_samp))
114 best_fbc = i, best_num_samp = samples;
143 int samp_buf, samples;
146 glXGetConfig(fDisplay, &visReturn[i], GLX_SAMPLES, &samples);
148 if (best < 0 || (samp_buf && samples > best_num_samp))
149 best = i, best_num_samp = samples;