/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
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_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_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_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_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_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_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_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_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_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_fs_exec.c | 193 softpipe_create_fs_variant_exec(struct softpipe_context *softpipe, argument
|
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...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
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_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_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_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_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_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_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_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_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_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_fs_exec.c | 193 softpipe_create_fs_variant_exec(struct softpipe_context *softpipe, argument
|