/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | 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 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...] |
H A D | 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...] |
H A D | sp_state_derived.c | 48 invalidate_vertex_layout(struct softpipe_context *softpipe) argument 50 softpipe->vertex_info.num_attribs = 0; 63 softpipe_get_vertex_info(struct softpipe_context *softpipe) argument 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 166 softpipe_get_vbuf_vertex_info(struct softpipe_context *softpipe) argument 233 update_fragment_shader(struct softpipe_context *softpipe, unsigned prim) argument 282 update_polygon_stipple_pattern(struct softpipe_context *softpipe) argument 308 update_polygon_stipple_enable(struct softpipe_context *softpipe, unsigned prim) argument 333 softpipe_update_derived(struct softpipe_context *softpipe, unsigned prim) argument [all...] |
H A D | sp_prim_vbuf.h | 35 sp_create_vbuf_backend(struct softpipe_context *softpipe);
|
H A D | 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;
|
H A D | 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 77 struct softpipe_context *softpipe = softpipe_context(pipe); local [all...] |
H A D | 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 local [all...] |
H A D | 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 [all...] |
H A D | 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 local 119 struct softpipe_context *softpipe = softpipe_context(pipe); local [all...] |
H A D | 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;
|
H A D | 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 local [all...] |
H A D | sp_state_shader.c | 49 create_fs_variant(struct softpipe_context *softpipe, argument 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 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...] |
H A D | 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 180 struct softpipe_context *softpipe = softpipe_context(pipe); local 308 reset_sampler_variants(struct softpipe_context *softpipe, unsigned shader, unsigned tgsi_shader, int max_sampler) argument 332 softpipe_reset_sampler_variants(struct softpipe_context *softpipe) argument [all...] |
H A D | sp_query.c | 85 struct softpipe_context *softpipe = softpipe_context( pipe ); local 90 sq->start = softpipe->occlusion_count; 100 softpipe->so_stats.num_primitives_written = 0; 104 softpipe->num_primitives_generated = 0; 113 softpipe->active_query_count++; 114 softpipe->dirty |= SP_NEW_QUERY; 121 struct softpipe_context *softpipe = softpipe_context( pipe ); local 124 softpipe->active_query_count--; 127 sq->end = softpipe->occlusion_count; 138 softpipe [all...] |
H A D | sp_quad_stipple.c | 23 struct softpipe_context *softpipe = qs->softpipe; local 34 const uint stipple0 = softpipe->poly_stipple.stipple[y0 % 32]; 35 const uint stipple1 = softpipe->poly_stipple.stipple[y1 % 32]; 71 sp_quad_polygon_stipple_stage( struct softpipe_context *softpipe ) 75 stage->softpipe = softpipe;
|
H A D | sp_fs.h | 36 softpipe_create_fs_variant_exec(struct softpipe_context *softpipe,
|
H A D | 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]); 75 for (; i < softpipe->num_so_targets; i++) { 76 pipe_so_target_reference((struct pipe_stream_output_target **)&softpipe->so_targets[i], NULL); 79 softpipe->num_so_targets = num_targets;
|
H A D | sp_setup.h | 49 struct setup_context *sp_setup_create_context( struct softpipe_context *softpipe );
|
H A D | sp_state.h | 156 softpipe_update_derived(struct softpipe_context *softpipe, unsigned prim); 176 softpipe_get_vertex_info(struct softpipe_context *softpipe); 179 softpipe_get_vbuf_vertex_info(struct softpipe_context *softpipe); 183 softpipe_find_fs_variant(struct softpipe_context *softpipe, 189 softpipe_find_fs_variant(struct softpipe_context *softpipe,
|
H A D | sp_quad_depth_test.c | 528 struct softpipe_context *softpipe = qs->softpipe; local 532 switch (softpipe->depth_stencil->depth.func) { 590 if (softpipe->depth_stencil->depth.writemask) { 612 struct softpipe_context *softpipe = qs->softpipe; local 617 if (!softpipe->depth_stencil->stencil[1].enabled) { 627 func = softpipe->depth_stencil->stencil[face].func; 628 failOp = softpipe->depth_stencil->stencil[face].fail_op; 629 zFailOp = softpipe 973 sp_quad_depth_test_stage(struct softpipe_context *softpipe) argument [all...] |
/external/mesa3d/src/gallium/targets/va-softpipe/ |
H A D | Makefile | 11 $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
|
/external/mesa3d/src/gallium/targets/vdpau-softpipe/ |
H A D | Makefile | 11 $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
|
/external/mesa3d/src/gallium/targets/xvmc-softpipe/ |
H A D | Makefile | 11 $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
|
/external/mesa3d/src/gallium/targets/graw-gdi/ |
H A D | SConscript | 26 env.Prepend(LIBS = [trace, rbug, galahad, softpipe])
|
/external/mesa3d/src/gallium/targets/graw-xlib/ |
H A D | SConscript | 29 env.Prepend(LIBS = [trace, rbug, galahad, softpipe])
|