Lines Matching defs:ptex
205 struct pipe_resource *ptex, struct pipe_box *sub_box)
210 screen->base.screen->flush_frontbuffer(screen->base.screen, pipe, ptex, 0, 0, drawable, sub_box);
679 struct pipe_resource *ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT] ?
683 bool do_kopper_update = is_window && ptex && kscreen->base.fd == -1;
685 zink_kopper_update(screen, ptex, &dPriv->w, &dPriv->h);
692 struct pipe_resource *ptex, struct pipe_box *sub_box)
697 screen->base.screen->flush_frontbuffer(screen->base.screen, pipe, ptex, 0, 0, drawable, sub_box);
703 struct pipe_resource *ptex)
705 kopper_present_texture(pipe, dPriv, ptex, NULL);
715 struct pipe_resource *ptex;
734 ptex = drawable->textures[statt];
736 if (ptex) {
755 kopper_copy_to_front(st->pipe, ctx->dPriv, ptex);
906 struct pipe_resource *ptex;
911 ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT];
912 if (!ptex)
917 kopper_copy_to_front(ctx->st->pipe, dPriv, ptex);
918 if (kdraw->is_window && !zink_kopper_check(ptex))
926 drawable->textures[ST_ATTACHMENT_FRONT_LEFT] = ptex;
982 struct pipe_resource *ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT] ?
990 if (ptex)
991 zink_kopper_set_swap_interval(pscreen, ptex, interval);
1000 struct pipe_resource *ptex = drawable->textures[ST_ATTACHMENT_BACK_LEFT] ?
1004 return zink_kopper_query_buffer_age(ctx->st->pipe, ptex);