Lines Matching refs:cbufs
67 if (dst->cbufs[i] != src->cbufs[i]) { in util_framebuffer_state_equal()
97 pipe_surface_reference(&dst->cbufs[i], src->cbufs[i]); in util_copy_framebuffer_state()
100 for ( ; i < ARRAY_SIZE(dst->cbufs); i++) in util_copy_framebuffer_state()
101 pipe_surface_reference(&dst->cbufs[i], NULL); in util_copy_framebuffer_state()
113 for (i = 0 ; i < ARRAY_SIZE(dst->cbufs); i++) in util_copy_framebuffer_state()
114 pipe_surface_reference(&dst->cbufs[i], NULL); in util_copy_framebuffer_state()
129 pipe_surface_reference(&fb->cbufs[i], NULL); in util_unreference_framebuffer_state()
153 if (!fb->cbufs[i]) in util_framebuffer_min_size()
156 w = MIN2(w, fb->cbufs[i]->width); in util_framebuffer_min_size()
157 h = MIN2(h, fb->cbufs[i]->height); in util_framebuffer_min_size()
195 if (fb->cbufs[i]) { in util_framebuffer_get_num_layers()
196 unsigned num = fb->cbufs[i]->u.tex.last_layer - in util_framebuffer_get_num_layers()
197 fb->cbufs[i]->u.tex.first_layer + 1; in util_framebuffer_get_num_layers()
233 if (fb->cbufs[i]) { in util_framebuffer_get_num_samples()
234 return MAX2(1, fb->cbufs[i]->texture->nr_samples); in util_framebuffer_get_num_samples()