/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_context.c | 57 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); in llvmpipe_destroy() local 62 if (llvmpipe->blitter) { in llvmpipe_destroy() 63 util_blitter_destroy(llvmpipe->blitter); in llvmpipe_destroy() 66 if (llvmpipe->pipe.stream_uploader) in llvmpipe_destroy() 67 u_upload_destroy(llvmpipe->pipe.stream_uploader); in llvmpipe_destroy() 71 if (llvmpipe->draw) in llvmpipe_destroy() 72 draw_destroy( llvmpipe->draw ); in llvmpipe_destroy() 75 pipe_surface_reference(&llvmpipe->framebuffer.cbufs[i], NULL); in llvmpipe_destroy() 78 pipe_surface_reference(&llvmpipe->framebuffer.zsbuf, NULL); in llvmpipe_destroy() 80 for (i = 0; i < ARRAY_SIZE(llvmpipe->sampler_views[0]); i++) { in llvmpipe_destroy() [all …]
|
D | lp_state_derived.c | 49 compute_vertex_info(struct llvmpipe_context *llvmpipe) in compute_vertex_info() argument 51 const struct tgsi_shader_info *fsInfo = &llvmpipe->fs->info.base; in compute_vertex_info() 52 struct vertex_info *vinfo = &llvmpipe->vertex_info; in compute_vertex_info() 56 draw_prepare_shader_outputs(llvmpipe->draw); in compute_vertex_info() 63 llvmpipe->color_slot[0] = -1; in compute_vertex_info() 64 llvmpipe->color_slot[1] = -1; in compute_vertex_info() 65 llvmpipe->bcolor_slot[0] = -1; in compute_vertex_info() 66 llvmpipe->bcolor_slot[1] = -1; in compute_vertex_info() 67 llvmpipe->viewport_index_slot = -1; in compute_vertex_info() 68 llvmpipe->layer_slot = -1; in compute_vertex_info() [all …]
|
D | lp_state_blend.c | 64 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_blend_state() local 66 if (llvmpipe->blend == blend) in llvmpipe_bind_blend_state() 69 draw_flush(llvmpipe->draw); in llvmpipe_bind_blend_state() 71 llvmpipe->blend = blend; in llvmpipe_bind_blend_state() 73 llvmpipe->dirty |= LP_NEW_BLEND; in llvmpipe_bind_blend_state() 88 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_blend_color() local 93 if(memcmp(&llvmpipe->blend_color, blend_color, sizeof *blend_color) == 0) in llvmpipe_set_blend_color() 96 draw_flush(llvmpipe->draw); in llvmpipe_set_blend_color() 98 memcpy(&llvmpipe->blend_color, blend_color, sizeof *blend_color); in llvmpipe_set_blend_color() 100 llvmpipe->dirty |= LP_NEW_BLEND_COLOR; in llvmpipe_set_blend_color() [all …]
|
D | lp_query.c | 192 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); in llvmpipe_begin_query() local 206 lp_setup_begin_query(llvmpipe->setup, pq); in llvmpipe_begin_query() 210 pq->num_primitives_written = llvmpipe->so_stats.num_primitives_written; in llvmpipe_begin_query() 213 pq->num_primitives_generated = llvmpipe->so_stats.primitives_storage_needed; in llvmpipe_begin_query() 216 pq->num_primitives_written = llvmpipe->so_stats.num_primitives_written; in llvmpipe_begin_query() 217 pq->num_primitives_generated = llvmpipe->so_stats.primitives_storage_needed; in llvmpipe_begin_query() 221 pq->num_primitives_written = llvmpipe->so_stats.num_primitives_written; in llvmpipe_begin_query() 222 pq->num_primitives_generated = llvmpipe->so_stats.primitives_storage_needed; in llvmpipe_begin_query() 226 if (llvmpipe->active_statistics_queries == 0) { in llvmpipe_begin_query() 227 memset(&llvmpipe->pipeline_statistics, 0, in llvmpipe_begin_query() [all …]
|
D | lp_state_clip.c | 39 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_clip_state() local 42 draw_set_clip_state(llvmpipe->draw, clip); in llvmpipe_set_clip_state() 52 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_viewport_states() local 55 draw_set_viewport_states(llvmpipe->draw, start_slot, num_viewports, in llvmpipe_set_viewport_states() 58 memcpy(llvmpipe->viewports + start_slot, viewports, in llvmpipe_set_viewport_states() 60 llvmpipe->dirty |= LP_NEW_VIEWPORT; in llvmpipe_set_viewport_states() 70 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_scissor_states() local 72 draw_flush(llvmpipe->draw); in llvmpipe_set_scissor_states() 77 memcpy(llvmpipe->scissors + start_slot, scissors, in llvmpipe_set_scissor_states() 80 llvmpipe->dirty |= LP_NEW_SCISSOR; in llvmpipe_set_scissor_states() [all …]
|
D | lp_state_sampler.c | 74 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_sampler_states() local 78 assert(start + num <= ARRAY_SIZE(llvmpipe->samplers[shader])); in llvmpipe_bind_sampler_states() 80 draw_flush(llvmpipe->draw); in llvmpipe_bind_sampler_states() 84 llvmpipe->samplers[shader][start + i] = samplers[i]; in llvmpipe_bind_sampler_states() 89 unsigned j = MAX2(llvmpipe->num_samplers[shader], start + num); in llvmpipe_bind_sampler_states() 90 while (j > 0 && llvmpipe->samplers[shader][j - 1] == NULL) in llvmpipe_bind_sampler_states() 92 llvmpipe->num_samplers[shader] = j; in llvmpipe_bind_sampler_states() 96 draw_set_samplers(llvmpipe->draw, in llvmpipe_bind_sampler_states() 98 llvmpipe->samplers[shader], in llvmpipe_bind_sampler_states() 99 llvmpipe->num_samplers[shader]); in llvmpipe_bind_sampler_states() [all …]
|
D | lp_state_gs.c | 46 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_create_gs_state() local 64 state->dgs = draw_create_geometry_shader(llvmpipe->draw, templ); in llvmpipe_create_gs_state() 82 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_gs_state() local 84 llvmpipe->gs = (struct lp_geometry_shader *)gs; in llvmpipe_bind_gs_state() 86 draw_bind_geometry_shader(llvmpipe->draw, in llvmpipe_bind_gs_state() 87 (llvmpipe->gs ? llvmpipe->gs->dgs : NULL)); in llvmpipe_bind_gs_state() 89 llvmpipe->dirty |= LP_NEW_GS; in llvmpipe_bind_gs_state() 96 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_delete_gs_state() local 105 draw_delete_geometry_shader(llvmpipe->draw, state->dgs); in llvmpipe_delete_gs_state() 111 llvmpipe_init_gs_funcs(struct llvmpipe_context *llvmpipe) in llvmpipe_init_gs_funcs() argument [all …]
|
D | lp_state_vertex.c | 60 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_vertex_elements_state() local 63 llvmpipe->velems = lp_velems; in llvmpipe_bind_vertex_elements_state() 65 llvmpipe->dirty |= LP_NEW_VERTEX; in llvmpipe_bind_vertex_elements_state() 68 draw_set_vertex_elements(llvmpipe->draw, lp_velems->count, lp_velems->velem); in llvmpipe_bind_vertex_elements_state() 82 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_vertex_buffers() local 86 util_set_vertex_buffers_count(llvmpipe->vertex_buffer, in llvmpipe_set_vertex_buffers() 87 &llvmpipe->num_vertex_buffers, in llvmpipe_set_vertex_buffers() 90 llvmpipe->dirty |= LP_NEW_VERTEX; in llvmpipe_set_vertex_buffers() 92 draw_set_vertex_buffers(llvmpipe->draw, start_slot, count, buffers); in llvmpipe_set_vertex_buffers() 97 llvmpipe_init_vertex_funcs(struct llvmpipe_context *llvmpipe) in llvmpipe_init_vertex_funcs() argument [all …]
|
D | lp_state_vs.c | 45 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_create_vs_state() local 48 vs = draw_create_vertex_shader(llvmpipe->draw, templ); in llvmpipe_create_vs_state() 65 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_vs_state() local 68 if (llvmpipe->vs == vs) in llvmpipe_bind_vs_state() 71 draw_bind_vertex_shader(llvmpipe->draw, vs); in llvmpipe_bind_vs_state() 73 llvmpipe->vs = vs; in llvmpipe_bind_vs_state() 75 llvmpipe->dirty |= LP_NEW_VS; in llvmpipe_bind_vs_state() 82 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_delete_vs_state() local 85 draw_delete_vertex_shader(llvmpipe->draw, vs); in llvmpipe_delete_vs_state() 91 llvmpipe_init_vs_funcs(struct llvmpipe_context *llvmpipe) in llvmpipe_init_vs_funcs() argument [all …]
|
D | lp_state_rasterizer.c | 104 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_rasterizer_state() local 109 llvmpipe->rasterizer = &state->lp_state; in llvmpipe_bind_rasterizer_state() 110 draw_set_rasterizer_state(llvmpipe->draw, &state->draw_state, handle); in llvmpipe_bind_rasterizer_state() 114 lp_setup_set_triangle_state( llvmpipe->setup, in llvmpipe_bind_rasterizer_state() 120 lp_setup_set_flatshade_first( llvmpipe->setup, in llvmpipe_bind_rasterizer_state() 122 lp_setup_set_line_state( llvmpipe->setup, in llvmpipe_bind_rasterizer_state() 124 lp_setup_set_point_state( llvmpipe->setup, in llvmpipe_bind_rasterizer_state() 131 llvmpipe->rasterizer = NULL; in llvmpipe_bind_rasterizer_state() 132 draw_set_rasterizer_state(llvmpipe->draw, NULL, handle); in llvmpipe_bind_rasterizer_state() 135 llvmpipe->dirty |= LP_NEW_RASTERIZER; in llvmpipe_bind_rasterizer_state() [all …]
|
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 …]
|
D | lp_flush.c | 51 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_flush() local 53 draw_flush(llvmpipe->draw); in llvmpipe_flush() 56 lp_setup_flush(llvmpipe->setup, fence, reason); in llvmpipe_flush() 64 for (i = 0; i < llvmpipe->framebuffer.nr_cbufs; i++) { in llvmpipe_flush() 66 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.cbufs[i]); in llvmpipe_flush() 71 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.zsbuf); in llvmpipe_flush()
|
D | SConscript | 7 print('warning: LLVM disabled: not building llvmpipe') 14 llvmpipe = env.ConvenienceLibrary( 15 target = 'llvmpipe', 19 env.Alias('llvmpipe', llvmpipe) 25 env.Prepend(LIBS = [llvmpipe, gallium, mesautil]) 43 Export('llvmpipe')
|
D | lp_state_so.c | 69 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_so_targets() local 82 …pipe_so_target_reference((struct pipe_stream_output_target **)&llvmpipe->so_targets[i], targets[i]… in llvmpipe_set_so_targets() 85 if (!append && llvmpipe->so_targets[i]) { in llvmpipe_set_so_targets() 86 llvmpipe->so_targets[i]->internal_offset = offsets[i]; in llvmpipe_set_so_targets() 90 for (; i < llvmpipe->num_so_targets; i++) { in llvmpipe_set_so_targets() 91 pipe_so_target_reference((struct pipe_stream_output_target **)&llvmpipe->so_targets[i], NULL); in llvmpipe_set_so_targets() 93 llvmpipe->num_so_targets = num_targets; in llvmpipe_set_so_targets()
|
D | lp_clear.c | 54 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_clear() local 56 if (!llvmpipe_check_render_cond(llvmpipe)) in llvmpipe_clear() 62 lp_setup_clear( llvmpipe->setup, color, depth, stencil, buffers ); in llvmpipe_clear()
|
D | lp_setup_vbuf.c | 562 struct llvmpipe_context *llvmpipe = llvmpipe_context(setup->pipe); in lp_setup_pipeline_statistics() local 564 llvmpipe->pipeline_statistics.ia_vertices += in lp_setup_pipeline_statistics() 566 llvmpipe->pipeline_statistics.ia_primitives += in lp_setup_pipeline_statistics() 568 llvmpipe->pipeline_statistics.vs_invocations += in lp_setup_pipeline_statistics() 570 llvmpipe->pipeline_statistics.gs_invocations += in lp_setup_pipeline_statistics() 572 llvmpipe->pipeline_statistics.gs_primitives += in lp_setup_pipeline_statistics() 574 if (!llvmpipe_rasterization_disabled(llvmpipe)) { in lp_setup_pipeline_statistics() 575 llvmpipe->pipeline_statistics.c_invocations += in lp_setup_pipeline_statistics() 578 llvmpipe->pipeline_statistics.c_invocations = 0; in lp_setup_pipeline_statistics()
|
D | lp_surface.c | 196 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_clear_render_target() local 198 if (render_condition_enabled && !llvmpipe_check_render_cond(llvmpipe)) in llvmpipe_clear_render_target() 216 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_clear_depth_stencil() local 218 if (render_condition_enabled && !llvmpipe_check_render_cond(llvmpipe)) in llvmpipe_clear_depth_stencil()
|
D | lp_texture.c | 515 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_transfer_map() local 553 for (i = 0; i < ARRAY_SIZE(llvmpipe->constants[PIPE_SHADER_FRAGMENT]); ++i) { in llvmpipe_transfer_map() 554 if (resource == llvmpipe->constants[PIPE_SHADER_FRAGMENT][i].buffer) { in llvmpipe_transfer_map() 556 llvmpipe->dirty |= LP_NEW_FS_CONSTANTS; in llvmpipe_transfer_map() 646 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); in llvmpipe_is_resource_referenced() local 652 return lp_setup_is_resource_referenced(llvmpipe->setup, presource); in llvmpipe_is_resource_referenced()
|
D | lp_draw_arrays.c | 160 llvmpipe_init_draw_funcs(struct llvmpipe_context *llvmpipe) in llvmpipe_init_draw_funcs() argument 162 llvmpipe->pipe.draw_vbo = llvmpipe_draw_vbo; in llvmpipe_init_draw_funcs()
|
D | lp_state_fs.c | 2901 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_create_fs_state() local 2920 shader->draw_data = draw_create_fragment_shader(llvmpipe->draw, templ); in llvmpipe_create_fs_state() 2996 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_fs_state() local 2998 if (llvmpipe->fs == fs) in llvmpipe_bind_fs_state() 3001 llvmpipe->fs = (struct lp_fragment_shader *) fs; in llvmpipe_bind_fs_state() 3003 draw_bind_fragment_shader(llvmpipe->draw, in llvmpipe_bind_fs_state() 3004 (llvmpipe->fs ? llvmpipe->fs->draw_data : NULL)); in llvmpipe_bind_fs_state() 3006 llvmpipe->dirty |= LP_NEW_FS; in llvmpipe_bind_fs_state() 3045 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_delete_fs_state() local 3049 assert(fs != llvmpipe->fs); in llvmpipe_delete_fs_state() [all …]
|
D | Automake.inc | 5 $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la
|
/external/mesa3d/docs/ |
D | features.txt | 36 GL 3.0, GLSL 1.30 --- all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr 63 …Multisample anti-aliasing DONE (freedreno (*), llvmpipe (*), softpipe … 65 (*) freedreno, llvmpipe, softpipe, and swr have fake Multisample anti-aliasing support 68 GL 3.1, GLSL 1.40 --- all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr 81 GL 3.2, GLSL 1.50 --- all DONE: i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr 96 GL 3.3, GLSL 3.30 --- all DONE: i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe 112 …GL_ARB_draw_buffers_blend DONE (freedreno, i965/gen6+, nv50, llvmpipe,… 113 …GL_ARB_draw_indirect DONE (freedreno, i965/gen7+, llvmpipe, softp… 122 - Geometry shader instancing DONE (llvmpipe, softpipe) 127 GL_ARB_gpu_shader_fp64 DONE (i965/gen7+, llvmpipe, softpipe) [all …]
|
/external/mesa3d/src/gallium/docs/source/drivers/openswr/ |
D | faq.rst | 8 llvmpipe) in the Mesa tree. Two important reasons for this: 14 to design decisions much different than llvmpipe. 42 and pixel shaders we reuse bits of llvmpipe from 44 differently than llvmpipe's ``auxiliary/draw`` code. 50 significantly faster than llvmpipe. This is to be expected, as 51 llvmpipe only threads the fragment processing and not the geometry 52 frontend. The performance advantage over llvmpipe roughly scales
|
/external/mesa3d/src/gallium/docs/source/drivers/ |
D | openswr.rst | 6 geometry heavy workloads there is a considerable speedup over llvmpipe, 7 which is to be expected as the geometry frontend of llvmpipe is single
|
/external/mesa3d/src/gallium/docs/source/ |
D | debugging.rst | 74 Debug :ref:`flags` for the llvmpipe driver. 78 Number of threads that the llvmpipe driver should use.
|