Lines Matching refs:textures
520 &drawable->textures[ST_ATTACHMENT_FRONT_LEFT]; in kopper_allocate_textures()
531 &drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in kopper_allocate_textures()
542 &drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in kopper_allocate_textures()
558 if (drawable->textures[i] && i < ST_ATTACHMENT_DEPTH_STENCIL && !is_pixmap) { in kopper_allocate_textures()
559 drawable->textures[i]->width0 = width; in kopper_allocate_textures()
560 drawable->textures[i]->height0 = height; in kopper_allocate_textures()
564 pipe_resource_reference(&drawable->textures[i], NULL); in kopper_allocate_textures()
607 if (!drawable->textures[statts[i]]) { in kopper_allocate_textures()
626 data = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in kopper_allocate_textures()
628 drawable->textures[statts[i]] = in kopper_allocate_textures()
633 drawable->textures[statts[i]] = kopper_get_pixmap_buffer(cdraw, format); in kopper_allocate_textures()
638 drawable->textures[statts[i]] = in kopper_allocate_textures()
652 drawable->textures[statts[i]]); in kopper_allocate_textures()
679 struct pipe_resource *ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT] ? in kopper_update_drawable_info()
680 drawable->textures[ST_ATTACHMENT_BACK_LEFT] : in kopper_update_drawable_info()
681 drawable->textures[ST_ATTACHMENT_FRONT_LEFT]; in kopper_update_drawable_info()
731 drawable->textures[ST_ATTACHMENT_FRONT_LEFT], in kopper_flush_frontbuffer()
734 ptex = drawable->textures[statt]; in kopper_flush_frontbuffer()
737 ctx->st->pipe->flush_resource(ctx->st->pipe, drawable->textures[ST_ATTACHMENT_FRONT_LEFT]); in kopper_flush_frontbuffer()
911 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in kopperSwapBuffers()
920 if (!drawable->textures[ST_ATTACHMENT_FRONT_LEFT]) { in kopperSwapBuffers()
925 drawable->textures[ST_ATTACHMENT_BACK_LEFT] = drawable->textures[ST_ATTACHMENT_FRONT_LEFT]; in kopperSwapBuffers()
926 drawable->textures[ST_ATTACHMENT_FRONT_LEFT] = ptex; in kopperSwapBuffers()
982 struct pipe_resource *ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT] ? in kopperSetSwapInterval()
983 drawable->textures[ST_ATTACHMENT_BACK_LEFT] : in kopperSetSwapInterval()
984 drawable->textures[ST_ATTACHMENT_FRONT_LEFT]; in kopperSetSwapInterval()
1000 struct pipe_resource *ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT] ? in kopperQueryBufferAge()
1001 drawable->textures[ST_ATTACHMENT_BACK_LEFT] : in kopperQueryBufferAge()
1002 drawable->textures[ST_ATTACHMENT_FRONT_LEFT]; in kopperQueryBufferAge()