Lines Matching refs:statt
518 enum st_attachment_type statt; in dri2_allocate_textures() local
528 statt = ST_ATTACHMENT_FRONT_LEFT; in dri2_allocate_textures()
531 statt = ST_ATTACHMENT_BACK_LEFT; in dri2_allocate_textures()
537 dri_drawable_get_format(drawable, statt, &format, &bind); in dri2_allocate_textures()
556 drawable->textures[statt] = in dri2_allocate_textures()
560 assert(drawable->textures[statt]); in dri2_allocate_textures()
567 enum st_attachment_type statt = statts[i]; in dri2_allocate_textures() local
569 if (statt == ST_ATTACHMENT_DEPTH_STENCIL) in dri2_allocate_textures()
572 if (drawable->textures[statt]) { in dri2_allocate_textures()
573 templ.format = drawable->textures[statt]->format; in dri2_allocate_textures()
574 templ.bind = drawable->textures[statt]->bind & in dri2_allocate_textures()
582 if (!drawable->msaa_textures[statt] || in dri2_allocate_textures()
583 drawable->msaa_textures[statt]->width0 != templ.width0 || in dri2_allocate_textures()
584 drawable->msaa_textures[statt]->height0 != templ.height0) { in dri2_allocate_textures()
586 pipe_resource_reference(&drawable->msaa_textures[statt], NULL); in dri2_allocate_textures()
588 drawable->msaa_textures[statt] = in dri2_allocate_textures()
591 assert(drawable->msaa_textures[statt]); in dri2_allocate_textures()
604 drawable->msaa_textures[statt], in dri2_allocate_textures()
605 drawable->textures[statt]); in dri2_allocate_textures()
609 pipe_resource_reference(&drawable->msaa_textures[statt], NULL); in dri2_allocate_textures()
616 enum st_attachment_type statt = ST_ATTACHMENT_DEPTH_STENCIL; in dri2_allocate_textures() local
621 dri_drawable_get_format(drawable, statt, &format, &bind); in dri2_allocate_textures()
630 zsbuf = &drawable->msaa_textures[statt]; in dri2_allocate_textures()
635 zsbuf = &drawable->textures[statt]; in dri2_allocate_textures()
652 pipe_resource_reference(&drawable->msaa_textures[statt], NULL); in dri2_allocate_textures()
653 pipe_resource_reference(&drawable->textures[statt], NULL); in dri2_allocate_textures()
675 enum st_attachment_type statt) in dri2_flush_frontbuffer() argument
682 if (statt != ST_ATTACHMENT_FRONT_LEFT) in dri2_flush_frontbuffer()