Lines Matching defs:textures
44 struct pipe_resource *textures[ST_ATTACHMENT_COUNT];
63 struct pipe_resource *ptex = xstfb->textures[statt];
92 struct pipe_resource *src_ptex = xstfb->textures[src_statt];
93 struct pipe_resource *dst_ptex = xstfb->textures[dst_statt];
110 * Remove outdated textures and create the requested ones.
122 /* remove outdated textures */
125 pipe_resource_reference(&xstfb->textures[i], NULL);
141 if (xstfb->textures[i] || !(mask & (1 << i))) {
143 if (xstfb->textures[i])
170 xstfb->textures[i] =
172 if (!xstfb->textures[i])
210 /* record newly allocated textures */
222 /* revalidate textures */
246 pipe_resource_reference(&out[i], xstfb->textures[statts[i]]);
315 pipe_resource_reference(&xstfb->textures[i], NULL);
331 front = &xstfb->textures[ST_ATTACHMENT_FRONT_LEFT];
332 back = &xstfb->textures[ST_ATTACHMENT_BACK_LEFT];
333 /* swap textures only if the front texture has been allocated */
367 res = xstfb->textures[st_attachment];