| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/ |
| H A D | sp_context.c | 60 struct softpipe_context *softpipe = softpipe_context( pipe ); local in function:softpipe_destroy 64 if (softpipe->pstipple.sampler) 65 pipe->delete_sampler_state(pipe, softpipe->pstipple.sampler); 67 pipe_resource_reference(&softpipe->pstipple.texture, NULL); 68 pipe_sampler_view_reference(&softpipe->pstipple.sampler_view, NULL); 71 if (softpipe->blitter) { 72 util_blitter_destroy(softpipe->blitter); 75 if (softpipe->draw) 76 draw_destroy( softpipe->draw ); 78 if (softpipe 145 struct softpipe_context *softpipe = softpipe_context( pipe ); local in function:softpipe_is_resource_referenced 186 struct softpipe_context *softpipe = softpipe_context( pipe ); local in function:softpipe_render_condition 198 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_debug_callback 212 struct softpipe_context *softpipe = CALLOC_STRUCT(softpipe_context); local in function:softpipe_create_context [all...] |
| H A D | sp_quad_pipe.h | 45 struct softpipe_context *softpipe; member in struct:quad_stage 58 struct quad_stage *sp_quad_polygon_stipple_stage( struct softpipe_context *softpipe ); 59 struct quad_stage *sp_quad_earlyz_stage( struct softpipe_context *softpipe ); 60 struct quad_stage *sp_quad_shade_stage( struct softpipe_context *softpipe ); 61 struct quad_stage *sp_quad_alpha_test_stage( struct softpipe_context *softpipe ); 62 struct quad_stage *sp_quad_stencil_test_stage( struct softpipe_context *softpipe ); 63 struct quad_stage *sp_quad_depth_test_stage( struct softpipe_context *softpipe ); 64 struct quad_stage *sp_quad_occlusion_stage( struct softpipe_context *softpipe ); 65 struct quad_stage *sp_quad_coverage_stage( struct softpipe_context *softpipe ); 66 struct quad_stage *sp_quad_blend_stage( struct softpipe_context *softpipe ); [all...] |
| H A D | sp_state_derived.c | 49 invalidate_vertex_layout(struct softpipe_context *softpipe) argument 51 softpipe->setup_info.valid = 0; 63 softpipe_compute_vertex_info(struct softpipe_context *softpipe) argument 65 struct sp_setup_info *sinfo = &softpipe->setup_info; 68 const struct tgsi_shader_info *fsInfo = &softpipe->fs_variant->info; 69 struct vertex_info *vinfo = &softpipe->vertex_info; 80 * draw_prepare_shader_outputs(softpipe->draw); 88 softpipe->viewport_index_slot = -1; 89 softpipe->layer_slot = -1; 90 softpipe 239 softpipe_get_vbuf_vertex_info(struct softpipe_context * softpipe) argument 284 set_shader_sampler(struct softpipe_context * softpipe,enum pipe_shader_type shader,int max_sampler) argument 296 softpipe_update_compute_samplers(struct softpipe_context * softpipe) argument 302 update_tgsi_samplers(struct softpipe_context * softpipe) argument 335 update_fragment_shader(struct softpipe_context * softpipe,unsigned prim) argument 386 update_polygon_stipple_pattern(struct softpipe_context * softpipe) argument 412 update_polygon_stipple_enable(struct softpipe_context * softpipe,unsigned prim) argument 434 softpipe_update_derived(struct softpipe_context * softpipe,unsigned prim) argument [all...] |
| H A D | sp_prim_vbuf.h | 35 sp_create_vbuf_backend(struct softpipe_context *softpipe);
|
| H A D | sp_state_clip.c | 39 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_clip_state 42 draw_set_clip_state(softpipe->draw, clip); 52 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_viewport_states 55 draw_set_viewport_states(softpipe->draw, start_slot, num_viewports, 58 memcpy(softpipe->viewports + start_slot, viewports, 60 softpipe->dirty |= SP_NEW_VIEWPORT; 70 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_scissor_states 72 draw_flush(softpipe->draw); 77 memcpy(softpipe->scissors + start_slot, scissors, 79 softpipe 87 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_polygon_stipple [all...] |
| H A D | sp_flush.c | 51 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_flush 54 draw_flush(softpipe->draw); 59 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { 60 for (i = 0; i < softpipe->num_sampler_views[sh]; i++) { 61 sp_flush_tex_tile_cache(softpipe->tex_cache[sh][i]); 71 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) 72 if (softpipe->cbuf_cache[i]) 73 sp_flush_tile_cache(softpipe->cbuf_cache[i]); 75 if (softpipe->zsbuf_cache) 76 sp_flush_tile_cache(softpipe 174 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_texture_barrier [all...] |
| H A D | sp_state_blend.c | 50 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_bind_blend_state 52 draw_flush(softpipe->draw); 54 softpipe->blend = (struct pipe_blend_state *)blend; 56 softpipe->dirty |= SP_NEW_BLEND; 72 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_blend_color 75 draw_flush(softpipe->draw); 77 softpipe->blend_color = *blend_color; 81 softpipe->blend_color_clamped.color[i] = 84 softpipe->dirty |= SP_NEW_BLEND; 100 struct softpipe_context *softpipe local in function:softpipe_bind_depth_stencil_state 119 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_stencil_ref [all...] |
| H A D | sp_quad_fs.c | 65 struct softpipe_context *softpipe = qs->softpipe; local in function:shade_quad 66 struct tgsi_exec_machine *machine = softpipe->fs_machine; 68 if (softpipe->active_statistics_queries) { 69 softpipe->pipeline_statistics.ps_invocations += 74 machine->flatshade_color = softpipe->rasterizer->flatshade ? TRUE : FALSE; 75 return softpipe->fs_variant->run( softpipe->fs_variant, machine, quad, softpipe->early_depth ); 83 struct softpipe_context *softpipe local in function:coverage_quad 108 struct softpipe_context *softpipe = qs->softpipe; local in function:shade_quads 160 sp_quad_shade_stage(struct softpipe_context * softpipe) argument [all...] |
| H A D | sp_state_rasterizer.c | 48 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_bind_rasterizer_state 50 if (softpipe->rasterizer == rasterizer) 54 draw_set_rasterizer_state(softpipe->draw, rasterizer, rasterizer); 56 softpipe->rasterizer = rasterizer; 58 softpipe->dirty |= SP_NEW_RASTERIZER;
|
| H A D | sp_state_so.c | 68 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_so_targets 72 pipe_so_target_reference((struct pipe_stream_output_target **)&softpipe->so_targets[i], targets[i]); 76 softpipe->so_targets[i]->mapping = buf; 80 for (; i < softpipe->num_so_targets; i++) { 81 pipe_so_target_reference((struct pipe_stream_output_target **)&softpipe->so_targets[i], NULL); 84 softpipe->num_so_targets = num_targets; 86 draw_set_mapped_so_targets(softpipe->draw, softpipe->num_so_targets, 87 softpipe->so_targets);
|
| H A D | sp_state_vertex.c | 62 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_bind_vertex_elements_state 65 softpipe->velems = sp_velems; 67 softpipe->dirty |= SP_NEW_VERTEX; 70 draw_set_vertex_elements(softpipe->draw, sp_velems->count, sp_velems->velem); 88 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_vertex_buffers 92 util_set_vertex_buffers_count(softpipe->vertex_buffer, 93 &softpipe->num_vertex_buffers, 98 softpipe->dirty |= SP_NEW_VERTEX; 100 draw_set_vertex_buffers(softpipe->draw, start_slot, count,
|
| H A D | sp_query.c | 92 struct softpipe_context *softpipe = softpipe_context( pipe ); local in function:softpipe_begin_query 99 sq->start = softpipe->occlusion_count; 105 sq->so[sq->index].num_primitives_written = softpipe->so_stats[sq->index].num_primitives_written; 106 sq->so[sq->index].primitives_storage_needed = softpipe->so_stats[sq->index].primitives_storage_needed; 109 sq->so[sq->index].num_primitives_written = softpipe->so_stats[sq->index].num_primitives_written; 110 sq->so[sq->index].primitives_storage_needed = softpipe->so_stats[sq->index].primitives_storage_needed; 114 sq->so[i].num_primitives_written = softpipe->so_stats[i].num_primitives_written; 115 sq->so[i].primitives_storage_needed = softpipe->so_stats[i].primitives_storage_needed; 119 sq->so[sq->index].num_primitives_written = softpipe->so_stats[sq->index].num_primitives_written; 122 sq->so[sq->index].primitives_storage_needed = softpipe 151 struct softpipe_context *softpipe = softpipe_context( pipe ); local in function:softpipe_end_query 343 softpipe_init_query_funcs(struct softpipe_context * softpipe) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/ |
| H A D | sp_context.c | 60 struct softpipe_context *softpipe = softpipe_context( pipe ); local in function:softpipe_destroy 64 if (softpipe->pstipple.sampler) 65 pipe->delete_sampler_state(pipe, softpipe->pstipple.sampler); 67 pipe_resource_reference(&softpipe->pstipple.texture, NULL); 68 pipe_sampler_view_reference(&softpipe->pstipple.sampler_view, NULL); 71 if (softpipe->blitter) { 72 util_blitter_destroy(softpipe->blitter); 75 if (softpipe->draw) 76 draw_destroy( softpipe->draw ); 78 if (softpipe 145 struct softpipe_context *softpipe = softpipe_context( pipe ); local in function:softpipe_is_resource_referenced 186 struct softpipe_context *softpipe = softpipe_context( pipe ); local in function:softpipe_render_condition 200 struct softpipe_context *softpipe = CALLOC_STRUCT(softpipe_context); local in function:softpipe_create_context [all...] |
| H A D | sp_quad_pipe.h | 45 struct softpipe_context *softpipe; member in struct:quad_stage 58 struct quad_stage *sp_quad_polygon_stipple_stage( struct softpipe_context *softpipe ); 59 struct quad_stage *sp_quad_earlyz_stage( struct softpipe_context *softpipe ); 60 struct quad_stage *sp_quad_shade_stage( struct softpipe_context *softpipe ); 61 struct quad_stage *sp_quad_alpha_test_stage( struct softpipe_context *softpipe ); 62 struct quad_stage *sp_quad_stencil_test_stage( struct softpipe_context *softpipe ); 63 struct quad_stage *sp_quad_depth_test_stage( struct softpipe_context *softpipe ); 64 struct quad_stage *sp_quad_occlusion_stage( struct softpipe_context *softpipe ); 65 struct quad_stage *sp_quad_coverage_stage( struct softpipe_context *softpipe ); 66 struct quad_stage *sp_quad_blend_stage( struct softpipe_context *softpipe ); [all...] |
| H A D | sp_state_derived.c | 49 invalidate_vertex_layout(struct softpipe_context *softpipe) argument 51 softpipe->setup_info.valid = 0; 63 softpipe_compute_vertex_info(struct softpipe_context *softpipe) argument 65 struct sp_setup_info *sinfo = &softpipe->setup_info; 68 const struct tgsi_shader_info *fsInfo = &softpipe->fs_variant->info; 69 struct vertex_info *vinfo = &softpipe->vertex_info; 80 * draw_prepare_shader_outputs(softpipe->draw); 88 softpipe->viewport_index_slot = -1; 89 softpipe->layer_slot = -1; 90 softpipe 239 softpipe_get_vbuf_vertex_info(struct softpipe_context * softpipe) argument 284 set_shader_sampler(struct softpipe_context * softpipe,enum pipe_shader_type shader,int max_sampler) argument 296 softpipe_update_compute_samplers(struct softpipe_context * softpipe) argument 302 update_tgsi_samplers(struct softpipe_context * softpipe) argument 335 update_fragment_shader(struct softpipe_context * softpipe,unsigned prim) argument 386 update_polygon_stipple_pattern(struct softpipe_context * softpipe) argument 412 update_polygon_stipple_enable(struct softpipe_context * softpipe,unsigned prim) argument 434 softpipe_update_derived(struct softpipe_context * softpipe,unsigned prim) argument [all...] |
| H A D | sp_prim_vbuf.h | 35 sp_create_vbuf_backend(struct softpipe_context *softpipe);
|
| H A D | sp_clear.c | 53 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_clear 54 struct pipe_surface *zsbuf = softpipe->framebuffer.zsbuf; 59 if (softpipe->no_rast) 62 if (!softpipe_check_render_cond(softpipe)) 66 softpipe_update_derived(softpipe, PIPE_PRIM_TRIANGLES); /* not needed?? */ 70 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) { 72 sp_tile_cache_clear(softpipe->cbuf_cache[i], color, 0); 87 sp_tile_cache_clear(softpipe->zsbuf_cache, &zero, cv); 90 softpipe->dirty_render_cache = TRUE;
|
| H A D | sp_state_clip.c | 39 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_clip_state 42 draw_set_clip_state(softpipe->draw, clip); 52 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_viewport_states 55 draw_set_viewport_states(softpipe->draw, start_slot, num_viewports, 58 memcpy(softpipe->viewports + start_slot, viewports, 60 softpipe->dirty |= SP_NEW_VIEWPORT; 70 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_scissor_states 72 draw_flush(softpipe->draw); 77 memcpy(softpipe->scissors + start_slot, scissors, 79 softpipe 87 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_polygon_stipple [all...] |
| H A D | sp_flush.c | 51 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_flush 54 draw_flush(softpipe->draw); 59 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { 60 for (i = 0; i < softpipe->num_sampler_views[sh]; i++) { 61 sp_flush_tex_tile_cache(softpipe->tex_cache[sh][i]); 71 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) 72 if (softpipe->cbuf_cache[i]) 73 sp_flush_tile_cache(softpipe->cbuf_cache[i]); 75 if (softpipe->zsbuf_cache) 76 sp_flush_tile_cache(softpipe 174 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_texture_barrier [all...] |
| H A D | sp_state_blend.c | 50 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_bind_blend_state 52 draw_flush(softpipe->draw); 54 softpipe->blend = (struct pipe_blend_state *)blend; 56 softpipe->dirty |= SP_NEW_BLEND; 72 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_blend_color 75 draw_flush(softpipe->draw); 77 softpipe->blend_color = *blend_color; 81 softpipe->blend_color_clamped.color[i] = 84 softpipe->dirty |= SP_NEW_BLEND; 100 struct softpipe_context *softpipe local in function:softpipe_bind_depth_stencil_state 119 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_stencil_ref [all...] |
| H A D | sp_quad_fs.c | 65 struct softpipe_context *softpipe = qs->softpipe; local in function:shade_quad 66 struct tgsi_exec_machine *machine = softpipe->fs_machine; 68 if (softpipe->active_statistics_queries) { 69 softpipe->pipeline_statistics.ps_invocations += 74 machine->flatshade_color = softpipe->rasterizer->flatshade ? TRUE : FALSE; 75 return softpipe->fs_variant->run( softpipe->fs_variant, machine, quad, softpipe->early_depth ); 83 struct softpipe_context *softpipe local in function:coverage_quad 108 struct softpipe_context *softpipe = qs->softpipe; local in function:shade_quads 160 sp_quad_shade_stage(struct softpipe_context * softpipe) argument [all...] |
| H A D | sp_state_rasterizer.c | 48 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_bind_rasterizer_state 50 if (softpipe->rasterizer == rasterizer) 54 draw_set_rasterizer_state(softpipe->draw, rasterizer, rasterizer); 56 softpipe->rasterizer = rasterizer; 58 softpipe->dirty |= SP_NEW_RASTERIZER;
|
| H A D | sp_state_shader.c | 49 create_fs_variant(struct softpipe_context *softpipe, argument 57 var = softpipe_create_fs_variant_exec(softpipe); 82 var->draw_shader = draw_create_fragment_shader(softpipe->draw, 122 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_create_fs_state 126 if (softpipe->dump_fs) 133 state->draw_shader = draw_create_fragment_shader(softpipe->draw, 148 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_bind_fs_state 151 if (softpipe->fs == fs) 154 draw_flush(softpipe->draw); 156 softpipe 176 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_delete_fs_state 207 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_create_vs_state 241 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_bind_vs_state 255 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_delete_vs_state 269 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_create_gs_state 311 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_bind_gs_state 325 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_delete_gs_state 343 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_constant_buffer 385 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_create_compute_state 411 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_bind_compute_state 423 MAYBE_UNUSED struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_delete_compute_state [all...] |
| H A D | sp_state_image.c | 35 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_shader_images 38 assert(start + num <= ARRAY_SIZE(softpipe->sampler_views[shader])); 45 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, images[i].resource); 46 softpipe->tgsi.image[shader]->sp_iview[idx] = images[i]; 49 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, NULL); 50 memset(&softpipe->tgsi.image[shader]->sp_iview[idx], 0, sizeof(struct pipe_image_view)); 62 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_shader_buffers 65 assert(start + num <= ARRAY_SIZE(softpipe->buffers[shader])); 72 pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, buffers[i].buffer); 73 softpipe [all...] |
| H A D | sp_state_vertex.c | 62 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_bind_vertex_elements_state 65 softpipe->velems = sp_velems; 67 softpipe->dirty |= SP_NEW_VERTEX; 70 draw_set_vertex_elements(softpipe->draw, sp_velems->count, sp_velems->velem); 86 struct softpipe_context *softpipe = softpipe_context(pipe); local in function:softpipe_set_vertex_buffers 90 util_set_vertex_buffers_count(softpipe->vertex_buffer, 91 &softpipe->num_vertex_buffers, 94 softpipe->dirty |= SP_NEW_VERTEX; 96 draw_set_vertex_buffers(softpipe->draw, start_slot, count, buffers);
|