Searched refs:ppq (Results 1 - 12 of 12) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/postprocess/
H A Dpp_celshade.c35 pp_celshade_init(struct pp_queue_t *ppq, unsigned int n, unsigned int val) argument
37 ppq->shaders[n][1] =
38 pp_tgsi_to_state(ppq->p->pipe, celshade, false, "celshade");
40 return (ppq->shaders[n][1] != NULL) ? TRUE : FALSE;
45 pp_celshade_free(struct pp_queue_t *ppq, unsigned int n) argument
H A Dpp_init.c47 struct pp_queue_t *ppq; local in function:pp_init
59 ppq = CALLOC(1, sizeof(struct pp_queue_t));
61 if (!ppq) {
62 pp_debug("Unable to allocate memory for ppq.\n");
66 ppq->pp_queue = CALLOC(num_filters, sizeof(pp_func));
67 if (ppq->pp_queue == NULL) {
72 ppq->shaders = CALLOC(num_filters, sizeof(void *));
73 ppq->filters = CALLOC(num_filters, sizeof(unsigned int));
75 if ((ppq->shaders == NULL) ||
76 (ppq
142 pp_free_fbos(struct pp_queue_t * ppq) argument
169 pp_free(struct pp_queue_t * ppq) argument
255 pp_init_fbos(struct pp_queue_t * ppq,unsigned int w,unsigned int h) argument
[all...]
H A Dpp_colors.c35 pp_nocolor(struct pp_queue_t *ppq, struct pipe_resource *in, argument
39 struct pp_program *p = ppq->p;
51 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][0]);
52 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][1]);
62 pp_nored_init(struct pp_queue_t *ppq, unsigned int n, unsigned int val) argument
64 ppq->shaders[n][1] =
65 pp_tgsi_to_state(ppq->p->pipe, nored, false, "nored");
67 return (ppq->shaders[n][1] != NULL) ? TRUE : FALSE;
72 pp_nogreen_init(struct pp_queue_t *ppq, unsigned int n, unsigned int val) argument
74 ppq
82 pp_noblue_init(struct pp_queue_t * ppq,unsigned int n,unsigned int val) argument
92 pp_nocolor_free(struct pp_queue_t * ppq,unsigned int n) argument
[all...]
H A Dpp_run.c84 pp_run(struct pp_queue_t *ppq, struct pipe_resource *in, argument
89 struct cso_context *cso = ppq->p->cso;
91 if (ppq->n_filters == 0)
94 assert(ppq->pp_queue);
95 assert(ppq->tmp[0]);
97 if (in->width0 != ppq->p->framebuffer.width ||
98 in->height0 != ppq->p->framebuffer.height) {
100 pp_free_fbos(ppq);
101 pp_init_fbos(ppq, in->width0, in->height0);
104 if (in == out && ppq
[all...]
H A Dpp_mlaa.c62 pp_jimenezmlaa_run(struct pp_queue_t *ppq, struct pipe_resource *in, argument
66 struct pp_program *p = ppq->p;
78 assert(ppq);
79 assert(ppq->areamaptex);
80 assert(ppq->inner_tmp);
81 assert(ppq->shaders[n]);
112 p->framebuffer.zsbuf = ppq->stencils;
118 pp_filter_setup_in(p, ppq->depth);
120 pp_filter_setup_out(p, ppq->inner_tmp[0]);
134 cso_set_vertex_shader_handle(p->cso, ppq
214 pp_jimenezmlaa_init_run(struct pp_queue_t * ppq,unsigned int n,unsigned int val,bool iscolor) argument
294 pp_jimenezmlaa_init(struct pp_queue_t * ppq,unsigned int n,unsigned int val) argument
301 pp_jimenezmlaa_init_color(struct pp_queue_t * ppq,unsigned int n,unsigned int val) argument
309 pp_jimenezmlaa(struct pp_queue_t * ppq,struct pipe_resource * in,struct pipe_resource * out,unsigned int n) argument
320 pp_jimenezmlaa_color(struct pp_queue_t * ppq,struct pipe_resource * in,struct pipe_resource * out,unsigned int n) argument
332 pp_jimenezmlaa_free(struct pp_queue_t * ppq,unsigned int n) argument
[all...]
H A Dpp_program.c43 pp_init_prog(struct pp_queue_t *ppq, struct pipe_context *pipe, argument
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/postprocess/
H A Dpp_celshade.c35 pp_celshade_init(struct pp_queue_t *ppq, unsigned int n, unsigned int val) argument
37 ppq->shaders[n][1] =
38 pp_tgsi_to_state(ppq->p->pipe, celshade, false, "celshade");
40 return (ppq->shaders[n][1] != NULL) ? TRUE : FALSE;
45 pp_celshade_free(struct pp_queue_t *ppq, unsigned int n) argument
H A Dpp_init.c47 struct pp_queue_t *ppq; local in function:pp_init
59 ppq = CALLOC(1, sizeof(struct pp_queue_t));
61 if (!ppq) {
62 pp_debug("Unable to allocate memory for ppq.\n");
66 ppq->pp_queue = CALLOC(num_filters, sizeof(pp_func));
67 if (ppq->pp_queue == NULL) {
72 ppq->shaders = CALLOC(num_filters, sizeof(void *));
73 ppq->filters = CALLOC(num_filters, sizeof(unsigned int));
75 if ((ppq->shaders == NULL) ||
76 (ppq
142 pp_free_fbos(struct pp_queue_t * ppq) argument
169 pp_free(struct pp_queue_t * ppq) argument
255 pp_init_fbos(struct pp_queue_t * ppq,unsigned int w,unsigned int h) argument
[all...]
H A Dpp_colors.c35 pp_nocolor(struct pp_queue_t *ppq, struct pipe_resource *in, argument
39 struct pp_program *p = ppq->p;
52 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][0]);
53 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][1]);
63 pp_nored_init(struct pp_queue_t *ppq, unsigned int n, unsigned int val) argument
65 ppq->shaders[n][1] =
66 pp_tgsi_to_state(ppq->p->pipe, nored, false, "nored");
68 return (ppq->shaders[n][1] != NULL) ? TRUE : FALSE;
73 pp_nogreen_init(struct pp_queue_t *ppq, unsigned int n, unsigned int val) argument
75 ppq
83 pp_noblue_init(struct pp_queue_t * ppq,unsigned int n,unsigned int val) argument
93 pp_nocolor_free(struct pp_queue_t * ppq,unsigned int n) argument
[all...]
H A Dpp_run.c85 pp_run(struct pp_queue_t *ppq, struct pipe_resource *in, argument
90 struct cso_context *cso = ppq->p->cso;
92 if (ppq->n_filters == 0)
95 assert(ppq->pp_queue);
96 assert(ppq->tmp[0]);
98 if (in->width0 != ppq->p->framebuffer.width ||
99 in->height0 != ppq->p->framebuffer.height) {
101 pp_free_fbos(ppq);
102 pp_init_fbos(ppq, in->width0, in->height0);
105 if (in == out && ppq
[all...]
H A Dpp_mlaa.c62 pp_jimenezmlaa_run(struct pp_queue_t *ppq, struct pipe_resource *in, argument
66 struct pp_program *p = ppq->p;
78 assert(ppq);
79 assert(ppq->areamaptex);
80 assert(ppq->inner_tmp);
81 assert(ppq->shaders[n]);
106 struct pipe_context *pipe = ppq->p->pipe;
117 p->framebuffer.zsbuf = ppq->stencils;
123 pp_filter_setup_in(p, ppq->depth);
125 pp_filter_setup_out(p, ppq
219 pp_jimenezmlaa_init_run(struct pp_queue_t * ppq,unsigned int n,unsigned int val,bool iscolor) argument
299 pp_jimenezmlaa_init(struct pp_queue_t * ppq,unsigned int n,unsigned int val) argument
306 pp_jimenezmlaa_init_color(struct pp_queue_t * ppq,unsigned int n,unsigned int val) argument
314 pp_jimenezmlaa(struct pp_queue_t * ppq,struct pipe_resource * in,struct pipe_resource * out,unsigned int n) argument
325 pp_jimenezmlaa_color(struct pp_queue_t * ppq,struct pipe_resource * in,struct pipe_resource * out,unsigned int n) argument
337 pp_jimenezmlaa_free(struct pp_queue_t * ppq,unsigned int n) argument
[all...]
H A Dpp_program.c43 pp_init_prog(struct pp_queue_t *ppq, struct pipe_context *pipe, argument

Completed in 5 milliseconds