Home | History | Annotate | Download | only in util

Lines Matching refs:src

50                              const struct pipe_framebuffer_state *src)
54 if (dst->width != src->width ||
55 dst->height != src->height)
58 for (i = 0; i < Elements(src->cbufs); i++) {
59 if (dst->cbufs[i] != src->cbufs[i]) {
64 if (dst->nr_cbufs != src->nr_cbufs) {
68 if (dst->zsbuf != src->zsbuf) {
77 * Copy framebuffer state from src to dst, updating refcounts.
81 const struct pipe_framebuffer_state *src)
85 dst->width = src->width;
86 dst->height = src->height;
88 for (i = 0; i < src->nr_cbufs; i++)
89 pipe_surface_reference(&dst->cbufs[i], src->cbufs[i]);
91 for (i = src->nr_cbufs; i < dst->nr_cbufs; i++)
94 dst->nr_cbufs = src->nr_cbufs;
96 pipe_surface_reference(&dst->zsbuf, src->zsbuf);