Lines Matching refs:ppq
42 pp_run(struct pp_queue_t *ppq, struct pipe_resource *in,
48 if (in->width0 != ppq->p->framebuffer.width ||
49 in->height0 != ppq->p->framebuffer.height) {
51 pp_free_fbos(ppq);
52 pp_init_fbos(ppq, in->width0, in->height0);
55 if (in == out && ppq->n_filters == 1) {
57 unsigned int w = ppq->p->framebuffer.width;
58 unsigned int h = ppq->p->framebuffer.height;
60 util_blit_pixels(ppq->p->blitctx, in, 0, 0, 0,
61 w, h, 0, ppq->tmps[0],
65 in = ppq->tmp[0];
69 pipe_resource_reference(&ppq->depth, indepth);
73 switch (ppq->n_filters) {
75 ppq->pp_queue[0] (ppq, in, out, 0);
79 ppq->pp_queue[0] (ppq, in, ppq->tmp[0], 0);
80 ppq->pp_queue[1] (ppq, ppq->tmp[0], out, 1);
84 ppq->pp_queue[0] (ppq, in, ppq->tmp[0], 0);
86 for (i = 1; i < (ppq->n_filters - 1); i++) {
88 ppq->pp_queue[i] (ppq, ppq->tmp[1], ppq->tmp[0], i);
91 ppq->pp_queue[i] (ppq, ppq->tmp[0], ppq->tmp[1], i);
95 ppq->pp_queue[i] (ppq, ppq->tmp[1], out, i);
98 ppq->pp_queue[i] (ppq, ppq->tmp[0], out, i);
103 pipe_resource_reference(&ppq->depth, NULL);