Lines Matching refs:ptex
157 struct pipe_resource *ptex, struct pipe_box *sub_box) in drisw_present_texture() argument
165 screen->base.screen->flush_frontbuffer(screen->base.screen, ptex, 0, 0, drawable, sub_box); in drisw_present_texture()
180 struct pipe_resource *ptex) in drisw_copy_to_front() argument
182 drisw_present_texture(dPriv, ptex, NULL); in drisw_copy_to_front()
196 struct pipe_resource *ptex; in drisw_swap_buffers() local
201 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_swap_buffers()
203 if (ptex) { in drisw_swap_buffers()
205 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_swap_buffers()
209 drisw_copy_to_front(dPriv, ptex); in drisw_swap_buffers()
219 struct pipe_resource *ptex; in drisw_copy_sub_buffer() local
224 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT]; in drisw_copy_sub_buffer()
226 if (ptex) { in drisw_copy_sub_buffer()
228 pp_run(ctx->pp, ptex, ptex, drawable->textures[ST_ATTACHMENT_DEPTH_STENCIL]); in drisw_copy_sub_buffer()
233 drisw_present_texture(dPriv, ptex, &box); in drisw_copy_sub_buffer()
242 struct pipe_resource *ptex; in drisw_flush_frontbuffer() local
247 ptex = drawable->textures[statt]; in drisw_flush_frontbuffer()
249 if (ptex) { in drisw_flush_frontbuffer()
250 drisw_copy_to_front(ctx->dPriv, ptex); in drisw_flush_frontbuffer()