Searched defs:llvmpipe (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_clear.c54 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local
56 if (!llvmpipe_check_render_cond(llvmpipe))
62 lp_setup_clear( llvmpipe->setup, color->f, depth, stencil, buffers );
H A Dlp_draw_arrays.c115 llvmpipe_init_draw_funcs(struct llvmpipe_context *llvmpipe) argument
117 llvmpipe->pipe.draw_vbo = llvmpipe_draw_vbo;
H A Dlp_state_derived.c49 compute_vertex_info(struct llvmpipe_context *llvmpipe) argument
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
[all...]
H A Dlp_state_gs.c45 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
107 llvmpipe_init_gs_funcs(struct llvmpipe_context *llvmpipe) argument
[all...]
H A Dlp_state_vs.c45 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
113 llvmpipe_init_vs_funcs(struct llvmpipe_context *llvmpipe) argument
[all...]
H A Dlp_context.c56 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
108 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local
117 struct llvmpipe_context *llvmpipe; local
[all...]
H A Dlp_state_clip.c39 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
77 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local
88 llvmpipe_init_clip_funcs(struct llvmpipe_context *llvmpipe) argument
[all...]
H A Dlp_state_rasterizer.c100 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
144 llvmpipe_init_rasterizer_funcs(struct llvmpipe_context *llvmpipe) argument
[all...]
H A Dlp_state_vertex.c59 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 local
108 llvmpipe_init_vertex_funcs(struct llvmpipe_context *llvmpipe) argument
[all...]
H A Dlp_flush.c50 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local
52 draw_flush(llvmpipe->draw);
55 lp_setup_flush(llvmpipe->setup, fence, reason);
63 for (i = 0; i < llvmpipe->framebuffer.nr_cbufs; i++) {
65 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.cbufs[i]);
70 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.zsbuf);
H A Dlp_query.c124 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local
137 lp_setup_begin_query(llvmpipe->setup, pq);
139 llvmpipe->active_query_count++;
140 llvmpipe->dirty |= LP_NEW_QUERY;
147 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local
150 lp_setup_end_query(llvmpipe->setup, pq);
152 assert(llvmpipe->active_query_count);
153 llvmpipe->active_query_count--;
154 llvmpipe->dirty |= LP_NEW_QUERY;
176 void llvmpipe_init_query_funcs(struct llvmpipe_context *llvmpipe )
[all...]
H A Dlp_state_blend.c64 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
136 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local
160 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local
183 llvmpipe_init_blend_funcs(struct llvmpipe_context *llvmpipe) argument
[all...]
H A Dlp_state_so.c119 llvmpipe_init_so_funcs(struct llvmpipe_context *llvmpipe) argument
122 llvmpipe->pipe.create_stream_output_state =
124 llvmpipe->pipe.bind_stream_output_state =
126 llvmpipe->pipe.delete_stream_output_state =
129 llvmpipe->pipe.set_stream_output_buffers =
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_clear.c54 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local
56 if (!llvmpipe_check_render_cond(llvmpipe))
62 lp_setup_clear( llvmpipe->setup, color->f, depth, stencil, buffers );
H A Dlp_draw_arrays.c115 llvmpipe_init_draw_funcs(struct llvmpipe_context *llvmpipe) argument
117 llvmpipe->pipe.draw_vbo = llvmpipe_draw_vbo;
H A Dlp_state_derived.c49 compute_vertex_info(struct llvmpipe_context *llvmpipe) argument
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
[all...]
H A Dlp_state_gs.c45 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
107 llvmpipe_init_gs_funcs(struct llvmpipe_context *llvmpipe) argument
[all...]
H A Dlp_state_vs.c45 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
113 llvmpipe_init_vs_funcs(struct llvmpipe_context *llvmpipe) argument
[all...]
H A Dlp_context.c56 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
108 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local
117 struct llvmpipe_context *llvmpipe; local
[all...]
H A Dlp_state_clip.c39 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
77 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local
88 llvmpipe_init_clip_funcs(struct llvmpipe_context *llvmpipe) argument
[all...]
H A Dlp_state_rasterizer.c100 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
144 llvmpipe_init_rasterizer_funcs(struct llvmpipe_context *llvmpipe) argument
[all...]
H A Dlp_state_vertex.c59 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 local
108 llvmpipe_init_vertex_funcs(struct llvmpipe_context *llvmpipe) argument
[all...]
H A Dlp_flush.c50 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local
52 draw_flush(llvmpipe->draw);
55 lp_setup_flush(llvmpipe->setup, fence, reason);
63 for (i = 0; i < llvmpipe->framebuffer.nr_cbufs; i++) {
65 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.cbufs[i]);
70 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.zsbuf);
H A Dlp_query.c124 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local
137 lp_setup_begin_query(llvmpipe->setup, pq);
139 llvmpipe->active_query_count++;
140 llvmpipe->dirty |= LP_NEW_QUERY;
147 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); local
150 lp_setup_end_query(llvmpipe->setup, pq);
152 assert(llvmpipe->active_query_count);
153 llvmpipe->active_query_count--;
154 llvmpipe->dirty |= LP_NEW_QUERY;
176 void llvmpipe_init_query_funcs(struct llvmpipe_context *llvmpipe )
[all...]
H A Dlp_state_blend.c64 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
136 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local
160 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); local
183 llvmpipe_init_blend_funcs(struct llvmpipe_context *llvmpipe) argument
[all...]

Completed in 240 milliseconds

12