/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_context.c | 59 struct softpipe_context *softpipe = softpipe_context( pipe ); local 63 if (softpipe->pstipple.sampler) 64 pipe->delete_sampler_state(pipe, softpipe->pstipple.sampler); 66 pipe_resource_reference(&softpipe->pstipple.texture, NULL); 67 pipe_sampler_view_reference(&softpipe->pstipple.sampler_view, NULL); 70 if (softpipe->blitter) { 71 util_blitter_destroy(softpipe->blitter); 74 if (softpipe->draw) 75 draw_destroy( softpipe->draw ); 77 if (softpipe 141 struct softpipe_context *softpipe = softpipe_context( pipe ); local 182 struct softpipe_context *softpipe = softpipe_context( pipe ); local 196 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 | 49 invalidate_vertex_layout(struct softpipe_context *softpipe) argument 51 softpipe->setup_info.valid = 0; 63 softpipe_compute_vertex_info(struct softpipe_context *softpipe) argument 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 239 softpipe_get_vbuf_vertex_info(struct softpipe_context *softpipe) argument 284 set_shader_sampler(struct softpipe_context *softpipe, unsigned shader, int max_sampler) argument 296 softpipe_update_compute_samplers(struct softpipe_context *softpipe) argument 335 update_fragment_shader(struct softpipe_context *softpipe, unsigned prim) argument 386 update_polygon_stipple_pattern(struct softpipe_context *softpipe) argument 412 update_polygon_stipple_enable(struct softpipe_context *softpipe, unsigned prim) argument 434 softpipe_update_derived(struct softpipe_context *softpipe, unsigned prim) argument [all...] |
H A D | Automake.inc | 6 $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la
|
H A D | sp_prim_vbuf.h | 35 sp_create_vbuf_backend(struct softpipe_context *softpipe);
|
H A D | 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++) { 71 sp_tile_cache_clear(softpipe->cbuf_cache[i], color, 0); 86 sp_tile_cache_clear(softpipe->zsbuf_cache, &zero, cv); 89 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); 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 87 struct softpipe_context *softpipe = softpipe_context(pipe); local [all...] |
H A D | 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); 104 struct softpipe_context *softpipe local [all...] |
H A D | 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 174 struct softpipe_context *softpipe = softpipe_context(pipe); local [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_quad_fs.c | 73 struct softpipe_context *softpipe = qs->softpipe; local 74 struct tgsi_exec_machine *machine = softpipe->fs_machine; 76 if (softpipe->active_statistics_queries) { 77 softpipe->pipeline_statistics.ps_invocations += 82 machine->flatshade_color = softpipe->rasterizer->flatshade ? TRUE : FALSE; 83 return softpipe->fs_variant->run( softpipe->fs_variant, machine, quad, softpipe->early_depth ); 91 struct softpipe_context *softpipe local 116 struct softpipe_context *softpipe = qs->softpipe; 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_state_shader.c | 49 create_fs_variant(struct softpipe_context *softpipe, argument 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 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...] |
H A D | sp_query.c | 89 struct softpipe_context *softpipe = softpipe_context( pipe ); local 95 sq->start = softpipe->occlusion_count; 101 sq->so.num_primitives_written = softpipe->so_stats.num_primitives_written; 102 sq->so.primitives_storage_needed = softpipe->so_stats.primitives_storage_needed; 108 sq->so.num_primitives_written = softpipe->so_stats.num_primitives_written; 111 sq->so.primitives_storage_needed = softpipe->so_stats.primitives_storage_needed; 119 if (softpipe->active_statistics_queries == 0) { 120 memset(&softpipe->pipeline_statistics, 0, 121 sizeof(softpipe->pipeline_statistics)); 123 memcpy(&sq->stats, &softpipe 140 struct softpipe_context *softpipe = softpipe_context( pipe ); local [all...] |
H A D | 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)); 61 struct softpipe_context *softpipe = softpipe_context(pipe); local 64 assert(start + num <= ARRAY_SIZE(softpipe->buffers[shader])); 71 pipe_resource_reference(&softpipe->tgsi.buffer[shader]->sp_bview[idx].buffer, buffers[i].buffer); 72 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_state_sampler.c | 57 struct softpipe_context *softpipe = softpipe_context(pipe); local 61 assert(start + num <= ARRAY_SIZE(softpipe->samplers[shader])); 63 draw_flush(softpipe->draw); 67 softpipe->samplers[shader][start + i] = samplers[i]; 72 unsigned j = MAX2(softpipe->num_samplers[shader], start + num); 73 while (j > 0 && softpipe->samplers[shader][j - 1] == NULL) 75 softpipe->num_samplers[shader] = j; 79 draw_set_samplers(softpipe->draw, 81 softpipe->samplers[shader], 82 softpipe 105 struct softpipe_context *softpipe = softpipe_context(pipe); local [all...] |
H A D | sp_quad_depth_test.c | 541 struct softpipe_context *softpipe = qs->softpipe; local 545 switch (softpipe->depth_stencil->depth.func) { 603 if (softpipe->depth_stencil->depth.writemask) { 625 struct softpipe_context *softpipe = qs->softpipe; local 630 if (!softpipe->depth_stencil->stencil[1].enabled) { 640 func = softpipe->depth_stencil->stencil[face].func; 641 failOp = softpipe->depth_stencil->stencil[face].fail_op; 642 zFailOp = softpipe 998 sp_quad_depth_test_stage(struct softpipe_context *softpipe) argument [all...] |
H A D | sp_state.h | 171 softpipe_update_derived(struct softpipe_context *softpipe, unsigned prim); 193 softpipe_get_vbuf_vertex_info(struct softpipe_context *softpipe); 197 softpipe_find_fs_variant(struct softpipe_context *softpipe, 203 softpipe_find_fs_variant(struct softpipe_context *softpipe, 228 softpipe_update_compute_samplers(struct softpipe_context *softpipe);
|
H A D | sp_prim_vbuf.c | 29 * Interface between 'draw' module's output and the softpipe rasterizer/setup 60 struct softpipe_context *softpipe; member in struct:softpipe_vbuf_render 84 return softpipe_get_vbuf_vertex_info(cvbr->softpipe); 143 cvbr->softpipe->reduced_prim = u_reduced_prim(prim); 163 struct softpipe_context *softpipe = cvbr->softpipe; local 164 const unsigned stride = softpipe->vertex_info.size * sizeof(float); 167 const boolean flatshade_first = softpipe->rasterizer->flatshade_first; 359 struct softpipe_context *softpipe = cvbr->softpipe; local 603 struct softpipe_context *softpipe = cvbr->softpipe; local 615 struct softpipe_context *softpipe = cvbr->softpipe; local [all...] |
H A D | sp_setup.h | 73 struct setup_context *sp_setup_create_context( struct softpipe_context *softpipe );
|
H A D | sp_compute.c | 171 struct softpipe_context *softpipe = softpipe_context(context); local 172 struct sp_compute_shader *cs = softpipe->cs; 181 softpipe_update_compute_samplers(softpipe); 212 (struct tgsi_sampler *)softpipe->tgsi.sampler[PIPE_SHADER_COMPUTE], 213 (struct tgsi_image *)softpipe->tgsi.image[PIPE_SHADER_COMPUTE], 214 (struct tgsi_buffer *)softpipe->tgsi.buffer[PIPE_SHADER_COMPUTE]); 216 softpipe->mapped_constants[PIPE_SHADER_COMPUTE], 217 softpipe->const_buffer_size[PIPE_SHADER_COMPUTE]);
|
/external/mesa3d/src/gallium/targets/graw-gdi/ |
H A D | SConscript | 27 env.Prepend(LIBS = [trace, rbug, softpipe])
|