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