/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_context.c | 56 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local 61 /* This will also destroy llvmpipe->setup: 63 if (llvmpipe->draw) 64 draw_destroy( llvmpipe->draw ); 67 pipe_surface_reference(&llvmpipe->framebuffer.cbufs[i], NULL); 70 pipe_surface_reference(&llvmpipe->framebuffer.zsbuf, NULL); 72 for (i = 0; i < Elements(llvmpipe->sampler_views[0]); i++) { 73 pipe_sampler_view_reference(&llvmpipe->sampler_views[PIPE_SHADER_FRAGMENT][i], NULL); 76 for (i = 0; i < Elements(llvmpipe->sampler_views[0]); i++) { 77 pipe_sampler_view_reference(&llvmpipe->sampler_views[PIPE_SHADER_VERTEX][i], NULL) 108 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local 117 struct llvmpipe_context *llvmpipe; local [all...] |
lp_state_derived.c | 49 compute_vertex_info(struct llvmpipe_context *llvmpipe) 51 const struct lp_fragment_shader *lpfs = llvmpipe->fs; 52 struct vertex_info *vinfo = &llvmpipe->vertex_info; 56 llvmpipe->color_slot[0] = -1; 57 llvmpipe->color_slot[1] = -1; 58 llvmpipe->bcolor_slot[0] = -1; 59 llvmpipe->bcolor_slot[1] = -1; 69 vs_index = draw_find_shader_output(llvmpipe->draw, 80 vs_index = draw_find_shader_output(llvmpipe->draw, 87 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs [all...] |
lp_state_blend.c | 64 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 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 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->dirty |= LP_NEW_BLEND_COLOR 136 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 160 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local [all...] |
lp_state_vertex.c | 59 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 62 llvmpipe->velems = lp_velems; 64 llvmpipe->dirty |= LP_NEW_VERTEX; 67 draw_set_vertex_elements(llvmpipe->draw, lp_velems->count, lp_velems->velem); 81 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 85 util_copy_vertex_buffers(llvmpipe->vertex_buffer, 86 &llvmpipe->num_vertex_buffers, 89 llvmpipe->dirty |= LP_NEW_VERTEX; 91 draw_set_vertex_buffers(llvmpipe->draw, count, buffers); 99 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe) local [all...] |
lp_state_clip.c | 39 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 42 draw_set_clip_state(llvmpipe->draw, clip); 50 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 53 draw_set_viewport_state(llvmpipe->draw, viewport); 55 llvmpipe->viewport = *viewport; /* struct copy */ 56 llvmpipe->dirty |= LP_NEW_VIEWPORT; 64 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 66 draw_flush(llvmpipe->draw); 68 llvmpipe->scissor = *scissor; /* struct copy */ 69 llvmpipe->dirty |= LP_NEW_SCISSOR 77 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local [all...] |
lp_state_gs.c | 45 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 62 state->draw_data = draw_create_geometry_shader(llvmpipe->draw, templ); 81 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 83 llvmpipe->gs = (struct lp_geometry_shader *)gs; 85 draw_bind_geometry_shader(llvmpipe->draw, 86 (llvmpipe->gs ? llvmpipe->gs->draw_data : NULL)); 88 llvmpipe->dirty |= LP_NEW_GS; 95 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 100 draw_delete_geometry_shader(llvmpipe->draw [all...] |
lp_state_sampler.c | 74 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 78 assert(start + num <= Elements(llvmpipe->samplers[shader])); 81 if (start + num <= llvmpipe->num_samplers[shader] && 82 !memcmp(llvmpipe->samplers[shader] + start, samplers, 87 draw_flush(llvmpipe->draw); 91 llvmpipe->samplers[shader][start + i] = samplers[i]; 96 unsigned j = MAX2(llvmpipe->num_samplers[shader], start + num); 97 while (j > 0 && llvmpipe->samplers[shader][j - 1] == NULL) 99 llvmpipe->num_samplers[shader] = j; 103 draw_set_samplers(llvmpipe->draw 143 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local [all...] |
lp_perf.c | 51 debug_printf("llvmpipe: nr_triangles: %9u\n", lp_count.nr_tris); 52 debug_printf("llvmpipe: nr_culled_triangles: %9u\n", lp_count.nr_culled_tris); 64 debug_printf("llvmpipe: nr_64x64: %9u\n", total_64); 65 debug_printf("llvmpipe: nr_fully_covered_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_fully_covered_64, p2, total_64); 66 debug_printf("llvmpipe: nr_shade_opaque_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_shade_opaque_64, p5, total_64); 67 debug_printf("llvmpipe: nr_pure_shade_opaque: %9u (%3.0f%% of %u)\n", lp_count.nr_pure_shade_opaque_64, 0.0, lp_count.nr_shade_opaque_64); 68 debug_printf("llvmpipe: nr_shade_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_shade_64, p6, total_64); 69 debug_printf("llvmpipe: nr_pure_shade: %9u (%3.0f%% of %u)\n", lp_count.nr_pure_shade_64, 0.0, lp_count.nr_shade_64); 70 debug_printf("llvmpipe: nr_partially_covered_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_partially_covered_64, p3, total_64); 71 debug_printf("llvmpipe: nr_empty_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_empty_64, p1, total_64) [all...] |
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...] |
lp_state_rasterizer.c | 100 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 105 llvmpipe->rasterizer = &state->lp_state; 106 draw_set_rasterizer_state(llvmpipe->draw, &state->draw_state, handle); 110 lp_setup_set_triangle_state( llvmpipe->setup, 115 lp_setup_set_flatshade_first( llvmpipe->setup, 117 lp_setup_set_line_state( llvmpipe->setup, 119 lp_setup_set_point_state( llvmpipe->setup, 126 llvmpipe->rasterizer = NULL; 127 draw_set_rasterizer_state(llvmpipe->draw, NULL, handle); 130 llvmpipe->dirty |= LP_NEW_RASTERIZER [all...] |
lp_state_vs.c | 45 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 58 state->draw_data = draw_create_vertex_shader(llvmpipe->draw, templ); 63 debug_printf("llvmpipe: Create vertex shader %p:\n", (void *) state); 82 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 85 if (llvmpipe->vs == vs) 88 draw_bind_vertex_shader(llvmpipe->draw, 91 llvmpipe->vs = vs; 93 llvmpipe->dirty |= LP_NEW_VS; 100 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 105 draw_delete_vertex_shader(llvmpipe->draw, state->draw_data) [all...] |
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')
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_context.c | 56 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local 61 /* This will also destroy llvmpipe->setup: 63 if (llvmpipe->draw) 64 draw_destroy( llvmpipe->draw ); 67 pipe_surface_reference(&llvmpipe->framebuffer.cbufs[i], NULL); 70 pipe_surface_reference(&llvmpipe->framebuffer.zsbuf, NULL); 72 for (i = 0; i < Elements(llvmpipe->sampler_views[0]); i++) { 73 pipe_sampler_view_reference(&llvmpipe->sampler_views[PIPE_SHADER_FRAGMENT][i], NULL); 76 for (i = 0; i < Elements(llvmpipe->sampler_views[0]); i++) { 77 pipe_sampler_view_reference(&llvmpipe->sampler_views[PIPE_SHADER_VERTEX][i], NULL) 108 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local 117 struct llvmpipe_context *llvmpipe; local [all...] |
lp_state_derived.c | 49 compute_vertex_info(struct llvmpipe_context *llvmpipe) 51 const struct lp_fragment_shader *lpfs = llvmpipe->fs; 52 struct vertex_info *vinfo = &llvmpipe->vertex_info; 56 llvmpipe->color_slot[0] = -1; 57 llvmpipe->color_slot[1] = -1; 58 llvmpipe->bcolor_slot[0] = -1; 59 llvmpipe->bcolor_slot[1] = -1; 69 vs_index = draw_find_shader_output(llvmpipe->draw, 80 vs_index = draw_find_shader_output(llvmpipe->draw, 87 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs [all...] |
lp_state_blend.c | 64 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 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 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->dirty |= LP_NEW_BLEND_COLOR 136 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 160 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local [all...] |
lp_state_vertex.c | 59 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 62 llvmpipe->velems = lp_velems; 64 llvmpipe->dirty |= LP_NEW_VERTEX; 67 draw_set_vertex_elements(llvmpipe->draw, lp_velems->count, lp_velems->velem); 81 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 85 util_copy_vertex_buffers(llvmpipe->vertex_buffer, 86 &llvmpipe->num_vertex_buffers, 89 llvmpipe->dirty |= LP_NEW_VERTEX; 91 draw_set_vertex_buffers(llvmpipe->draw, count, buffers); 99 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe) local [all...] |
lp_state_clip.c | 39 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 42 draw_set_clip_state(llvmpipe->draw, clip); 50 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 53 draw_set_viewport_state(llvmpipe->draw, viewport); 55 llvmpipe->viewport = *viewport; /* struct copy */ 56 llvmpipe->dirty |= LP_NEW_VIEWPORT; 64 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 66 draw_flush(llvmpipe->draw); 68 llvmpipe->scissor = *scissor; /* struct copy */ 69 llvmpipe->dirty |= LP_NEW_SCISSOR 77 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local [all...] |
lp_state_gs.c | 45 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 62 state->draw_data = draw_create_geometry_shader(llvmpipe->draw, templ); 81 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 83 llvmpipe->gs = (struct lp_geometry_shader *)gs; 85 draw_bind_geometry_shader(llvmpipe->draw, 86 (llvmpipe->gs ? llvmpipe->gs->draw_data : NULL)); 88 llvmpipe->dirty |= LP_NEW_GS; 95 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 100 draw_delete_geometry_shader(llvmpipe->draw [all...] |
lp_state_sampler.c | 74 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 78 assert(start + num <= Elements(llvmpipe->samplers[shader])); 81 if (start + num <= llvmpipe->num_samplers[shader] && 82 !memcmp(llvmpipe->samplers[shader] + start, samplers, 87 draw_flush(llvmpipe->draw); 91 llvmpipe->samplers[shader][start + i] = samplers[i]; 96 unsigned j = MAX2(llvmpipe->num_samplers[shader], start + num); 97 while (j > 0 && llvmpipe->samplers[shader][j - 1] == NULL) 99 llvmpipe->num_samplers[shader] = j; 103 draw_set_samplers(llvmpipe->draw 143 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local [all...] |
lp_perf.c | 51 debug_printf("llvmpipe: nr_triangles: %9u\n", lp_count.nr_tris); 52 debug_printf("llvmpipe: nr_culled_triangles: %9u\n", lp_count.nr_culled_tris); 64 debug_printf("llvmpipe: nr_64x64: %9u\n", total_64); 65 debug_printf("llvmpipe: nr_fully_covered_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_fully_covered_64, p2, total_64); 66 debug_printf("llvmpipe: nr_shade_opaque_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_shade_opaque_64, p5, total_64); 67 debug_printf("llvmpipe: nr_pure_shade_opaque: %9u (%3.0f%% of %u)\n", lp_count.nr_pure_shade_opaque_64, 0.0, lp_count.nr_shade_opaque_64); 68 debug_printf("llvmpipe: nr_shade_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_shade_64, p6, total_64); 69 debug_printf("llvmpipe: nr_pure_shade: %9u (%3.0f%% of %u)\n", lp_count.nr_pure_shade_64, 0.0, lp_count.nr_shade_64); 70 debug_printf("llvmpipe: nr_partially_covered_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_partially_covered_64, p3, total_64); 71 debug_printf("llvmpipe: nr_empty_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_empty_64, p1, total_64) [all...] |
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...] |
lp_state_rasterizer.c | 100 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 105 llvmpipe->rasterizer = &state->lp_state; 106 draw_set_rasterizer_state(llvmpipe->draw, &state->draw_state, handle); 110 lp_setup_set_triangle_state( llvmpipe->setup, 115 lp_setup_set_flatshade_first( llvmpipe->setup, 117 lp_setup_set_line_state( llvmpipe->setup, 119 lp_setup_set_point_state( llvmpipe->setup, 126 llvmpipe->rasterizer = NULL; 127 draw_set_rasterizer_state(llvmpipe->draw, NULL, handle); 130 llvmpipe->dirty |= LP_NEW_RASTERIZER [all...] |
lp_state_vs.c | 45 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 58 state->draw_data = draw_create_vertex_shader(llvmpipe->draw, templ); 63 debug_printf("llvmpipe: Create vertex shader %p:\n", (void *) state); 82 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 85 if (llvmpipe->vs == vs) 88 draw_bind_vertex_shader(llvmpipe->draw, 91 llvmpipe->vs = vs; 93 llvmpipe->dirty |= LP_NEW_VS; 100 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local 105 draw_delete_vertex_shader(llvmpipe->draw, state->draw_data) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/target-helpers/ |
inline_sw_helper.h | 11 * llvmpipe, softpipe. 19 #include "llvmpipe/lp_public.h" 29 if (screen == NULL && strcmp(driver, "llvmpipe") == 0) 49 default_driver = "llvmpipe";
|
/external/mesa3d/src/gallium/auxiliary/target-helpers/ |
inline_sw_helper.h | 11 * llvmpipe, softpipe. 19 #include "llvmpipe/lp_public.h" 29 if (screen == NULL && strcmp(driver, "llvmpipe") == 0) 49 default_driver = "llvmpipe";
|