Searched defs:softpipe (Results 26 - 40 of 40) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_query.c85 struct softpipe_context *softpipe = softpipe_context( pipe ); local
90 sq->start = softpipe->occlusion_count;
100 softpipe->so_stats.num_primitives_written = 0;
104 softpipe->num_primitives_generated = 0;
113 softpipe->active_query_count++;
114 softpipe->dirty |= SP_NEW_QUERY;
121 struct softpipe_context *softpipe = softpipe_context( pipe ); local
124 softpipe->active_query_count--;
127 sq->end = softpipe->occlusion_count;
138 softpipe
[all...]
H A Dsp_prim_vbuf.c29 * Interface between 'draw' module's output and the softpipe rasterizer/setup
60 struct softpipe_context *softpipe; member in struct:softpipe_vbuf_render
84 return softpipe_get_vbuf_vertex_info(cvbr->softpipe);
143 cvbr->softpipe->reduced_prim = u_reduced_prim(prim);
163 struct softpipe_context *softpipe = cvbr->softpipe; local
164 const unsigned stride = softpipe->vertex_info_vbuf.size * sizeof(float);
167 const boolean flatshade_first = softpipe->rasterizer->flatshade_first;
359 struct softpipe_context *softpipe = cvbr->softpipe; local
549 struct softpipe_context *softpipe = cvbr->softpipe; local
[all...]
H A Dsp_state_derived.c48 invalidate_vertex_layout(struct softpipe_context *softpipe) argument
50 softpipe->vertex_info.num_attribs = 0;
63 softpipe_get_vertex_info(struct softpipe_context *softpipe) argument
65 struct vertex_info *vinfo = &softpipe->vertex_info;
69 const struct tgsi_shader_info *fsInfo = &softpipe->fs_variant->info;
70 struct vertex_info *vinfo_vbuf = &softpipe->vertex_info_vbuf;
71 const uint num = draw_num_shader_outputs(softpipe->draw);
117 if (softpipe->rasterizer->flatshade)
126 src = draw_find_shader_output(softpipe->draw,
131 src = draw_find_shader_output(softpipe
166 softpipe_get_vbuf_vertex_info(struct softpipe_context *softpipe) argument
233 update_fragment_shader(struct softpipe_context *softpipe, unsigned prim) argument
282 update_polygon_stipple_pattern(struct softpipe_context *softpipe) argument
308 update_polygon_stipple_enable(struct softpipe_context *softpipe, unsigned prim) argument
333 softpipe_update_derived(struct softpipe_context *softpipe, unsigned prim) argument
[all...]
H A Dsp_state_sampler.c79 struct softpipe_context *softpipe = softpipe_context(pipe); local
83 assert(start + num <= Elements(softpipe->samplers[shader]));
86 if (start + num <= softpipe->num_samplers[shader] &&
87 !memcmp(softpipe->samplers[shader] + start, samplers,
92 draw_flush(softpipe->draw);
96 softpipe->samplers[shader][start + i] = samplers[i];
101 unsigned j = MAX2(softpipe->num_samplers[shader], start + num);
102 while (j > 0 && softpipe->samplers[shader][j - 1] == NULL)
104 softpipe->num_samplers[shader] = j;
108 draw_set_samplers(softpipe
180 struct softpipe_context *softpipe = softpipe_context(pipe); local
308 reset_sampler_variants(struct softpipe_context *softpipe, unsigned shader, unsigned tgsi_shader, int max_sampler) argument
332 softpipe_reset_sampler_variants(struct softpipe_context *softpipe) argument
[all...]
H A Dsp_state_shader.c49 create_fs_variant(struct softpipe_context *softpipe, argument
60 stipple_fs = util_pstipple_create_fragment_shader(&softpipe->pipe,
67 var = softpipe_create_fs_variant_exec(softpipe, curfs);
79 var->draw_shader = draw_create_fragment_shader(softpipe->draw,
124 struct softpipe_context *softpipe = softpipe_context(pipe); local
128 if (softpipe->dump_fs)
135 state->draw_shader = draw_create_fragment_shader(softpipe->draw,
150 struct softpipe_context *softpipe = softpipe_context(pipe); local
153 if (softpipe->fs == fs)
156 draw_flush(softpipe
178 struct softpipe_context *softpipe = softpipe_context(pipe); local
209 struct softpipe_context *softpipe = softpipe_context(pipe); local
243 struct softpipe_context *softpipe = softpipe_context(pipe); local
257 struct softpipe_context *softpipe = softpipe_context(pipe); local
271 struct softpipe_context *softpipe = softpipe_context(pipe); local
309 struct softpipe_context *softpipe = softpipe_context(pipe); local
323 struct softpipe_context *softpipe = softpipe_context(pipe); local
341 struct softpipe_context *softpipe = softpipe_context(pipe); local
[all...]
H A Dsp_quad_blend.c154 struct softpipe_context *softpipe = qs->softpipe; local
175 switch (softpipe->blend->logicop_func) {
271 struct softpipe_context *softpipe = qs->softpipe; local
278 switch (softpipe->blend->rt[blend_index].rgb_src_factor) {
449 switch (softpipe->blend->rt[blend_index].alpha_src_factor) {
541 switch (softpipe->blend->rt[blend_index].rgb_dst_factor) {
701 switch (softpipe->blend->rt[blend_index].alpha_dst_factor) {
778 switch (softpipe
923 struct softpipe_context *softpipe = qs->softpipe; local
1221 struct softpipe_context *softpipe = qs->softpipe; local
[all...]
H A Dsp_quad_depth_test.c528 struct softpipe_context *softpipe = qs->softpipe; local
532 switch (softpipe->depth_stencil->depth.func) {
590 if (softpipe->depth_stencil->depth.writemask) {
612 struct softpipe_context *softpipe = qs->softpipe; local
617 if (!softpipe->depth_stencil->stencil[1].enabled) {
627 func = softpipe->depth_stencil->stencil[face].func;
628 failOp = softpipe->depth_stencil->stencil[face].fail_op;
629 zFailOp = softpipe
973 sp_quad_depth_test_stage(struct softpipe_context *softpipe) argument
[all...]
H A Dsp_setup.c76 struct softpipe_context *softpipe; member in struct:setup_context
130 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect;
164 struct softpipe_context *sp = setup->softpipe;
205 struct quad_stage *pipe = setup->softpipe->quad.first;
293 if (setup->softpipe->rasterizer->flatshade_first)
383 (setup->softpipe->rasterizer->front_ccw));
397 if (setup->softpipe->rasterizer->gl_rasterization_rules) {
578 const struct tgsi_shader_info *fsInfo = &setup->softpipe->fs_variant->info;
586 (fsInfo->origin_lower_left ? setup->softpipe->framebuffer.height-1 : 0)
609 struct softpipe_context *softpipe local
949 struct softpipe_context *softpipe = setup->softpipe; local
1198 struct softpipe_context *softpipe = setup->softpipe; local
1439 sp_setup_create_context(struct softpipe_context *softpipe) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
H A Dsp_prim_vbuf.c29 * Interface between 'draw' module's output and the softpipe rasterizer/setup
60 struct softpipe_context *softpipe; member in struct:softpipe_vbuf_render
84 return softpipe_get_vbuf_vertex_info(cvbr->softpipe);
143 cvbr->softpipe->reduced_prim = u_reduced_prim(prim);
163 struct softpipe_context *softpipe = cvbr->softpipe; local
164 const unsigned stride = softpipe->vertex_info_vbuf.size * sizeof(float);
167 const boolean flatshade_first = softpipe->rasterizer->flatshade_first;
359 struct softpipe_context *softpipe = cvbr->softpipe; local
549 struct softpipe_context *softpipe = cvbr->softpipe; local
[all...]
H A Dsp_state_derived.c48 invalidate_vertex_layout(struct softpipe_context *softpipe) argument
50 softpipe->vertex_info.num_attribs = 0;
63 softpipe_get_vertex_info(struct softpipe_context *softpipe) argument
65 struct vertex_info *vinfo = &softpipe->vertex_info;
69 const struct tgsi_shader_info *fsInfo = &softpipe->fs_variant->info;
70 struct vertex_info *vinfo_vbuf = &softpipe->vertex_info_vbuf;
71 const uint num = draw_num_shader_outputs(softpipe->draw);
117 if (softpipe->rasterizer->flatshade)
126 src = draw_find_shader_output(softpipe->draw,
131 src = draw_find_shader_output(softpipe
166 softpipe_get_vbuf_vertex_info(struct softpipe_context *softpipe) argument
233 update_fragment_shader(struct softpipe_context *softpipe, unsigned prim) argument
282 update_polygon_stipple_pattern(struct softpipe_context *softpipe) argument
308 update_polygon_stipple_enable(struct softpipe_context *softpipe, unsigned prim) argument
333 softpipe_update_derived(struct softpipe_context *softpipe, unsigned prim) argument
[all...]
H A Dsp_state_sampler.c79 struct softpipe_context *softpipe = softpipe_context(pipe); local
83 assert(start + num <= Elements(softpipe->samplers[shader]));
86 if (start + num <= softpipe->num_samplers[shader] &&
87 !memcmp(softpipe->samplers[shader] + start, samplers,
92 draw_flush(softpipe->draw);
96 softpipe->samplers[shader][start + i] = samplers[i];
101 unsigned j = MAX2(softpipe->num_samplers[shader], start + num);
102 while (j > 0 && softpipe->samplers[shader][j - 1] == NULL)
104 softpipe->num_samplers[shader] = j;
108 draw_set_samplers(softpipe
180 struct softpipe_context *softpipe = softpipe_context(pipe); local
308 reset_sampler_variants(struct softpipe_context *softpipe, unsigned shader, unsigned tgsi_shader, int max_sampler) argument
332 softpipe_reset_sampler_variants(struct softpipe_context *softpipe) argument
[all...]
H A Dsp_state_shader.c49 create_fs_variant(struct softpipe_context *softpipe, argument
60 stipple_fs = util_pstipple_create_fragment_shader(&softpipe->pipe,
67 var = softpipe_create_fs_variant_exec(softpipe, curfs);
79 var->draw_shader = draw_create_fragment_shader(softpipe->draw,
124 struct softpipe_context *softpipe = softpipe_context(pipe); local
128 if (softpipe->dump_fs)
135 state->draw_shader = draw_create_fragment_shader(softpipe->draw,
150 struct softpipe_context *softpipe = softpipe_context(pipe); local
153 if (softpipe->fs == fs)
156 draw_flush(softpipe
178 struct softpipe_context *softpipe = softpipe_context(pipe); local
209 struct softpipe_context *softpipe = softpipe_context(pipe); local
243 struct softpipe_context *softpipe = softpipe_context(pipe); local
257 struct softpipe_context *softpipe = softpipe_context(pipe); local
271 struct softpipe_context *softpipe = softpipe_context(pipe); local
309 struct softpipe_context *softpipe = softpipe_context(pipe); local
323 struct softpipe_context *softpipe = softpipe_context(pipe); local
341 struct softpipe_context *softpipe = softpipe_context(pipe); local
[all...]
H A Dsp_quad_blend.c154 struct softpipe_context *softpipe = qs->softpipe; local
175 switch (softpipe->blend->logicop_func) {
271 struct softpipe_context *softpipe = qs->softpipe; local
278 switch (softpipe->blend->rt[blend_index].rgb_src_factor) {
449 switch (softpipe->blend->rt[blend_index].alpha_src_factor) {
541 switch (softpipe->blend->rt[blend_index].rgb_dst_factor) {
701 switch (softpipe->blend->rt[blend_index].alpha_dst_factor) {
778 switch (softpipe
923 struct softpipe_context *softpipe = qs->softpipe; local
1221 struct softpipe_context *softpipe = qs->softpipe; local
[all...]
H A Dsp_quad_depth_test.c528 struct softpipe_context *softpipe = qs->softpipe; local
532 switch (softpipe->depth_stencil->depth.func) {
590 if (softpipe->depth_stencil->depth.writemask) {
612 struct softpipe_context *softpipe = qs->softpipe; local
617 if (!softpipe->depth_stencil->stencil[1].enabled) {
627 func = softpipe->depth_stencil->stencil[face].func;
628 failOp = softpipe->depth_stencil->stencil[face].fail_op;
629 zFailOp = softpipe
973 sp_quad_depth_test_stage(struct softpipe_context *softpipe) argument
[all...]
H A Dsp_setup.c76 struct softpipe_context *softpipe; member in struct:setup_context
130 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect;
164 struct softpipe_context *sp = setup->softpipe;
205 struct quad_stage *pipe = setup->softpipe->quad.first;
293 if (setup->softpipe->rasterizer->flatshade_first)
383 (setup->softpipe->rasterizer->front_ccw));
397 if (setup->softpipe->rasterizer->gl_rasterization_rules) {
578 const struct tgsi_shader_info *fsInfo = &setup->softpipe->fs_variant->info;
586 (fsInfo->origin_lower_left ? setup->softpipe->framebuffer.height-1 : 0)
609 struct softpipe_context *softpipe local
949 struct softpipe_context *softpipe = setup->softpipe; local
1198 struct softpipe_context *softpipe = setup->softpipe; local
1439 sp_setup_create_context(struct softpipe_context *softpipe) argument
[all...]

Completed in 191 milliseconds

12