/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_context.c | 56 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); in llvmpipe_destroy() local 63 if (llvmpipe->draw) in llvmpipe_destroy() 64 draw_destroy( llvmpipe->draw ); in llvmpipe_destroy() 67 pipe_surface_reference(&llvmpipe->framebuffer.cbufs[i], NULL); in llvmpipe_destroy() 70 pipe_surface_reference(&llvmpipe->framebuffer.zsbuf, NULL); in llvmpipe_destroy() 72 for (i = 0; i < Elements(llvmpipe->sampler_views[0]); i++) { in llvmpipe_destroy() 73 pipe_sampler_view_reference(&llvmpipe->sampler_views[PIPE_SHADER_FRAGMENT][i], NULL); in llvmpipe_destroy() 76 for (i = 0; i < Elements(llvmpipe->sampler_views[0]); i++) { in llvmpipe_destroy() 77 pipe_sampler_view_reference(&llvmpipe->sampler_views[PIPE_SHADER_VERTEX][i], NULL); in llvmpipe_destroy() 80 for (i = 0; i < Elements(llvmpipe->constants); 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 lp_fragment_shader *lpfs = llvmpipe->fs; in compute_vertex_info() 52 struct vertex_info *vinfo = &llvmpipe->vertex_info; in compute_vertex_info() 56 llvmpipe->color_slot[0] = -1; in compute_vertex_info() 57 llvmpipe->color_slot[1] = -1; in compute_vertex_info() 58 llvmpipe->bcolor_slot[0] = -1; in compute_vertex_info() 59 llvmpipe->bcolor_slot[1] = -1; in compute_vertex_info() 69 vs_index = draw_find_shader_output(llvmpipe->draw, in compute_vertex_info() 80 vs_index = draw_find_shader_output(llvmpipe->draw, in compute_vertex_info() 87 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs; 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_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() 50 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_viewport_state() local 53 draw_set_viewport_state(llvmpipe->draw, viewport); in llvmpipe_set_viewport_state() 55 llvmpipe->viewport = *viewport; /* struct copy */ in llvmpipe_set_viewport_state() 56 llvmpipe->dirty |= LP_NEW_VIEWPORT; in llvmpipe_set_viewport_state() 64 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_scissor_state() local 66 draw_flush(llvmpipe->draw); in llvmpipe_set_scissor_state() 68 llvmpipe->scissor = *scissor; /* struct copy */ in llvmpipe_set_scissor_state() 69 llvmpipe->dirty |= LP_NEW_SCISSOR; in llvmpipe_set_scissor_state() [all …]
|
D | lp_state_vertex.c | 59 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_vertex_elements_state() local 62 llvmpipe->velems = lp_velems; in llvmpipe_bind_vertex_elements_state() 64 llvmpipe->dirty |= LP_NEW_VERTEX; in llvmpipe_bind_vertex_elements_state() 67 draw_set_vertex_elements(llvmpipe->draw, lp_velems->count, lp_velems->velem); in llvmpipe_bind_vertex_elements_state() 81 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_vertex_buffers() local 85 util_copy_vertex_buffers(llvmpipe->vertex_buffer, in llvmpipe_set_vertex_buffers() 86 &llvmpipe->num_vertex_buffers, in llvmpipe_set_vertex_buffers() 89 llvmpipe->dirty |= LP_NEW_VERTEX; in llvmpipe_set_vertex_buffers() 91 draw_set_vertex_buffers(llvmpipe->draw, count, buffers); in llvmpipe_set_vertex_buffers() 99 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_set_index_buffer() local [all …]
|
D | lp_state_sampler.c | 74 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_sampler_states() local 78 assert(start + num <= Elements(llvmpipe->samplers[shader])); in llvmpipe_bind_sampler_states() 81 if (start + num <= llvmpipe->num_samplers[shader] && in llvmpipe_bind_sampler_states() 82 !memcmp(llvmpipe->samplers[shader] + start, samplers, in llvmpipe_bind_sampler_states() 87 draw_flush(llvmpipe->draw); in llvmpipe_bind_sampler_states() 91 llvmpipe->samplers[shader][start + i] = samplers[i]; in llvmpipe_bind_sampler_states() 96 unsigned j = MAX2(llvmpipe->num_samplers[shader], start + num); in llvmpipe_bind_sampler_states() 97 while (j > 0 && llvmpipe->samplers[shader][j - 1] == NULL) in llvmpipe_bind_sampler_states() 99 llvmpipe->num_samplers[shader] = j; in llvmpipe_bind_sampler_states() 103 draw_set_samplers(llvmpipe->draw, in llvmpipe_bind_sampler_states() [all …]
|
D | lp_state_gs.c | 45 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_create_gs_state() local 62 state->draw_data = draw_create_geometry_shader(llvmpipe->draw, templ); in llvmpipe_create_gs_state() 81 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_gs_state() local 83 llvmpipe->gs = (struct lp_geometry_shader *)gs; in llvmpipe_bind_gs_state() 85 draw_bind_geometry_shader(llvmpipe->draw, in llvmpipe_bind_gs_state() 86 (llvmpipe->gs ? llvmpipe->gs->draw_data : NULL)); in llvmpipe_bind_gs_state() 88 llvmpipe->dirty |= LP_NEW_GS; in llvmpipe_bind_gs_state() 95 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_delete_gs_state() local 100 draw_delete_geometry_shader(llvmpipe->draw, in llvmpipe_delete_gs_state() 107 llvmpipe_init_gs_funcs(struct llvmpipe_context *llvmpipe) in llvmpipe_init_gs_funcs() argument [all …]
|
D | lp_state_vs.c | 45 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_create_vs_state() local 58 state->draw_data = draw_create_vertex_shader(llvmpipe->draw, templ); in llvmpipe_create_vs_state() 82 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_vs_state() local 85 if (llvmpipe->vs == vs) in llvmpipe_bind_vs_state() 88 draw_bind_vertex_shader(llvmpipe->draw, in llvmpipe_bind_vs_state() 91 llvmpipe->vs = vs; in llvmpipe_bind_vs_state() 93 llvmpipe->dirty |= LP_NEW_VS; in llvmpipe_bind_vs_state() 100 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_delete_vs_state() local 105 draw_delete_vertex_shader(llvmpipe->draw, state->draw_data); in llvmpipe_delete_vs_state() 113 llvmpipe_init_vs_funcs(struct llvmpipe_context *llvmpipe) in llvmpipe_init_vs_funcs() argument [all …]
|
D | lp_state_rasterizer.c | 100 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_rasterizer_state() local 105 llvmpipe->rasterizer = &state->lp_state; in llvmpipe_bind_rasterizer_state() 106 draw_set_rasterizer_state(llvmpipe->draw, &state->draw_state, handle); in llvmpipe_bind_rasterizer_state() 110 lp_setup_set_triangle_state( llvmpipe->setup, in llvmpipe_bind_rasterizer_state() 115 lp_setup_set_flatshade_first( llvmpipe->setup, in llvmpipe_bind_rasterizer_state() 117 lp_setup_set_line_state( llvmpipe->setup, in llvmpipe_bind_rasterizer_state() 119 lp_setup_set_point_state( llvmpipe->setup, in llvmpipe_bind_rasterizer_state() 126 llvmpipe->rasterizer = NULL; in llvmpipe_bind_rasterizer_state() 127 draw_set_rasterizer_state(llvmpipe->draw, NULL, handle); in llvmpipe_bind_rasterizer_state() 130 llvmpipe->dirty |= LP_NEW_RASTERIZER; in llvmpipe_bind_rasterizer_state() [all …]
|
D | lp_state.h | 104 llvmpipe_update_derived(struct llvmpipe_context *llvmpipe); 107 llvmpipe_init_sampler_funcs(struct llvmpipe_context *llvmpipe); 110 llvmpipe_init_blend_funcs(struct llvmpipe_context *llvmpipe); 113 llvmpipe_init_vertex_funcs(struct llvmpipe_context *llvmpipe); 116 llvmpipe_init_draw_funcs(struct llvmpipe_context *llvmpipe); 119 llvmpipe_init_clip_funcs(struct llvmpipe_context *llvmpipe); 122 llvmpipe_init_fs_funcs(struct llvmpipe_context *llvmpipe); 125 llvmpipe_init_vs_funcs(struct llvmpipe_context *llvmpipe); 128 llvmpipe_init_gs_funcs(struct llvmpipe_context *llvmpipe); 131 llvmpipe_init_rasterizer_funcs(struct llvmpipe_context *llvmpipe); [all …]
|
D | lp_query.c | 124 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); in llvmpipe_begin_query() local 137 lp_setup_begin_query(llvmpipe->setup, pq); in llvmpipe_begin_query() 139 llvmpipe->active_query_count++; in llvmpipe_begin_query() 140 llvmpipe->dirty |= LP_NEW_QUERY; in llvmpipe_begin_query() 147 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); in llvmpipe_end_query() local 150 lp_setup_end_query(llvmpipe->setup, pq); in llvmpipe_end_query() 152 assert(llvmpipe->active_query_count); in llvmpipe_end_query() 153 llvmpipe->active_query_count--; in llvmpipe_end_query() 154 llvmpipe->dirty |= LP_NEW_QUERY; in llvmpipe_end_query() 176 void llvmpipe_init_query_funcs(struct llvmpipe_context *llvmpipe ) in llvmpipe_init_query_funcs() argument [all …]
|
D | lp_flush.c | 50 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_flush() local 52 draw_flush(llvmpipe->draw); in llvmpipe_flush() 55 lp_setup_flush(llvmpipe->setup, fence, reason); in llvmpipe_flush() 63 for (i = 0; i < llvmpipe->framebuffer.nr_cbufs; i++) { in llvmpipe_flush() 65 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.cbufs[i]); in llvmpipe_flush() 70 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.zsbuf); in llvmpipe_flush()
|
D | SConscript | 7 print 'warning: LLVM disabled: not building llvmpipe' 31 llvmpipe = env.ConvenienceLibrary( 32 target = 'llvmpipe', 80 env.Alias('llvmpipe', llvmpipe) 86 env.Prepend(LIBS = [llvmpipe] + gallium) 110 Export('llvmpipe')
|
D | lp_state_so.c | 119 llvmpipe_init_so_funcs(struct llvmpipe_context *llvmpipe) in llvmpipe_init_so_funcs() argument 122 llvmpipe->pipe.create_stream_output_state = in llvmpipe_init_so_funcs() 124 llvmpipe->pipe.bind_stream_output_state = in llvmpipe_init_so_funcs() 126 llvmpipe->pipe.delete_stream_output_state = in llvmpipe_init_so_funcs() 129 llvmpipe->pipe.set_stream_output_buffers = in llvmpipe_init_so_funcs()
|
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->f, depth, stencil, buffers ); in llvmpipe_clear()
|
D | lp_state_fs.c | 1306 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_create_fs_state() local 1324 shader->draw_data = draw_create_fragment_shader(llvmpipe->draw, templ); in llvmpipe_create_fs_state() 1398 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_fs_state() local 1400 if (llvmpipe->fs == fs) in llvmpipe_bind_fs_state() 1403 draw_flush(llvmpipe->draw); in llvmpipe_bind_fs_state() 1405 llvmpipe->fs = (struct lp_fragment_shader *) fs; in llvmpipe_bind_fs_state() 1407 draw_bind_fragment_shader(llvmpipe->draw, in llvmpipe_bind_fs_state() 1408 (llvmpipe->fs ? llvmpipe->fs->draw_data : NULL)); in llvmpipe_bind_fs_state() 1410 llvmpipe->dirty |= LP_NEW_FS; in llvmpipe_bind_fs_state() 1461 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_delete_fs_state() local [all …]
|
D | lp_draw_arrays.c | 115 llvmpipe_init_draw_funcs(struct llvmpipe_context *llvmpipe) in llvmpipe_init_draw_funcs() argument 117 llvmpipe->pipe.draw_vbo = llvmpipe_draw_vbo; in llvmpipe_init_draw_funcs()
|
/external/mesa3d/src/gallium/docs/ |
D | llvm-todo.txt | 1 TODO covering gallivm/llvmpipe 4 Goal: GL3.0 support in llvmpipe
|
/external/mesa3d/src/gallium/targets/pipe-loader/ |
D | Makefile | 71 ifneq ($(findstring llvmpipe,$(GALLIUM_DRIVERS_DIRS)),) 72 swrast_LIBS = $(TOP)/src/gallium/drivers/llvmpipe/libllvmpipe.a 126 ifneq ($(filter llvmpipe softpipe,$(GALLIUM_DRIVERS_DIRS)),)
|
/external/mesa3d/src/gallium/targets/dri-swrast/ |
D | SConscript | 30 env.Prepend(LIBS = [llvmpipe])
|
D | Makefile | 18 PIPE_DRIVERS += $(TOP)/src/gallium/drivers/llvmpipe/libllvmpipe.a
|
/external/mesa3d/src/gallium/targets/graw-xlib/ |
D | SConscript | 33 env.Prepend(LIBS = [llvmpipe])
|
/external/mesa3d/src/gallium/targets/graw-gdi/ |
D | SConscript | 30 env.Prepend(LIBS = [llvmpipe])
|
/external/mesa3d/src/gallium/targets/dri-i915/ |
D | Makefile | 25 PIPE_DRIVERS += $(TOP)/src/gallium/drivers/llvmpipe/libllvmpipe.a
|
/external/mesa3d/src/gallium/docs/source/ |
D | debugging.rst | 78 Debug :ref:`flags` for the llvmpipe driver. 82 Number of threads that the llvmpipe driver should use.
|