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

1 2 3 4

  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
sp_context.c 91 struct softpipe_context *softpipe = softpipe_context( pipe ); local
95 if (softpipe->pstipple.sampler)
96 pipe->delete_sampler_state(pipe, softpipe->pstipple.sampler);
98 pipe_resource_reference(&softpipe->pstipple.texture, NULL);
99 pipe_sampler_view_reference(&softpipe->pstipple.sampler_view, NULL);
102 if (softpipe->draw)
103 draw_destroy( softpipe->draw );
105 if (softpipe->quad.shade)
106 softpipe->quad.shade->destroy( softpipe->quad.shade )
163 struct softpipe_context *softpipe = softpipe_context( pipe ); local
203 struct softpipe_context *softpipe = softpipe_context( pipe ); local
216 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 48 invalidate_vertex_layout(struct softpipe_context *softpipe)
50 softpipe->vertex_info.num_attribs = 0;
63 softpipe_get_vertex_info(struct softpipe_context *softpipe)
65 struct vertex_info *vinfo = &softpipe->vertex_info;
69 const struct tgsi_shader_info *fsInfo = &softpipe->fs_variant->info;
70 struct vertex_info *vinfo_vbuf = &softpipe->vertex_info_vbuf;
71 const uint num = draw_num_shader_outputs(softpipe->draw);
117 if (softpipe->rasterizer->flatshade)
126 src = draw_find_shader_output(softpipe->draw,
131 src = draw_find_shader_output(softpipe->draw
    [all...]
sp_prim_vbuf.h 35 sp_create_vbuf_backend(struct softpipe_context *softpipe);
sp_clear.c 52 struct softpipe_context *softpipe = softpipe_context(pipe); local
56 if (softpipe->no_rast)
59 if (!softpipe_check_render_cond(softpipe))
63 softpipe_update_derived(softpipe, PIPE_PRIM_TRIANGLES); /* not needed?? */
67 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) {
68 sp_tile_cache_clear(softpipe->cbuf_cache[i], color, 0);
74 struct pipe_surface *ps = softpipe->framebuffer.zsbuf;
77 sp_tile_cache_clear(softpipe->zsbuf_cache, &zero, cv);
80 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);
50 struct softpipe_context *softpipe = softpipe_context(pipe); local
53 draw_set_viewport_state(softpipe->draw, viewport);
55 softpipe->viewport = *viewport; /* struct copy */
56 softpipe->dirty |= SP_NEW_VIEWPORT;
64 struct softpipe_context *softpipe = softpipe_context(pipe); local
66 draw_flush(softpipe->draw);
68 softpipe->scissor = *scissor; /* struct copy */
69 softpipe->dirty |= SP_NEW_SCISSOR
77 struct softpipe_context *softpipe = softpipe_context(pipe); local
    [all...]
sp_state_vertex.c 61 struct softpipe_context *softpipe = softpipe_context(pipe); local
64 softpipe->velems = sp_velems;
66 softpipe->dirty |= SP_NEW_VERTEX;
69 draw_set_vertex_elements(softpipe->draw, sp_velems->count, sp_velems->velem);
85 struct softpipe_context *softpipe = softpipe_context(pipe); local
89 util_copy_vertex_buffers(softpipe->vertex_buffer,
90 &softpipe->num_vertex_buffers,
93 softpipe->dirty |= SP_NEW_VERTEX;
95 draw_set_vertex_buffers(softpipe->draw, count, buffers);
103 struct softpipe_context *softpipe = softpipe_context(pipe) local
    [all...]
sp_flush.c 49 struct softpipe_context *softpipe = softpipe_context(pipe); local
52 draw_flush(softpipe->draw);
57 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) {
58 for (i = 0; i < softpipe->num_sampler_views[sh]; i++) {
59 sp_flush_tex_tile_cache(softpipe->tex_cache[sh][i]);
69 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++)
70 if (softpipe->cbuf_cache[i])
71 sp_flush_tile_cache(softpipe->cbuf_cache[i]);
73 if (softpipe->zsbuf_cache)
74 sp_flush_tile_cache(softpipe->zsbuf_cache)
    [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_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_quad_fs.c 73 struct softpipe_context *softpipe = qs->softpipe; local
74 struct tgsi_exec_machine *machine = softpipe->fs_machine;
77 machine->flatshade_color = softpipe->rasterizer->flatshade ? TRUE : FALSE;
78 return softpipe->fs_variant->run( softpipe->fs_variant, machine, quad );
86 struct softpipe_context *softpipe = qs->softpipe; local
90 for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) {
111 struct softpipe_context *softpipe = qs->softpipe local
    [all...]
sp_state_shader.c 49 create_fs_variant(struct softpipe_context *softpipe,
60 stipple_fs = util_pstipple_create_fragment_shader(&softpipe->pipe,
67 var = softpipe_create_fs_variant_exec(softpipe, curfs);
79 var->draw_shader = draw_create_fragment_shader(softpipe->draw,
124 struct softpipe_context *softpipe = softpipe_context(pipe); local
128 if (softpipe->dump_fs)
135 state->draw_shader = draw_create_fragment_shader(softpipe->draw,
150 struct softpipe_context *softpipe = softpipe_context(pipe); local
153 if (softpipe->fs == fs)
156 draw_flush(softpipe->draw)
178 struct softpipe_context *softpipe = softpipe_context(pipe); local
209 struct softpipe_context *softpipe = softpipe_context(pipe); local
243 struct softpipe_context *softpipe = softpipe_context(pipe); local
257 struct softpipe_context *softpipe = softpipe_context(pipe); local
271 struct softpipe_context *softpipe = softpipe_context(pipe); local
309 struct softpipe_context *softpipe = softpipe_context(pipe); local
323 struct softpipe_context *softpipe = softpipe_context(pipe); local
341 struct softpipe_context *softpipe = softpipe_context(pipe); local
    [all...]
sp_state_sampler.c 79 struct softpipe_context *softpipe = softpipe_context(pipe); local
83 assert(start + num <= Elements(softpipe->samplers[shader]));
86 if (start + num <= softpipe->num_samplers[shader] &&
87 !memcmp(softpipe->samplers[shader] + start, samplers,
92 draw_flush(softpipe->draw);
96 softpipe->samplers[shader][start + i] = samplers[i];
101 unsigned j = MAX2(softpipe->num_samplers[shader], start + num);
102 while (j > 0 && softpipe->samplers[shader][j - 1] == NULL)
104 softpipe->num_samplers[shader] = j;
108 draw_set_samplers(softpipe->draw
180 struct softpipe_context *softpipe = softpipe_context(pipe); local
    [all...]
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_context.c 91 struct softpipe_context *softpipe = softpipe_context( pipe ); local
95 if (softpipe->pstipple.sampler)
96 pipe->delete_sampler_state(pipe, softpipe->pstipple.sampler);
98 pipe_resource_reference(&softpipe->pstipple.texture, NULL);
99 pipe_sampler_view_reference(&softpipe->pstipple.sampler_view, NULL);
102 if (softpipe->draw)
103 draw_destroy( softpipe->draw );
105 if (softpipe->quad.shade)
106 softpipe->quad.shade->destroy( softpipe->quad.shade )
163 struct softpipe_context *softpipe = softpipe_context( pipe ); local
203 struct softpipe_context *softpipe = softpipe_context( pipe ); local
216 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 48 invalidate_vertex_layout(struct softpipe_context *softpipe)
50 softpipe->vertex_info.num_attribs = 0;
63 softpipe_get_vertex_info(struct softpipe_context *softpipe)
65 struct vertex_info *vinfo = &softpipe->vertex_info;
69 const struct tgsi_shader_info *fsInfo = &softpipe->fs_variant->info;
70 struct vertex_info *vinfo_vbuf = &softpipe->vertex_info_vbuf;
71 const uint num = draw_num_shader_outputs(softpipe->draw);
117 if (softpipe->rasterizer->flatshade)
126 src = draw_find_shader_output(softpipe->draw,
131 src = draw_find_shader_output(softpipe->draw
    [all...]
sp_prim_vbuf.h 35 sp_create_vbuf_backend(struct softpipe_context *softpipe);
sp_clear.c 52 struct softpipe_context *softpipe = softpipe_context(pipe); local
56 if (softpipe->no_rast)
59 if (!softpipe_check_render_cond(softpipe))
63 softpipe_update_derived(softpipe, PIPE_PRIM_TRIANGLES); /* not needed?? */
67 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) {
68 sp_tile_cache_clear(softpipe->cbuf_cache[i], color, 0);
74 struct pipe_surface *ps = softpipe->framebuffer.zsbuf;
77 sp_tile_cache_clear(softpipe->zsbuf_cache, &zero, cv);
80 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);
50 struct softpipe_context *softpipe = softpipe_context(pipe); local
53 draw_set_viewport_state(softpipe->draw, viewport);
55 softpipe->viewport = *viewport; /* struct copy */
56 softpipe->dirty |= SP_NEW_VIEWPORT;
64 struct softpipe_context *softpipe = softpipe_context(pipe); local
66 draw_flush(softpipe->draw);
68 softpipe->scissor = *scissor; /* struct copy */
69 softpipe->dirty |= SP_NEW_SCISSOR
77 struct softpipe_context *softpipe = softpipe_context(pipe); local
    [all...]
sp_state_vertex.c 61 struct softpipe_context *softpipe = softpipe_context(pipe); local
64 softpipe->velems = sp_velems;
66 softpipe->dirty |= SP_NEW_VERTEX;
69 draw_set_vertex_elements(softpipe->draw, sp_velems->count, sp_velems->velem);
85 struct softpipe_context *softpipe = softpipe_context(pipe); local
89 util_copy_vertex_buffers(softpipe->vertex_buffer,
90 &softpipe->num_vertex_buffers,
93 softpipe->dirty |= SP_NEW_VERTEX;
95 draw_set_vertex_buffers(softpipe->draw, count, buffers);
103 struct softpipe_context *softpipe = softpipe_context(pipe) local
    [all...]
sp_flush.c 49 struct softpipe_context *softpipe = softpipe_context(pipe); local
52 draw_flush(softpipe->draw);
57 for (sh = 0; sh < Elements(softpipe->tex_cache); sh++) {
58 for (i = 0; i < softpipe->num_sampler_views[sh]; i++) {
59 sp_flush_tex_tile_cache(softpipe->tex_cache[sh][i]);
69 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++)
70 if (softpipe->cbuf_cache[i])
71 sp_flush_tile_cache(softpipe->cbuf_cache[i]);
73 if (softpipe->zsbuf_cache)
74 sp_flush_tile_cache(softpipe->zsbuf_cache)
    [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_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_quad_fs.c 73 struct softpipe_context *softpipe = qs->softpipe; local
74 struct tgsi_exec_machine *machine = softpipe->fs_machine;
77 machine->flatshade_color = softpipe->rasterizer->flatshade ? TRUE : FALSE;
78 return softpipe->fs_variant->run( softpipe->fs_variant, machine, quad );
86 struct softpipe_context *softpipe = qs->softpipe; local
90 for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) {
111 struct softpipe_context *softpipe = qs->softpipe local
    [all...]
sp_state_shader.c 49 create_fs_variant(struct softpipe_context *softpipe,
60 stipple_fs = util_pstipple_create_fragment_shader(&softpipe->pipe,
67 var = softpipe_create_fs_variant_exec(softpipe, curfs);
79 var->draw_shader = draw_create_fragment_shader(softpipe->draw,
124 struct softpipe_context *softpipe = softpipe_context(pipe); local
128 if (softpipe->dump_fs)
135 state->draw_shader = draw_create_fragment_shader(softpipe->draw,
150 struct softpipe_context *softpipe = softpipe_context(pipe); local
153 if (softpipe->fs == fs)
156 draw_flush(softpipe->draw)
178 struct softpipe_context *softpipe = softpipe_context(pipe); local
209 struct softpipe_context *softpipe = softpipe_context(pipe); local
243 struct softpipe_context *softpipe = softpipe_context(pipe); local
257 struct softpipe_context *softpipe = softpipe_context(pipe); local
271 struct softpipe_context *softpipe = softpipe_context(pipe); local
309 struct softpipe_context *softpipe = softpipe_context(pipe); local
323 struct softpipe_context *softpipe = softpipe_context(pipe); local
341 struct softpipe_context *softpipe = softpipe_context(pipe); local
    [all...]

Completed in 685 milliseconds

1 2 3 4