Lines Matching defs:statt

536          enum st_attachment_type statt;
546 statt = ST_ATTACHMENT_FRONT_LEFT;
549 statt = ST_ATTACHMENT_BACK_LEFT;
555 dri_drawable_get_format(drawable, statt, &format, &bind);
574 drawable->textures[statt] =
578 assert(drawable->textures[statt]);
585 enum st_attachment_type statt = statts[i];
587 if (statt == ST_ATTACHMENT_DEPTH_STENCIL)
590 if (drawable->textures[statt]) {
591 templ.format = drawable->textures[statt]->format;
592 templ.bind = drawable->textures[statt]->bind &
600 if (!drawable->msaa_textures[statt] ||
601 drawable->msaa_textures[statt]->width0 != templ.width0 ||
602 drawable->msaa_textures[statt]->height0 != templ.height0) {
604 pipe_resource_reference(&drawable->msaa_textures[statt], NULL);
606 drawable->msaa_textures[statt] =
609 assert(drawable->msaa_textures[statt]);
622 drawable->msaa_textures[statt],
623 drawable->textures[statt]);
627 pipe_resource_reference(&drawable->msaa_textures[statt], NULL);
634 enum st_attachment_type statt = ST_ATTACHMENT_DEPTH_STENCIL;
639 dri_drawable_get_format(drawable, statt, &format, &bind);
648 zsbuf = &drawable->msaa_textures[statt];
653 zsbuf = &drawable->textures[statt];
670 pipe_resource_reference(&drawable->msaa_textures[statt], NULL);
671 pipe_resource_reference(&drawable->textures[statt], NULL);
693 enum st_attachment_type statt)
708 if (statt != ST_ATTACHMENT_FRONT_LEFT &&
709 (!ctx->is_shared_buffer_bound || statt != ST_ATTACHMENT_BACK_LEFT))
714 dri_pipe_blit(ctx->st->pipe, drawable->textures[statt],
715 drawable->msaa_textures[statt]);
718 if (drawable->textures[statt]) {
719 pipe->flush_resource(pipe, drawable->textures[statt]);