| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_context.c | 58 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local in function:llvmpipe_destroy 63 if (llvmpipe->csctx) { 64 lp_csctx_destroy(llvmpipe->csctx); 66 if (llvmpipe->blitter) { 67 util_blitter_destroy(llvmpipe->blitter); 70 if (llvmpipe->pipe.stream_uploader) 71 u_upload_destroy(llvmpipe->pipe.stream_uploader); 73 /* This will also destroy llvmpipe->setup: 75 if (llvmpipe->draw) 76 draw_destroy( llvmpipe 128 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local in function:llvmpipe_render_condition 141 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local in function:llvmpipe_render_condition_mem 180 struct llvmpipe_context *llvmpipe; local in function:llvmpipe_create_context [all...] |
| H A D | lp_state_derived.c | 49 compute_vertex_info(struct llvmpipe_context *llvmpipe) argument 51 const struct tgsi_shader_info *fsInfo = &llvmpipe->fs->info.base; 52 struct vertex_info *vinfo = &llvmpipe->vertex_info; 56 draw_prepare_shader_outputs(llvmpipe->draw); 63 llvmpipe->color_slot[0] = -1; 64 llvmpipe->color_slot[1] = -1; 65 llvmpipe->bcolor_slot[0] = -1; 66 llvmpipe->bcolor_slot[1] = -1; 67 llvmpipe->viewport_index_slot = -1; 68 llvmpipe 236 llvmpipe_update_derived_clear(struct llvmpipe_context * llvmpipe) argument 251 llvmpipe_update_derived(struct llvmpipe_context * llvmpipe) argument [all...] |
| H A D | lp_state_clip.c | 39 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_clip_state 42 draw_set_clip_state(llvmpipe->draw, clip); 52 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_viewport_states 55 draw_set_viewport_states(llvmpipe->draw, start_slot, num_viewports, 58 memcpy(llvmpipe->viewports + start_slot, viewports, 60 llvmpipe->dirty |= LP_NEW_VIEWPORT; 70 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_scissor_states 72 draw_flush(llvmpipe->draw); 77 memcpy(llvmpipe->scissors + start_slot, scissors, 80 llvmpipe 88 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_polygon_stipple 99 llvmpipe_init_clip_funcs(struct llvmpipe_context * llvmpipe) argument [all...] |
| H A D | lp_state_blend.c | 64 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_blend_state 66 if (llvmpipe->blend == blend) 69 draw_flush(llvmpipe->draw); 71 llvmpipe->blend = blend; 73 llvmpipe->dirty |= LP_NEW_BLEND; 88 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_blend_color 93 if(memcmp(&llvmpipe->blend_color, blend_color, sizeof *blend_color) == 0) 96 draw_flush(llvmpipe->draw); 98 memcpy(&llvmpipe->blend_color, blend_color, sizeof *blend_color); 100 llvmpipe 136 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_depth_stencil_state 160 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_stencil_ref 177 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_sample_mask 192 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_min_samples 202 llvmpipe_init_blend_funcs(struct llvmpipe_context * llvmpipe) argument [all...] |
| H A D | lp_clear.c | 56 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_clear 58 if (!llvmpipe_check_render_cond(llvmpipe)) 61 llvmpipe_update_derived_clear(llvmpipe); 66 lp_setup_clear( llvmpipe->setup, color, depth, stencil, buffers );
|
| H A D | lp_state_gs.c | 46 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_create_gs_state 55 debug_printf("llvmpipe: Create geometry shader %p:\n", (void *)state); 67 state->dgs = draw_create_geometry_shader(llvmpipe->draw, templ); 85 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_gs_state 87 llvmpipe->gs = (struct lp_geometry_shader *)gs; 89 draw_bind_geometry_shader(llvmpipe->draw, 90 (llvmpipe->gs ? llvmpipe->gs->dgs : NULL)); 92 llvmpipe->dirty |= LP_NEW_GS; 99 struct llvmpipe_context *llvmpipe local in function:llvmpipe_delete_gs_state 114 llvmpipe_init_gs_funcs(struct llvmpipe_context * llvmpipe) argument [all...] |
| H A D | lp_state_vertex.c | 60 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_vertex_elements_state 63 llvmpipe->velems = lp_velems; 65 llvmpipe->dirty |= LP_NEW_VERTEX; 68 draw_set_vertex_elements(llvmpipe->draw, lp_velems->count, lp_velems->velem); 84 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_vertex_buffers 88 util_set_vertex_buffers_count(llvmpipe->vertex_buffer, 89 &llvmpipe->num_vertex_buffers, 94 llvmpipe->dirty |= LP_NEW_VERTEX; 96 draw_set_vertex_buffers(llvmpipe->draw, start_slot, count, 102 llvmpipe_init_vertex_funcs(struct llvmpipe_context *llvmpipe) argument [all...] |
| H A D | lp_state_vs.c | 45 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_create_vs_state 48 vs = draw_create_vertex_shader(llvmpipe->draw, templ); 54 debug_printf("llvmpipe: Create vertex shader %p:\n", (void *) vs); 65 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_vs_state 68 if (llvmpipe->vs == vs) 71 draw_bind_vertex_shader(llvmpipe->draw, vs); 73 llvmpipe->vs = vs; 75 llvmpipe->dirty |= LP_NEW_VS; 82 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_delete_vs_state 85 draw_delete_vertex_shader(llvmpipe 91 llvmpipe_init_vs_funcs(struct llvmpipe_context * llvmpipe) argument [all...] |
| H A D | lp_state_tess.c | 44 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_create_tcs_state 53 debug_printf("llvmpipe: Create tess ctrl shader %p:\n", (void *)state); 62 state->dtcs = draw_create_tess_ctrl_shader(llvmpipe->draw, templ); 80 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_tcs_state 82 llvmpipe->tcs = (struct lp_tess_ctrl_shader *)tcs; 84 draw_bind_tess_ctrl_shader(llvmpipe->draw, 85 (llvmpipe->tcs ? llvmpipe->tcs->dtcs : NULL)); 87 llvmpipe->dirty |= LP_NEW_TCS; 94 struct llvmpipe_context *llvmpipe local in function:llvmpipe_delete_tcs_state 112 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_create_tes_state 148 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_tes_state 162 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_delete_tes_state 180 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_tess_state 187 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_patch_vertices 193 llvmpipe_init_tess_funcs(struct llvmpipe_context * llvmpipe) argument [all...] |
| H A D | lp_state_so.c | 76 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_so_targets 89 pipe_so_target_reference((struct pipe_stream_output_target **)&llvmpipe->so_targets[i], targets[i]); 92 if (!append && llvmpipe->so_targets[i]) { 93 llvmpipe->so_targets[i]->internal_offset = offsets[i]; 98 llvmpipe->so_targets[i]->mapping = buf; 102 for (; i < llvmpipe->num_so_targets; i++) { 103 pipe_so_target_reference((struct pipe_stream_output_target **)&llvmpipe->so_targets[i], NULL); 105 llvmpipe->num_so_targets = num_targets; 107 draw_set_mapped_so_targets(llvmpipe->draw, llvmpipe [all...] |
| H A D | lp_flush.c | 51 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_flush 53 draw_flush(llvmpipe->draw); 56 lp_setup_flush(llvmpipe->setup, fence, reason); 64 for (i = 0; i < llvmpipe->framebuffer.nr_cbufs; i++) { 66 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.cbufs[i]); 71 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.zsbuf);
|
| H A D | lp_state.h | 120 llvmpipe_update_derived_clear(struct llvmpipe_context *llvmpipe); 123 llvmpipe_update_derived(struct llvmpipe_context *llvmpipe); 126 llvmpipe_init_sampler_funcs(struct llvmpipe_context *llvmpipe); 129 llvmpipe_init_blend_funcs(struct llvmpipe_context *llvmpipe); 132 llvmpipe_init_vertex_funcs(struct llvmpipe_context *llvmpipe); 135 llvmpipe_init_draw_funcs(struct llvmpipe_context *llvmpipe); 138 llvmpipe_init_compute_funcs(struct llvmpipe_context *llvmpipe); 141 llvmpipe_init_clip_funcs(struct llvmpipe_context *llvmpipe); 144 llvmpipe_init_fs_funcs(struct llvmpipe_context *llvmpipe); 147 llvmpipe_init_vs_funcs(struct llvmpipe_context *llvmpipe); [all...] |
| H A D | lp_state_rasterizer.c | 104 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_rasterizer_state 109 llvmpipe->rasterizer = &state->lp_state; 110 draw_set_rasterizer_state(llvmpipe->draw, &state->draw_state, handle); 114 lp_setup_set_triangle_state( llvmpipe->setup, 121 lp_setup_set_flatshade_first( llvmpipe->setup, 123 lp_setup_set_line_state( llvmpipe->setup, 126 lp_setup_set_point_state( llvmpipe->setup, 135 llvmpipe->rasterizer = NULL; 136 draw_set_rasterizer_state(llvmpipe->draw, NULL, handle); 139 llvmpipe 153 llvmpipe_init_rasterizer_funcs(struct llvmpipe_context * llvmpipe) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_context.c | 57 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local in function:llvmpipe_destroy 62 if (llvmpipe->blitter) { 63 util_blitter_destroy(llvmpipe->blitter); 66 if (llvmpipe->pipe.stream_uploader) 67 u_upload_destroy(llvmpipe->pipe.stream_uploader); 69 /* This will also destroy llvmpipe->setup: 71 if (llvmpipe->draw) 72 draw_destroy( llvmpipe->draw ); 75 pipe_surface_reference(&llvmpipe->framebuffer.cbufs[i], NULL); 78 pipe_surface_reference(&llvmpipe 127 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local in function:llvmpipe_render_condition 138 struct llvmpipe_context *llvmpipe; local in function:llvmpipe_create_context [all...] |
| H A D | lp_state_blend.c | 64 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_blend_state 66 if (llvmpipe->blend == blend) 69 draw_flush(llvmpipe->draw); 71 llvmpipe->blend = blend; 73 llvmpipe->dirty |= LP_NEW_BLEND; 88 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_blend_color 93 if(memcmp(&llvmpipe->blend_color, blend_color, sizeof *blend_color) == 0) 96 draw_flush(llvmpipe->draw); 98 memcpy(&llvmpipe->blend_color, blend_color, sizeof *blend_color); 100 llvmpipe 136 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_depth_stencil_state 160 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_stencil_ref 180 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_sample_mask 190 llvmpipe_init_blend_funcs(struct llvmpipe_context * llvmpipe) argument [all...] |
| H A D | lp_state_clip.c | 39 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_clip_state 42 draw_set_clip_state(llvmpipe->draw, clip); 52 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_viewport_states 55 draw_set_viewport_states(llvmpipe->draw, start_slot, num_viewports, 58 memcpy(llvmpipe->viewports + start_slot, viewports, 60 llvmpipe->dirty |= LP_NEW_VIEWPORT; 70 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_scissor_states 72 draw_flush(llvmpipe->draw); 77 memcpy(llvmpipe->scissors + start_slot, scissors, 80 llvmpipe 88 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_polygon_stipple 99 llvmpipe_init_clip_funcs(struct llvmpipe_context * llvmpipe) argument [all...] |
| H A D | lp_state_derived.c | 49 compute_vertex_info(struct llvmpipe_context *llvmpipe) argument 51 const struct tgsi_shader_info *fsInfo = &llvmpipe->fs->info.base; 52 struct vertex_info *vinfo = &llvmpipe->vertex_info; 56 draw_prepare_shader_outputs(llvmpipe->draw); 63 llvmpipe->color_slot[0] = -1; 64 llvmpipe->color_slot[1] = -1; 65 llvmpipe->bcolor_slot[0] = -1; 66 llvmpipe->bcolor_slot[1] = -1; 67 llvmpipe->viewport_index_slot = -1; 68 llvmpipe 183 llvmpipe_update_derived(struct llvmpipe_context * llvmpipe) argument [all...] |
| H A D | lp_state_gs.c | 46 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_create_gs_state 55 debug_printf("llvmpipe: Create geometry shader %p:\n", (void *)state); 64 state->dgs = draw_create_geometry_shader(llvmpipe->draw, templ); 82 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_gs_state 84 llvmpipe->gs = (struct lp_geometry_shader *)gs; 86 draw_bind_geometry_shader(llvmpipe->draw, 87 (llvmpipe->gs ? llvmpipe->gs->dgs : NULL)); 89 llvmpipe->dirty |= LP_NEW_GS; 96 struct llvmpipe_context *llvmpipe local in function:llvmpipe_delete_gs_state 111 llvmpipe_init_gs_funcs(struct llvmpipe_context * llvmpipe) argument [all...] |
| H A D | lp_state_vertex.c | 60 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_vertex_elements_state 63 llvmpipe->velems = lp_velems; 65 llvmpipe->dirty |= LP_NEW_VERTEX; 68 draw_set_vertex_elements(llvmpipe->draw, lp_velems->count, lp_velems->velem); 82 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_set_vertex_buffers 86 util_set_vertex_buffers_count(llvmpipe->vertex_buffer, 87 &llvmpipe->num_vertex_buffers, 90 llvmpipe->dirty |= LP_NEW_VERTEX; 92 draw_set_vertex_buffers(llvmpipe->draw, start_slot, count, buffers); 97 llvmpipe_init_vertex_funcs(struct llvmpipe_context *llvmpipe) argument [all...] |
| H A D | lp_state_vs.c | 45 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_create_vs_state 48 vs = draw_create_vertex_shader(llvmpipe->draw, templ); 54 debug_printf("llvmpipe: Create vertex shader %p:\n", (void *) vs); 65 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_vs_state 68 if (llvmpipe->vs == vs) 71 draw_bind_vertex_shader(llvmpipe->draw, vs); 73 llvmpipe->vs = vs; 75 llvmpipe->dirty |= LP_NEW_VS; 82 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_delete_vs_state 85 draw_delete_vertex_shader(llvmpipe 91 llvmpipe_init_vs_funcs(struct llvmpipe_context * llvmpipe) argument [all...] |
| H A D | lp_clear.c | 54 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_clear 56 if (!llvmpipe_check_render_cond(llvmpipe)) 62 lp_setup_clear( llvmpipe->setup, color, depth, stencil, buffers );
|
| H A D | lp_state.h | 97 llvmpipe_update_derived(struct llvmpipe_context *llvmpipe); 100 llvmpipe_init_sampler_funcs(struct llvmpipe_context *llvmpipe); 103 llvmpipe_init_blend_funcs(struct llvmpipe_context *llvmpipe); 106 llvmpipe_init_vertex_funcs(struct llvmpipe_context *llvmpipe); 109 llvmpipe_init_draw_funcs(struct llvmpipe_context *llvmpipe); 112 llvmpipe_init_clip_funcs(struct llvmpipe_context *llvmpipe); 115 llvmpipe_init_fs_funcs(struct llvmpipe_context *llvmpipe); 118 llvmpipe_init_vs_funcs(struct llvmpipe_context *llvmpipe); 121 llvmpipe_init_gs_funcs(struct llvmpipe_context *llvmpipe); 124 llvmpipe_init_rasterizer_funcs(struct llvmpipe_context *llvmpipe); [all...] |
| H A D | lp_query.c | 192 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local in function:llvmpipe_begin_query 206 lp_setup_begin_query(llvmpipe->setup, pq); 210 pq->num_primitives_written = llvmpipe->so_stats.num_primitives_written; 213 pq->num_primitives_generated = llvmpipe->so_stats.primitives_storage_needed; 216 pq->num_primitives_written = llvmpipe->so_stats.num_primitives_written; 217 pq->num_primitives_generated = llvmpipe->so_stats.primitives_storage_needed; 221 pq->num_primitives_written = llvmpipe->so_stats.num_primitives_written; 222 pq->num_primitives_generated = llvmpipe->so_stats.primitives_storage_needed; 226 if (llvmpipe->active_statistics_queries == 0) { 227 memset(&llvmpipe 249 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local in function:llvmpipe_end_query 336 llvmpipe_init_query_funcs(struct llvmpipe_context * llvmpipe) argument [all...] |
| H A D | lp_flush.c | 51 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_flush 53 draw_flush(llvmpipe->draw); 56 lp_setup_flush(llvmpipe->setup, fence, reason); 64 for (i = 0; i < llvmpipe->framebuffer.nr_cbufs; i++) { 66 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.cbufs[i]); 71 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.zsbuf);
|
| H A D | lp_state_rasterizer.c | 104 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local in function:llvmpipe_bind_rasterizer_state 109 llvmpipe->rasterizer = &state->lp_state; 110 draw_set_rasterizer_state(llvmpipe->draw, &state->draw_state, handle); 114 lp_setup_set_triangle_state( llvmpipe->setup, 120 lp_setup_set_flatshade_first( llvmpipe->setup, 122 lp_setup_set_line_state( llvmpipe->setup, 124 lp_setup_set_point_state( llvmpipe->setup, 131 llvmpipe->rasterizer = NULL; 132 draw_set_rasterizer_state(llvmpipe->draw, NULL, handle); 135 llvmpipe 149 llvmpipe_init_rasterizer_funcs(struct llvmpipe_context * llvmpipe) argument [all...] |