Lines Matching defs:textures

50    struct pipe_resource *textures[ST_ATTACHMENT_COUNT];
141 * Remove outdated textures and create the requested ones.
174 /* remove outdated textures */
178 pipe_resource_reference(&stwfb->textures[i], NULL);
194 if (stwfb->textures[i] || !(mask & (1 << i))) {
196 if (stwfb->textures[i])
215 if (i == ST_ATTACHMENT_BACK_LEFT && stwfb->textures[ST_ATTACHMENT_FRONT_LEFT])
257 data = stwfb->textures[ST_ATTACHMENT_FRONT_LEFT];
260 stwfb->textures[i] =
267 stwfb->textures[i] = stwfb->fb->winsys_framebuffer->get_resource(
270 stwfb->textures[i] =
299 stwfb->textures[ST_ATTACHMENT_BACK_LEFT]);
304 stwfb->textures[ST_ATTACHMENT_BACK_LEFT],
305 stwfb->textures[ST_ATTACHMENT_FRONT_LEFT]);
335 struct pipe_resource **textures =
337 : stwfb->textures;
344 texture = textures[ST_ATTACHMENT_BACK_LEFT]; /* Fake front buffer */
348 texture = textures[statts[i]];
374 args->stwfb->textures[ST_ATTACHMENT_BACK_LEFT],
381 args->stwfb->textures[ST_ATTACHMENT_BACK_LEFT],
385 if (args->stwfb->textures[ST_ATTACHMENT_BACK_LEFT])
386 pipe->flush_resource(pipe, args->stwfb->textures[ST_ATTACHMENT_BACK_LEFT]);
425 resource = stwfb->textures[statt];
462 stw_pipe_blit(pipe, stwfb->textures[blit_target],
471 struct pipe_resource *ptex = stwfb->textures[ST_ATTACHMENT_FRONT_LEFT];
472 stwfb->textures[ST_ATTACHMENT_FRONT_LEFT] = stwfb->textures[ST_ATTACHMENT_BACK_LEFT];
473 stwfb->textures[ST_ATTACHMENT_BACK_LEFT] = ptex;
476 if (stwfb->textures[statt])
477 pipe->flush_resource(pipe, stwfb->textures[statt]);
529 pipe_resource_reference(&stwfb->textures[i], NULL);
553 /* swap the textures */
554 ptex = stwfb->textures[front];
555 stwfb->textures[front] = stwfb->textures[back];
556 stwfb->textures[back] = ptex;
593 return stwfb->textures[att];