Lines Matching defs:samples
58 if (dst->samples != src->samples ||
93 dst->samples = src->samples;
110 dst->samples = 0;
134 fb->samples = fb->layers = 0;
211 * Return the number of MSAA samples.
220 * we obtain the number of samples directly from
223 * NOTE: fb->samples may wind up as zero due to memset()'s on internal
225 * MAX here to ensure we have a valid number of samples. However,
226 * if samples is legitimately not getting set somewhere
230 return MAX2(fb->samples, 1);
247 return MAX2(fb->samples, 1);
256 unsigned samples, uint8_t *locations)
263 screen->get_sample_pixel_grid(screen, samples, &grid_width, &grid_height);
268 unsigned row_size = grid_width * samples;
277 memcpy(locations, new_locations, grid_width * grid_height * samples);