HomeSort by: relevance | last modified time | path
    Searched refs:softpipe (Results 1 - 25 of 61) sorted by relevancy

1 2 3

  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
sp_context.c 60 struct softpipe_context *softpipe = softpipe_context( pipe ); local
64 if (softpipe->pstipple.sampler)
65 pipe->delete_sampler_state(pipe, softpipe->pstipple.sampler);
67 pipe_resource_reference(&softpipe->pstipple.texture, NULL);
68 pipe_sampler_view_reference(&softpipe->pstipple.sampler_view, NULL);
71 if (softpipe->blitter) {
72 util_blitter_destroy(softpipe->blitter);
75 if (softpipe->draw)
76 draw_destroy( softpipe->draw );
78 if (softpipe->quad.shade
145 struct softpipe_context *softpipe = softpipe_context( pipe ); local
186 struct softpipe_context *softpipe = softpipe_context( pipe ); local
198 struct softpipe_context *softpipe = softpipe_context(pipe); local
212 struct softpipe_context *softpipe = CALLOC_STRUCT(softpipe_context); local
    [all...]
sp_quad_pipe.h 45 struct softpipe_context *softpipe; member in struct:quad_stage
58 struct quad_stage *sp_quad_polygon_stipple_stage( struct softpipe_context *softpipe );
59 struct quad_stage *sp_quad_earlyz_stage( struct softpipe_context *softpipe );
60 struct quad_stage *sp_quad_shade_stage( struct softpipe_context *softpipe );
61 struct quad_stage *sp_quad_alpha_test_stage( struct softpipe_context *softpipe );
62 struct quad_stage *sp_quad_stencil_test_stage( struct softpipe_context *softpipe );
63 struct quad_stage *sp_quad_depth_test_stage( struct softpipe_context *softpipe );
64 struct quad_stage *sp_quad_occlusion_stage( struct softpipe_context *softpipe );
65 struct quad_stage *sp_quad_coverage_stage( struct softpipe_context *softpipe );
66 struct quad_stage *sp_quad_blend_stage( struct softpipe_context *softpipe );
    [all...]
sp_state_derived.c 49 invalidate_vertex_layout(struct softpipe_context *softpipe)
51 softpipe->setup_info.valid = 0;
63 softpipe_compute_vertex_info(struct softpipe_context *softpipe)
65 struct sp_setup_info *sinfo = &softpipe->setup_info;
68 const struct tgsi_shader_info *fsInfo = &softpipe->fs_variant->info;
69 struct vertex_info *vinfo = &softpipe->vertex_info;
80 * draw_prepare_shader_outputs(softpipe->draw);
88 softpipe->viewport_index_slot = -1;
89 softpipe->layer_slot = -1;
90 softpipe->psize_slot = -1
    [all...]
sp_prim_vbuf.h 35 sp_create_vbuf_backend(struct softpipe_context *softpipe);
sp_state_clip.c 39 struct softpipe_context *softpipe = softpipe_context(pipe); local
42 draw_set_clip_state(softpipe->draw, clip);
52 struct softpipe_context *softpipe = softpipe_context(pipe); local
55 draw_set_viewport_states(softpipe->draw, start_slot, num_viewports,
58 memcpy(softpipe->viewports + start_slot, viewports,
60 softpipe->dirty |= SP_NEW_VIEWPORT;
70 struct softpipe_context *softpipe = softpipe_context(pipe); local
72 draw_flush(softpipe->draw);
77 memcpy(softpipe->scissors + start_slot, scissors,
79 softpipe->dirty |= SP_NEW_SCISSOR
87 struct softpipe_context *softpipe = softpipe_context(pipe); local
    [all...]
sp_flush.c 51 struct softpipe_context *softpipe = softpipe_context(pipe); local
54 draw_flush(softpipe->draw);
59 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) {
60 for (i = 0; i < softpipe->num_sampler_views[sh]; i++) {
61 sp_flush_tex_tile_cache(softpipe->tex_cache[sh][i]);
71 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++)
72 if (softpipe->cbuf_cache[i])
73 sp_flush_tile_cache(softpipe->cbuf_cache[i]);
75 if (softpipe->zsbuf_cache)
76 sp_flush_tile_cache(softpipe->zsbuf_cache)
174 struct softpipe_context *softpipe = softpipe_context(pipe); local
    [all...]
sp_state_blend.c 50 struct softpipe_context *softpipe = softpipe_context(pipe); local
52 draw_flush(softpipe->draw);
54 softpipe->blend = (struct pipe_blend_state *)blend;
56 softpipe->dirty |= SP_NEW_BLEND;
72 struct softpipe_context *softpipe = softpipe_context(pipe); local
75 draw_flush(softpipe->draw);
77 softpipe->blend_color = *blend_color;
81 softpipe->blend_color_clamped.color[i] =
84 softpipe->dirty |= SP_NEW_BLEND;
100 struct softpipe_context *softpipe = softpipe_context(pipe) local
119 struct softpipe_context *softpipe = softpipe_context(pipe); local
    [all...]
sp_quad_fs.c 65 struct softpipe_context *softpipe = qs->softpipe; local
66 struct tgsi_exec_machine *machine = softpipe->fs_machine;
68 if (softpipe->active_statistics_queries) {
69 softpipe->pipeline_statistics.ps_invocations +=
74 machine->flatshade_color = softpipe->rasterizer->flatshade ? TRUE : FALSE;
75 return softpipe->fs_variant->run( softpipe->fs_variant, machine, quad, softpipe->early_depth );
83 struct softpipe_context *softpipe = qs->softpipe local
108 struct softpipe_context *softpipe = qs->softpipe; local
    [all...]
sp_state_rasterizer.c 48 struct softpipe_context *softpipe = softpipe_context(pipe); local
50 if (softpipe->rasterizer == rasterizer)
54 draw_set_rasterizer_state(softpipe->draw, rasterizer, rasterizer);
56 softpipe->rasterizer = rasterizer;
58 softpipe->dirty |= SP_NEW_RASTERIZER;
sp_state_so.c 68 struct softpipe_context *softpipe = softpipe_context(pipe); local
72 pipe_so_target_reference((struct pipe_stream_output_target **)&softpipe->so_targets[i], targets[i]);
76 softpipe->so_targets[i]->mapping = buf;
80 for (; i < softpipe->num_so_targets; i++) {
81 pipe_so_target_reference((struct pipe_stream_output_target **)&softpipe->so_targets[i], NULL);
84 softpipe->num_so_targets = num_targets;
86 draw_set_mapped_so_targets(softpipe->draw, softpipe->num_so_targets,
87 softpipe->so_targets);
sp_state_vertex.c 62 struct softpipe_context *softpipe = softpipe_context(pipe); local
65 softpipe->velems = sp_velems;
67 softpipe->dirty |= SP_NEW_VERTEX;
70 draw_set_vertex_elements(softpipe->draw, sp_velems->count, sp_velems->velem);
88 struct softpipe_context *softpipe = softpipe_context(pipe); local
92 util_set_vertex_buffers_count(softpipe->vertex_buffer,
93 &softpipe->num_vertex_buffers,
98 softpipe->dirty |= SP_NEW_VERTEX;
100 draw_set_vertex_buffers(softpipe->draw, start_slot, count,
sp_query.c 92 struct softpipe_context *softpipe = softpipe_context( pipe ); local
99 sq->start = softpipe->occlusion_count;
105 sq->so[sq->index].num_primitives_written = softpipe->so_stats[sq->index].num_primitives_written;
106 sq->so[sq->index].primitives_storage_needed = softpipe->so_stats[sq->index].primitives_storage_needed;
109 sq->so[sq->index].num_primitives_written = softpipe->so_stats[sq->index].num_primitives_written;
110 sq->so[sq->index].primitives_storage_needed = softpipe->so_stats[sq->index].primitives_storage_needed;
114 sq->so[i].num_primitives_written = softpipe->so_stats[i].num_primitives_written;
115 sq->so[i].primitives_storage_needed = softpipe->so_stats[i].primitives_storage_needed;
119 sq->so[sq->index].num_primitives_written = softpipe->so_stats[sq->index].num_primitives_written;
122 sq->so[sq->index].primitives_storage_needed = softpipe->so_stats[sq->index].primitives_storage_needed
151 struct softpipe_context *softpipe = softpipe_context( pipe ); local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
sp_context.c 60 struct softpipe_context *softpipe = softpipe_context( pipe ); local
64 if (softpipe->pstipple.sampler)
65 pipe->delete_sampler_state(pipe, softpipe->pstipple.sampler);
67 pipe_resource_reference(&softpipe->pstipple.texture, NULL);
68 pipe_sampler_view_reference(&softpipe->pstipple.sampler_view, NULL);
71 if (softpipe->blitter) {
72 util_blitter_destroy(softpipe->blitter);
75 if (softpipe->draw)
76 draw_destroy( softpipe->draw );
78 if (softpipe->quad.shade
145 struct softpipe_context *softpipe = softpipe_context( pipe ); local
186 struct softpipe_context *softpipe = softpipe_context( pipe ); local
200 struct softpipe_context *softpipe = CALLOC_STRUCT(softpipe_context); local
    [all...]
sp_quad_pipe.h 45 struct softpipe_context *softpipe; member in struct:quad_stage
58 struct quad_stage *sp_quad_polygon_stipple_stage( struct softpipe_context *softpipe );
59 struct quad_stage *sp_quad_earlyz_stage( struct softpipe_context *softpipe );
60 struct quad_stage *sp_quad_shade_stage( struct softpipe_context *softpipe );
61 struct quad_stage *sp_quad_alpha_test_stage( struct softpipe_context *softpipe );
62 struct quad_stage *sp_quad_stencil_test_stage( struct softpipe_context *softpipe );
63 struct quad_stage *sp_quad_depth_test_stage( struct softpipe_context *softpipe );
64 struct quad_stage *sp_quad_occlusion_stage( struct softpipe_context *softpipe );
65 struct quad_stage *sp_quad_coverage_stage( struct softpipe_context *softpipe );
66 struct quad_stage *sp_quad_blend_stage( struct softpipe_context *softpipe );
    [all...]
sp_state_derived.c 49 invalidate_vertex_layout(struct softpipe_context *softpipe)
51 softpipe->setup_info.valid = 0;
63 softpipe_compute_vertex_info(struct softpipe_context *softpipe)
65 struct sp_setup_info *sinfo = &softpipe->setup_info;
68 const struct tgsi_shader_info *fsInfo = &softpipe->fs_variant->info;
69 struct vertex_info *vinfo = &softpipe->vertex_info;
80 * draw_prepare_shader_outputs(softpipe->draw);
88 softpipe->viewport_index_slot = -1;
89 softpipe->layer_slot = -1;
90 softpipe->psize_slot = -1
    [all...]
sp_prim_vbuf.h 35 sp_create_vbuf_backend(struct softpipe_context *softpipe);
sp_clear.c 53 struct softpipe_context *softpipe = softpipe_context(pipe); local
54 struct pipe_surface *zsbuf = softpipe->framebuffer.zsbuf;
59 if (softpipe->no_rast)
62 if (!softpipe_check_render_cond(softpipe))
66 softpipe_update_derived(softpipe, PIPE_PRIM_TRIANGLES); /* not needed?? */
70 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) {
72 sp_tile_cache_clear(softpipe->cbuf_cache[i], color, 0);
87 sp_tile_cache_clear(softpipe->zsbuf_cache, &zero, cv);
90 softpipe->dirty_render_cache = TRUE;
sp_state_clip.c 39 struct softpipe_context *softpipe = softpipe_context(pipe); local
42 draw_set_clip_state(softpipe->draw, clip);
52 struct softpipe_context *softpipe = softpipe_context(pipe); local
55 draw_set_viewport_states(softpipe->draw, start_slot, num_viewports,
58 memcpy(softpipe->viewports + start_slot, viewports,
60 softpipe->dirty |= SP_NEW_VIEWPORT;
70 struct softpipe_context *softpipe = softpipe_context(pipe); local
72 draw_flush(softpipe->draw);
77 memcpy(softpipe->scissors + start_slot, scissors,
79 softpipe->dirty |= SP_NEW_SCISSOR
87 struct softpipe_context *softpipe = softpipe_context(pipe); local
    [all...]
sp_flush.c 51 struct softpipe_context *softpipe = softpipe_context(pipe); local
54 draw_flush(softpipe->draw);
59 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) {
60 for (i = 0; i < softpipe->num_sampler_views[sh]; i++) {
61 sp_flush_tex_tile_cache(softpipe->tex_cache[sh][i]);
71 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++)
72 if (softpipe->cbuf_cache[i])
73 sp_flush_tile_cache(softpipe->cbuf_cache[i]);
75 if (softpipe->zsbuf_cache)
76 sp_flush_tile_cache(softpipe->zsbuf_cache)
174 struct softpipe_context *softpipe = softpipe_context(pipe); local
    [all...]
sp_state_blend.c 50 struct softpipe_context *softpipe = softpipe_context(pipe); local
52 draw_flush(softpipe->draw);
54 softpipe->blend = (struct pipe_blend_state *)blend;
56 softpipe->dirty |= SP_NEW_BLEND;
72 struct softpipe_context *softpipe = softpipe_context(pipe); local
75 draw_flush(softpipe->draw);
77 softpipe->blend_color = *blend_color;
81 softpipe->blend_color_clamped.color[i] =
84 softpipe->dirty |= SP_NEW_BLEND;
100 struct softpipe_context *softpipe = softpipe_context(pipe) local
119 struct softpipe_context *softpipe = softpipe_context(pipe); local
    [all...]
sp_quad_fs.c 65 struct softpipe_context *softpipe = qs->softpipe; local
66 struct tgsi_exec_machine *machine = softpipe->fs_machine;
68 if (softpipe->active_statistics_queries) {
69 softpipe->pipeline_statistics.ps_invocations +=
74 machine->flatshade_color = softpipe->rasterizer->flatshade ? TRUE : FALSE;
75 return softpipe->fs_variant->run( softpipe->fs_variant, machine, quad, softpipe->early_depth );
83 struct softpipe_context *softpipe = qs->softpipe local
108 struct softpipe_context *softpipe = qs->softpipe; local
    [all...]
sp_state_rasterizer.c 48 struct softpipe_context *softpipe = softpipe_context(pipe); local
50 if (softpipe->rasterizer == rasterizer)
54 draw_set_rasterizer_state(softpipe->draw, rasterizer, rasterizer);
56 softpipe->rasterizer = rasterizer;
58 softpipe->dirty |= SP_NEW_RASTERIZER;
sp_state_shader.c 49 create_fs_variant(struct softpipe_context *softpipe,
57 var = softpipe_create_fs_variant_exec(softpipe);
82 var->draw_shader = draw_create_fragment_shader(softpipe->draw,
122 struct softpipe_context *softpipe = softpipe_context(pipe); local
126 if (softpipe->dump_fs)
133 state->draw_shader = draw_create_fragment_shader(softpipe->draw,
148 struct softpipe_context *softpipe = softpipe_context(pipe); local
151 if (softpipe->fs == fs)
154 draw_flush(softpipe->draw);
156 softpipe->fs = fs
176 struct softpipe_context *softpipe = softpipe_context(pipe); local
207 struct softpipe_context *softpipe = softpipe_context(pipe); local
241 struct softpipe_context *softpipe = softpipe_context(pipe); local
255 struct softpipe_context *softpipe = softpipe_context(pipe); local
269 struct softpipe_context *softpipe = softpipe_context(pipe); local
311 struct softpipe_context *softpipe = softpipe_context(pipe); local
325 struct softpipe_context *softpipe = softpipe_context(pipe); local
343 struct softpipe_context *softpipe = softpipe_context(pipe); local
385 struct softpipe_context *softpipe = softpipe_context(pipe); local
411 struct softpipe_context *softpipe = softpipe_context(pipe); local
423 MAYBE_UNUSED struct softpipe_context *softpipe = softpipe_context(pipe); local
    [all...]
sp_state_image.c 35 struct softpipe_context *softpipe = softpipe_context(pipe); local
38 assert(start + num <= ARRAY_SIZE(softpipe->sampler_views[shader]));
45 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, images[i].resource);
46 softpipe->tgsi.image[shader]->sp_iview[idx] = images[i];
49 pipe_resource_reference(&softpipe->tgsi.image[shader]->sp_iview[idx].resource, NULL);
50 memset(&softpipe->tgsi.image[shader]->sp_iview[idx], 0, sizeof(struct pipe_image_view));
62 struct softpipe_context *softpipe = softpipe_context(pipe); local
65 assert(start + num <= ARRAY_SIZE(softpipe->buffers[shader]));
72 pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, buffers[i].buffer);
73 softpipe->tgsi.buffer[shader]->sp_bview[idx] = buffers[i]
    [all...]
sp_state_vertex.c 62 struct softpipe_context *softpipe = softpipe_context(pipe); local
65 softpipe->velems = sp_velems;
67 softpipe->dirty |= SP_NEW_VERTEX;
70 draw_set_vertex_elements(softpipe->draw, sp_velems->count, sp_velems->velem);
86 struct softpipe_context *softpipe = softpipe_context(pipe); local
90 util_set_vertex_buffers_count(softpipe->vertex_buffer,
91 &softpipe->num_vertex_buffers,
94 softpipe->dirty |= SP_NEW_VERTEX;
96 draw_set_vertex_buffers(softpipe->draw, start_slot, count, buffers);

Completed in 18 milliseconds

1 2 3