Searched refs:rast (Results 1 - 25 of 187) sorted by relevance

12345678

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_rasterizer.c106 struct svga_rasterizer_state *rast)
109 unsigned fill_mode = translate_fill_mode(rast->templ.fill_front);
110 const unsigned cull_mode = translate_cull_mode(rast->templ.cull_face);
111 const int depth_bias = rast->templ.offset_units;
112 const float slope_scaled_depth_bias = rast->templ.offset_scale;
115 const float line_width = rast->templ.line_width > 0.0f ?
116 rast->templ.line_width : 1.0f;
117 const uint8 line_factor = rast->templ.line_stipple_enable ?
118 rast->templ.line_stipple_factor : 0;
119 const uint16 line_pattern = rast
105 define_rasterizer_object(struct svga_context * svga,struct svga_rasterizer_state * rast) argument
160 struct svga_rasterizer_state *rast = CALLOC_STRUCT(svga_rasterizer_state); local in function:svga_create_rasterizer_state
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_rasterizer.c106 struct svga_rasterizer_state *rast)
109 unsigned fill_mode = translate_fill_mode(rast->templ.fill_front);
110 const unsigned cull_mode = translate_cull_mode(rast->templ.cull_face);
111 const int depth_bias = rast->templ.offset_units;
112 const float slope_scaled_depth_bias = rast->templ.offset_scale;
115 const float line_width = rast->templ.line_width > 0.0f ?
116 rast->templ.line_width : 1.0f;
117 const uint8 line_factor = rast->templ.line_stipple_enable ?
118 rast->templ.line_stipple_factor : 0;
119 const uint16 line_pattern = rast
105 define_rasterizer_object(struct svga_context * svga,struct svga_rasterizer_state * rast) argument
166 struct svga_rasterizer_state *rast = CALLOC_STRUCT(svga_rasterizer_state); local in function:svga_create_rasterizer_state
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_rasterizer.c45 clear_flags(struct pipe_rasterizer_state *rast) argument
47 rast->light_twoside = 0;
48 rast->offset_tri = 0;
49 rast->offset_line = 0;
50 rast->offset_point = 0;
51 rast->offset_units = 0.0f;
52 rast->offset_scale = 0.0f;
59 const struct pipe_rasterizer_state *rast)
70 memcpy(&state->draw_state, rast, sizeof *rast);
58 llvmpipe_create_rasterizer_state(struct pipe_context * pipe,const struct pipe_rasterizer_state * rast) argument
[all...]
H A Dlp_screen.h58 struct lp_rasterizer *rast; member in struct:llvmpipe_screen
H A Dlp_rast.c65 lp_rast_begin( struct lp_rasterizer *rast, argument
68 rast->curr_scene = scene;
78 lp_rast_end( struct lp_rasterizer *rast ) argument
80 lp_scene_end_rasterization( rast->curr_scene );
82 rast->curr_scene = NULL;
678 if (!task->rast->no_rast) {
719 lp_rast_queue_scene( struct lp_rasterizer *rast, argument
724 if (rast->num_threads == 0) {
733 lp_rast_begin( rast, scene );
735 rasterize_scene( &rast
760 lp_rast_finish(struct lp_rasterizer * rast) argument
787 struct lp_rasterizer *rast = task->rast; local in function:thread_function
859 create_rast_threads(struct lp_rasterizer * rast) argument
882 struct lp_rasterizer *rast; local in function:lp_rast_create
938 lp_rast_destroy(struct lp_rasterizer * rast) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_rasterizer.c45 clear_flags(struct pipe_rasterizer_state *rast) argument
47 rast->light_twoside = 0;
48 rast->offset_tri = 0;
49 rast->offset_line = 0;
50 rast->offset_point = 0;
51 rast->offset_units = 0.0f;
52 rast->offset_scale = 0.0f;
59 const struct pipe_rasterizer_state *rast)
70 memcpy(&state->draw_state, rast, sizeof *rast);
58 llvmpipe_create_rasterizer_state(struct pipe_context * pipe,const struct pipe_rasterizer_state * rast) argument
[all...]
H A Dlp_rast.c69 lp_rast_begin( struct lp_rasterizer *rast, argument
72 rast->curr_scene = scene;
82 lp_rast_end( struct lp_rasterizer *rast ) argument
84 lp_scene_end_rasterization( rast->curr_scene );
86 rast->curr_scene = NULL;
1087 if (!task->rast->no_rast) {
1128 lp_rast_queue_scene( struct lp_rasterizer *rast, argument
1133 if (rast->num_threads == 0) {
1142 lp_rast_begin( rast, scene );
1144 rasterize_scene( &rast
1169 lp_rast_finish(struct lp_rasterizer * rast) argument
1196 struct lp_rasterizer *rast = task->rast; local in function:thread_function
1268 create_rast_threads(struct lp_rasterizer * rast) argument
1295 struct lp_rasterizer *rast; local in function:lp_rast_create
1351 lp_rast_destroy(struct lp_rasterizer * rast) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_rasterizer.h48 etna_rasterizer_state(struct pipe_rasterizer_state *rast) argument
50 return (struct etna_rasterizer_state *)rast;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_rasterizer.h45 fd2_rasterizer_stateobj(struct pipe_rasterizer_state *rast) argument
47 return (struct fd2_rasterizer_stateobj *)rast;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_rasterizer.h46 fd3_rasterizer_stateobj(struct pipe_rasterizer_state *rast) argument
48 return (struct fd3_rasterizer_stateobj *)rast;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_rasterizer.h47 fd4_rasterizer_stateobj(struct pipe_rasterizer_state *rast) argument
49 return (struct fd4_rasterizer_stateobj *)rast;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_rasterizer.h48 etna_rasterizer_state(struct pipe_rasterizer_state *rast) argument
50 return (struct etna_rasterizer_state *)rast;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_rasterizer.h45 fd2_rasterizer_stateobj(struct pipe_rasterizer_state *rast) argument
47 return (struct fd2_rasterizer_stateobj *)rast;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_rasterizer.h46 fd3_rasterizer_stateobj(struct pipe_rasterizer_state *rast) argument
48 return (struct fd3_rasterizer_stateobj *)rast;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_state_rasterizer.c38 const struct pipe_rasterizer_state *rast)
40 return mem_dup(rast, sizeof(*rast));
37 softpipe_create_rasterizer_state(struct pipe_context * pipe,const struct pipe_rasterizer_state * rast) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_state_rasterizer.c38 const struct pipe_rasterizer_state *rast)
40 return mem_dup(rast, sizeof(*rast));
37 softpipe_create_rasterizer_state(struct pipe_context * pipe,const struct pipe_rasterizer_state * rast) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_rasterizer.h49 fd5_rasterizer_stateobj(struct pipe_rasterizer_state *rast) argument
51 return (struct fd5_rasterizer_stateobj *)rast;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_rasterizer.h52 fd6_rasterizer_stateobj(struct pipe_rasterizer_state *rast) argument
54 return (struct fd6_rasterizer_stateobj *)rast;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_rasterizer.h48 fd4_rasterizer_stateobj(struct pipe_rasterizer_state *rast) argument
50 return (struct fd4_rasterizer_stateobj *)rast;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_rasterizer.h49 fd5_rasterizer_stateobj(struct pipe_rasterizer_state *rast) argument
51 return (struct fd5_rasterizer_stateobj *)rast;
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe_validate.c155 const struct pipe_rasterizer_state *rast = draw->rasterizer; local in function:validate_pipeline
163 wide_lines = rast->line_width != 1.0f &&
164 roundf(rast->line_width) > draw->pipeline.wide_line_threshold &&
165 (!rast->line_smooth || rast->multisample);
168 if (rast->sprite_coord_enable && draw->pipeline.point_sprite)
170 else if ((!rast->multisample && rast->point_smooth) && draw->pipeline.aapoint)
172 else if (rast->point_size > draw->pipeline.wide_point_threshold)
174 else if (rast
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe_validate.c152 const struct pipe_rasterizer_state *rast = draw->rasterizer; local in function:validate_pipeline
160 wide_lines = rast->line_width != 1.0f &&
161 roundf(rast->line_width) > draw->pipeline.wide_line_threshold &&
162 !rast->line_smooth;
165 if (rast->sprite_coord_enable && draw->pipeline.point_sprite)
167 else if (rast->point_smooth && draw->pipeline.aapoint)
169 else if (rast->point_size > draw->pipeline.wide_point_threshold)
171 else if (rast->point_quad_rasterization && draw->pipeline.wide_point_sprites)
183 if (rast->line_smooth && draw->pipeline.aaline) {
189 if (rast
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
H A Dnine_pipe.c80 struct pipe_rasterizer_state rast; local in function:nine_convert_rasterizer_state
82 memset(&rast, 0, sizeof(rast));
84 rast.flatshade = rs[D3DRS_SHADEMODE] == D3DSHADE_FLAT;
85 /* rast.light_twoside = 0; */
86 /* rast.clamp_fragment_color = 0; */
87 /* rast.clamp_vertex_color = 0; */
88 /* rast.front_ccw = 0; */
89 rast.cull_face = d3dcull_to_pipe_face(rs[D3DRS_CULLMODE]);
90 rast
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
H A Dnine_pipe.c80 struct pipe_rasterizer_state rast; local in function:nine_convert_rasterizer_state
82 memset(&rast, 0, sizeof(rast));
84 rast.flatshade = rs[D3DRS_SHADEMODE] == D3DSHADE_FLAT;
85 /* rast.light_twoside = 0; */
86 /* rast.clamp_fragment_color = 0; */
87 /* rast.clamp_vertex_color = 0; */
88 /* rast.front_ccw = 0; */
89 rast.cull_face = d3dcull_to_pipe_face(rs[D3DRS_CULLMODE]);
90 rast
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_rasterizer.h43 fd6_rasterizer_stateobj(struct pipe_rasterizer_state *rast) argument
45 return (struct fd6_rasterizer_stateobj *)rast;

Completed in 12 milliseconds

12345678