Home
last modified time | relevance | path

Searched refs:rast (Results 1 – 25 of 80) sorted by relevance

1234

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_rasterizer.c106 struct svga_rasterizer_state *rast) in define_rasterizer_object() argument
109 unsigned fill_mode = translate_fill_mode(rast->templ.fill_front); in define_rasterizer_object()
110 const unsigned cull_mode = translate_cull_mode(rast->templ.cull_face); in define_rasterizer_object()
111 const int depth_bias = rast->templ.offset_units; in define_rasterizer_object()
112 const float slope_scaled_depth_bias = rast->templ.offset_scale; in define_rasterizer_object()
115 const float line_width = rast->templ.line_width > 0.0f ? in define_rasterizer_object()
116 rast->templ.line_width : 1.0f; in define_rasterizer_object()
117 const uint8 line_factor = rast->templ.line_stipple_enable ? in define_rasterizer_object()
118 rast->templ.line_stipple_factor : 0; in define_rasterizer_object()
119 const uint16 line_pattern = rast->templ.line_stipple_enable ? in define_rasterizer_object()
[all …]
Dsvga_state_need_swtnl.c69 if (svga->curr.rast && in update_need_pipeline()
70 (svga->curr.rast->need_pipeline & (1 << svga->curr.reduced_prim))) { in update_need_pipeline()
73 svga->curr.rast->need_pipeline, in update_need_pipeline()
77 svga->curr.rast->need_pipeline_tris_str, in update_need_pipeline()
78 svga->curr.rast->need_pipeline_lines_str, in update_need_pipeline()
79 svga->curr.rast->need_pipeline_points_str); in update_need_pipeline()
84 reason = svga->curr.rast->need_pipeline_points_str; in update_need_pipeline()
87 reason = svga->curr.rast->need_pipeline_lines_str; in update_need_pipeline()
90 reason = svga->curr.rast->need_pipeline_tris_str; in update_need_pipeline()
107 if (svga->curr.rast && svga->curr.reduced_prim == PIPE_PRIM_POINTS) { in update_need_pipeline()
[all …]
Dsvga_state_rss.c127 const struct svga_rasterizer_state *rast = svga->curr.rast; in emit_rss_vgpu9() local
156 if (rast->templ.front_ccw) { in emit_rss_vgpu9()
202 const struct svga_rasterizer_state *curr = svga->curr.rast; in emit_rss_vgpu9()
240 const struct svga_rasterizer_state *curr = svga->curr.rast; in emit_rss_vgpu9()
271 unsigned enabled = svga->curr.rast->templ.clip_plane_enable; in emit_rss_vgpu9()
305 const struct svga_rasterizer_state *r = svga->curr.rast; in get_no_cull_rasterizer_state()
309 struct pipe_rasterizer_state rast; in get_no_cull_rasterizer_state() local
311 memset(&rast, 0, sizeof(rast)); in get_no_cull_rasterizer_state()
312 rast.flatshade = 1; in get_no_cull_rasterizer_state()
313 rast.front_ccw = 1; in get_no_cull_rasterizer_state()
[all …]
Dsvga_pipe_draw.c75 svga_hwtnl_set_fillmode(svga->hwtnl, svga->curr.rast->hw_fillmode); in retry_draw_range_elements()
85 svga->curr.rast->templ.flatshade || in retry_draw_range_elements()
87 svga->curr.rast->templ.flatshade_first); in retry_draw_range_elements()
127 svga_hwtnl_set_fillmode(svga->hwtnl, svga->curr.rast->hw_fillmode); in retry_draw_arrays()
137 svga->curr.rast->templ.flatshade || in retry_draw_arrays()
139 svga->curr.rast->templ.flatshade_first); in retry_draw_arrays()
206 svga->curr.rast->templ.cull_face == PIPE_FACE_FRONT_AND_BACK) in svga_draw_vbo()
Dsvga_state_fs.c207 key->fs.light_twoside = svga->curr.rast->templ.light_twoside; in make_fs_key()
208 key->fs.front_ccw = svga->curr.rast->templ.front_ccw; in make_fs_key()
209 key->fs.pstipple = (svga->curr.rast->templ.poly_stipple_enable && in make_fs_key()
211 key->fs.aa_point = (svga->curr.rast->templ.point_smooth && in make_fs_key()
213 (svga->curr.rast->pointsize > 1.0 || in make_fs_key()
332 svga->curr.rast->templ.sprite_coord_enable & (1 << i); in make_fs_key()
335 key->sprite_origin_lower_left = (svga->curr.rast->templ.sprite_coord_mode in make_fs_key()
338 key->fs.flatshade = svga->curr.rast->templ.flatshade; in make_fs_key()
417 svga->curr.rast->templ.rasterizer_discard || in emit_hw_fs()
Dsvga_state_tgsi_transform.c84 key.gs.sprite_coord_enable = svga->curr.rast->templ.sprite_coord_enable; in emulate_point_sprite()
87 !(svga->curr.rast->templ.sprite_coord_mode == PIPE_SPRITE_COORD_LOWER_LEFT); in emulate_point_sprite()
89 key.gs.aa_point = svga->curr.rast->templ.point_smooth; in emulate_point_sprite()
266 (svga->curr.rast->pointsize > 1.0 || in update_tgsi_transform()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast.c65 lp_rast_begin( struct lp_rasterizer *rast, in lp_rast_begin() argument
68 rast->curr_scene = scene; in lp_rast_begin()
78 lp_rast_end( struct lp_rasterizer *rast ) in lp_rast_end() argument
80 lp_scene_end_rasterization( rast->curr_scene ); in lp_rast_end()
82 rast->curr_scene = NULL; in lp_rast_end()
682 if (!task->rast->no_rast && !scene->discard) { in rasterize_scene()
723 lp_rast_queue_scene( struct lp_rasterizer *rast, in lp_rast_queue_scene() argument
728 if (rast->num_threads == 0) { in lp_rast_queue_scene()
737 lp_rast_begin( rast, scene ); in lp_rast_queue_scene()
739 rasterize_scene( &rast->tasks[0], scene ); in lp_rast_queue_scene()
[all …]
Dlp_state_rasterizer.c45 clear_flags(struct pipe_rasterizer_state *rast) in clear_flags() argument
47 rast->light_twoside = 0; in clear_flags()
48 rast->offset_tri = 0; in clear_flags()
49 rast->offset_line = 0; in clear_flags()
50 rast->offset_point = 0; in clear_flags()
51 rast->offset_units = 0.0f; in clear_flags()
52 rast->offset_scale = 0.0f; in clear_flags()
59 const struct pipe_rasterizer_state *rast) in llvmpipe_create_rasterizer_state() argument
70 memcpy(&state->draw_state, rast, sizeof *rast); in llvmpipe_create_rasterizer_state()
71 memcpy(&state->lp_state, rast, sizeof *rast); in llvmpipe_create_rasterizer_state()
[all …]
/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_pipe.c77 struct pipe_rasterizer_state rast; in nine_convert_rasterizer_state() local
79 memset(&rast, 0, sizeof(rast)); in nine_convert_rasterizer_state()
81 rast.flatshade = rs[D3DRS_SHADEMODE] == D3DSHADE_FLAT; in nine_convert_rasterizer_state()
86 rast.cull_face = d3dcull_to_pipe_face(rs[D3DRS_CULLMODE]); in nine_convert_rasterizer_state()
87 rast.fill_front = d3dfillmode_to_pipe_polygon_mode(rs[D3DRS_FILLMODE]); in nine_convert_rasterizer_state()
88 rast.fill_back = rast.fill_front; in nine_convert_rasterizer_state()
89 rast.offset_tri = !!(rs[D3DRS_DEPTHBIAS] | rs[D3DRS_SLOPESCALEDEPTHBIAS]); in nine_convert_rasterizer_state()
90 rast.offset_line = rast.offset_tri; /* triangles in wireframe mode */ in nine_convert_rasterizer_state()
91 rast.offset_point = 0; /* XXX ? */ in nine_convert_rasterizer_state()
92 rast.scissor = !!rs[D3DRS_SCISSORTESTENABLE]; in nine_convert_rasterizer_state()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_validate.c152 const struct pipe_rasterizer_state *rast = draw->rasterizer; in validate_pipeline() local
160 wide_lines = rast->line_width != 1.0f && in validate_pipeline()
161 roundf(rast->line_width) > draw->pipeline.wide_line_threshold && in validate_pipeline()
162 !rast->line_smooth; in validate_pipeline()
165 if (rast->sprite_coord_enable && draw->pipeline.point_sprite) in validate_pipeline()
167 else if (rast->point_smooth && draw->pipeline.aapoint) in validate_pipeline()
169 else if (rast->point_size > draw->pipeline.wide_point_threshold) in validate_pipeline()
171 else if (rast->point_quad_rasterization && draw->pipeline.wide_point_sprites) in validate_pipeline()
183 if (rast->line_smooth && draw->pipeline.aaline) { in validate_pipeline()
189 if (rast->point_smooth && draw->pipeline.aapoint) { in validate_pipeline()
[all …]
Ddraw_pipe_offset.c151 const struct pipe_rasterizer_state *rast = stage->draw->rasterizer; in offset_first_tri() local
152 unsigned fill_mode = rast->fill_front; in offset_first_tri()
155 if (rast->fill_back != rast->fill_front) { in offset_first_tri()
158 if (ccw != rast->front_ccw) in offset_first_tri()
159 fill_mode = rast->fill_back; in offset_first_tri()
165 do_offset = rast->offset_tri; in offset_first_tri()
168 do_offset = rast->offset_line; in offset_first_tri()
171 do_offset = rast->offset_point; in offset_first_tri()
175 do_offset = rast->offset_tri; in offset_first_tri()
179 offset->scale = rast->offset_scale; in offset_first_tri()
[all …]
Ddraw_pipe_wide_point.c102 const struct pipe_rasterizer_state *rast = draw->rasterizer; in set_texcoords() local
103 const uint texcoord_mode = rast->sprite_coord_mode; in set_texcoords()
203 const struct pipe_rasterizer_state *rast = draw->rasterizer; in widepoint_first_point() local
206 wide->half_point_size = 0.5f * rast->point_size; in widepoint_first_point()
210 if (rast->half_pixel_center) { in widepoint_first_point()
216 r = draw_get_rasterizer_no_cull(draw, rast->scissor, rast->flatshade); in widepoint_first_point()
222 if ((rast->point_size > draw->pipeline.wide_point_threshold) || in widepoint_first_point()
223 (rast->point_quad_rasterization && draw->pipeline.point_sprite)) { in widepoint_first_point()
232 if (rast->point_quad_rasterization) { in widepoint_first_point()
250 if (si >= 32 || !(rast->sprite_coord_enable & (1 << si))) in widepoint_first_point()
[all …]
Ddraw_pipe_unfilled.c215 const struct pipe_rasterizer_state *rast = stage->draw->rasterizer; in unfilled_first_tri() local
217 unfilled->mode[0] = rast->front_ccw ? rast->fill_front : rast->fill_back; in unfilled_first_tri()
218 unfilled->mode[1] = rast->front_ccw ? rast->fill_back : rast->fill_front; in unfilled_first_tri()
256 const struct pipe_rasterizer_state *rast = draw ? draw->rasterizer : 0; in draw_unfilled_prepare_outputs() local
257 boolean is_unfilled = (rast && in draw_unfilled_prepare_outputs()
258 (rast->fill_front != PIPE_POLYGON_MODE_FILL || in draw_unfilled_prepare_outputs()
259 rast->fill_back != PIPE_POLYGON_MODE_FILL)); in draw_unfilled_prepare_outputs()
Ddraw_context.c930 struct pipe_rasterizer_state rast; in draw_get_rasterizer_no_cull() local
932 memset(&rast, 0, sizeof(rast)); in draw_get_rasterizer_no_cull()
933 rast.scissor = scissor; in draw_get_rasterizer_no_cull()
934 rast.flatshade = flatshade; in draw_get_rasterizer_no_cull()
935 rast.front_ccw = 1; in draw_get_rasterizer_no_cull()
936 rast.half_pixel_center = draw->rasterizer->half_pixel_center; in draw_get_rasterizer_no_cull()
937 rast.bottom_edge_rule = draw->rasterizer->bottom_edge_rule; in draw_get_rasterizer_no_cull()
938 rast.clip_halfz = draw->rasterizer->clip_halfz; in draw_get_rasterizer_no_cull()
941 pipe->create_rasterizer_state(pipe, &rast); in draw_get_rasterizer_no_cull()
1125 const struct pipe_rasterizer_state *rast = draw->rasterizer; in draw_will_inject_frontface() local
[all …]
/external/icu/icu4c/source/data/locales/
Det.txt685 "pärast Kristust",
1053 one{"{0} päeva pärast"}
1054 other{"{0} päeva pärast"}
1066 one{"{0} p pärast"}
1067 other{"{0} p pärast"}
1079 one{"{0} p pärast"}
1080 other{"{0} p pärast"}
1098 dn{"enne/pärast lõunat"}
1101 dn{"enne/pärast lõunat"}
1104 dn{"enne/pärast lõunat"}
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_shader_state.c175 struct pipe_rasterizer_state *rast = &nv50->rast->pipe; in nv50_fragprog_validate() local
177 if (!fp || !rast) in nv50_fragprog_validate()
216 if (fp->fp.force_persample_interp != rast->force_persample_interp) { in nv50_fragprog_validate()
223 fp->fp.force_persample_interp = rast->force_persample_interp; in nv50_fragprog_validate()
305 if (!nv50->rast->pipe.point_quad_rasterization) { in nv50_sprite_coords_validate()
327 if (!(nv50->rast->pipe.sprite_coord_enable & (1 << fp->in[i].si))) { in nv50_sprite_coords_validate()
340 if (nv50->rast->pipe.sprite_coord_mode == PIPE_SPRITE_COORD_LOWER_LEFT) in nv50_sprite_coords_validate()
361 if (nv50->state.rasterizer_discard != nv50->rast->pipe.rasterizer_discard) { in nv50_validate_derived_rs()
362 nv50->state.rasterizer_discard = nv50->rast->pipe.rasterizer_discard; in nv50_validate_derived_rs()
364 PUSH_DATA (push, !nv50->rast->pipe.rasterizer_discard); in nv50_validate_derived_rs()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_rasterizer.c38 const struct pipe_rasterizer_state *rast) in softpipe_create_rasterizer_state() argument
40 return mem_dup(rast, sizeof(*rast)); in softpipe_create_rasterizer_state()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state_validate.c273 nvc0->rast->pipe.scissor == nvc0->state.scissor) in nvc0_validate_scissor()
276 if (nvc0->state.scissor != nvc0->rast->pipe.scissor) in nvc0_validate_scissor()
279 nvc0->state.scissor = nvc0->rast->pipe.scissor; in nvc0_validate_scissor()
287 if (nvc0->rast->pipe.scissor) { in nvc0_validate_scissor()
337 util_viewport_zmin_zmax(vp, nvc0->rast->pipe.clip_halfz, &zmin, &zmax); in nvc0_validate_viewport()
411 uint8_t clip_enable = nvc0->rast->pipe.clip_plane_enable; in nvc0_validate_clip()
469 PUSH_SPACE(push, nvc0->rast->size); in nvc0_validate_rasterizer()
470 PUSH_DATAp(push, nvc0->rast->state, nvc0->rast->size); in nvc0_validate_rasterizer()
643 if (nvc0->rast && nvc0->rast->pipe.rasterizer_discard) { in nvc0_validate_fp_zsa_rast()
681 struct pipe_rasterizer_state *rast = &nvc0->rast->pipe; in nvc0_validate_rast_fb() local
[all …]
Dnvc0_shader_state.c92 struct pipe_rasterizer_state *rast = &nvc0->rast->pipe; in nvc0_fragprog_validate() local
94 if (fp->fp.force_persample_interp != rast->force_persample_interp) { in nvc0_fragprog_validate()
101 fp->fp.force_persample_interp = rast->force_persample_interp; in nvc0_fragprog_validate()
111 if (has_explicit_color && fp->fp.flatshade != rast->flatshade) { in nvc0_fragprog_validate()
116 fp->fp.flatshade = rast->flatshade; in nvc0_fragprog_validate()
122 hwflatshade = rast->flatshade; in nvc0_fragprog_validate()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state_validate.c228 bool rast_scissor = nv30->rast ? nv30->rast->pipe.scissor : false; in nv30_validate_scissor()
287 if (nv30->rast->pipe.clip_plane_enable & (1 << i)) in nv30_validate_clip()
318 PUSH_SPACE(push, nv30->rast->size); in nv30_validate_rasterizer()
319 PUSH_DATAp(push, nv30->rast->data, nv30->rast->size); in nv30_validate_rasterizer()
325 struct pipe_rasterizer_state *rasterizer = &nv30->rast->pipe; in nv30_validate_multisample()
356 struct pipe_rasterizer_state *rasterizer = &nv30->rast->pipe; in nv30_validate_point_coord()
362 hw |= (nv30->rast->pipe.sprite_coord_enable & 0xff) << 8; in nv30_validate_point_coord()
454 if (!nv30->rast) in nv30_state_context_switch()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_rasterizer.h48 fd3_rasterizer_stateobj(struct pipe_rasterizer_state *rast) in fd3_rasterizer_stateobj() argument
50 return (struct fd3_rasterizer_stateobj *)rast; in fd3_rasterizer_stateobj()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_rasterizer.h47 fd2_rasterizer_stateobj(struct pipe_rasterizer_state *rast) in fd2_rasterizer_stateobj() argument
49 return (struct fd2_rasterizer_stateobj *)rast; in fd2_rasterizer_stateobj()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_rasterizer.h49 fd4_rasterizer_stateobj(struct pipe_rasterizer_state *rast) in fd4_rasterizer_stateobj() argument
51 return (struct fd4_rasterizer_stateobj *)rast; in fd4_rasterizer_stateobj()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_rasterizer.h48 etna_rasterizer_state(struct pipe_rasterizer_state *rast) in etna_rasterizer_state() argument
50 return (struct etna_rasterizer_state *)rast; in etna_rasterizer_state()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_rasterizer.h49 fd5_rasterizer_stateobj(struct pipe_rasterizer_state *rast) in fd5_rasterizer_stateobj() argument
51 return (struct fd5_rasterizer_stateobj *)rast; in fd5_rasterizer_stateobj()

1234