HomeSort by relevance Sort by last modified time
    Searched refs:llvmpipe (Results 1 - 25 of 56) sorted by null

1 2 3

  /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_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_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_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_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...]
lp_clear.c 54 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 );
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_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_query.c 124 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...]
lp_flush.c 50 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);
  /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_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_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_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_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...]
lp_clear.c 54 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 );
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_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_query.c 124 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...]

Completed in 218 milliseconds

1 2 3