Home
last modified time | relevance | path

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

123

/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_rss.c128 const struct svga_rasterizer_state *rast = svga->curr.rast; in emit_rss_vgpu9() local
160 if (rast->templ.front_ccw) { in emit_rss_vgpu9()
207 const struct svga_rasterizer_state *curr = svga->curr.rast; in emit_rss_vgpu9()
244 const struct svga_rasterizer_state *curr = svga->curr.rast; in emit_rss_vgpu9()
275 unsigned enabled = svga->curr.rast->templ.clip_plane_enable; in emit_rss_vgpu9()
313 const struct svga_rasterizer_state *r = svga->curr.rast; in get_no_cull_rasterizer_state()
317 struct pipe_rasterizer_state rast; in get_no_cull_rasterizer_state() local
319 memset(&rast, 0, sizeof(rast)); in get_no_cull_rasterizer_state()
320 rast.flatshade = 1; in get_no_cull_rasterizer_state()
321 rast.front_ccw = 1; in get_no_cull_rasterizer_state()
[all …]
Dsvga_state_need_swtnl.c69 if (svga->curr.rast->need_pipeline & (1 << svga->curr.reduced_prim)) { in update_need_pipeline()
72 svga->curr.rast->need_pipeline, in update_need_pipeline()
76 svga->curr.rast->need_pipeline_tris_str, in update_need_pipeline()
77 svga->curr.rast->need_pipeline_lines_str, in update_need_pipeline()
78 svga->curr.rast->need_pipeline_points_str); in update_need_pipeline()
83 reason = svga->curr.rast->need_pipeline_points_str; in update_need_pipeline()
86 reason = svga->curr.rast->need_pipeline_lines_str; in update_need_pipeline()
89 reason = svga->curr.rast->need_pipeline_tris_str; in update_need_pipeline()
107 unsigned sprite_coord_gen = svga->curr.rast->templ.sprite_coord_enable; in update_need_pipeline()
Dsvga_pipe_draw.c65 svga_hwtnl_set_fillmode(svga->hwtnl, svga->curr.rast->hw_fillmode); in retry_draw_range_elements()
75 svga->curr.rast->templ.flatshade || in retry_draw_range_elements()
77 svga->curr.rast->templ.flatshade_first); in retry_draw_range_elements()
117 svga_hwtnl_set_fillmode(svga->hwtnl, svga->curr.rast->hw_fillmode); in retry_draw_arrays()
127 svga->curr.rast->templ.flatshade || in retry_draw_arrays()
129 svga->curr.rast->templ.flatshade_first); in retry_draw_arrays()
194 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()
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()
264 (svga->curr.rast->pointsize > 1.0 || in update_tgsi_transform()
/external/mesa3d/src/gallium/drivers/llvmpipe/
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 …]
Dlp_rast.c64 lp_rast_begin( struct lp_rasterizer *rast, in lp_rast_begin() argument
67 rast->curr_scene = scene; in lp_rast_begin()
77 lp_rast_end( struct lp_rasterizer *rast ) in lp_rast_end() argument
79 lp_scene_end_rasterization( rast->curr_scene ); in lp_rast_end()
81 rast->curr_scene = NULL; in lp_rast_end()
679 if (!task->rast->no_rast && !scene->discard) { in rasterize_scene()
720 lp_rast_queue_scene( struct lp_rasterizer *rast, in lp_rast_queue_scene() argument
725 if (rast->num_threads == 0) { in lp_rast_queue_scene()
734 lp_rast_begin( rast, scene ); in lp_rast_queue_scene()
736 rasterize_scene( &rast->tasks[0], scene ); in lp_rast_queue_scene()
[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/icu/icu4c/source/data/locales/
Det.txt645 "pärast Kristust",
987 one{"{0} päeva pärast"}
988 other{"{0} päeva pärast"}
1000 one{"{0} p pärast"}
1001 other{"{0} p pärast"}
1013 one{"{0} p pärast"}
1014 other{"{0} p pärast"}
1023 dn{"enne/pärast lõunat"}
1036 one{"{0} reede pärast"}
1037 other{"{0} reede pärast"}
[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 = (roundf(rast->line_width) > draw->pipeline.wide_line_threshold in validate_pipeline()
161 && !rast->line_smooth); in validate_pipeline()
164 if (rast->sprite_coord_enable && draw->pipeline.point_sprite) in validate_pipeline()
166 else if (rast->point_smooth && draw->pipeline.aapoint) in validate_pipeline()
168 else if (rast->point_size > draw->pipeline.wide_point_threshold) in validate_pipeline()
170 else if (rast->point_quad_rasterization && draw->pipeline.wide_point_sprites) in validate_pipeline()
182 if (rast->line_smooth && draw->pipeline.aaline) { in validate_pipeline()
188 if (rast->point_smooth && draw->pipeline.aapoint) { in validate_pipeline()
204 if (rast->line_stipple_enable && draw->pipeline.line_stipple) { 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_unfilled.c216 const struct pipe_rasterizer_state *rast = stage->draw->rasterizer; in unfilled_first_tri() local
218 unfilled->mode[0] = rast->front_ccw ? rast->fill_front : rast->fill_back; in unfilled_first_tri()
219 unfilled->mode[1] = rast->front_ccw ? rast->fill_back : rast->fill_front; in unfilled_first_tri()
257 const struct pipe_rasterizer_state *rast = draw ? draw->rasterizer : 0; in draw_unfilled_prepare_outputs() local
258 boolean is_unfilled = (rast && in draw_unfilled_prepare_outputs()
259 (rast->fill_front != PIPE_POLYGON_MODE_FILL || in draw_unfilled_prepare_outputs()
260 rast->fill_back != PIPE_POLYGON_MODE_FILL)); in draw_unfilled_prepare_outputs()
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_context.c934 struct pipe_rasterizer_state rast; in draw_get_rasterizer_no_cull() local
936 memset(&rast, 0, sizeof(rast)); in draw_get_rasterizer_no_cull()
937 rast.scissor = scissor; in draw_get_rasterizer_no_cull()
938 rast.flatshade = flatshade; in draw_get_rasterizer_no_cull()
939 rast.front_ccw = 1; in draw_get_rasterizer_no_cull()
940 rast.half_pixel_center = draw->rasterizer->half_pixel_center; in draw_get_rasterizer_no_cull()
941 rast.bottom_edge_rule = draw->rasterizer->bottom_edge_rule; in draw_get_rasterizer_no_cull()
942 rast.clip_halfz = draw->rasterizer->clip_halfz; in draw_get_rasterizer_no_cull()
945 pipe->create_rasterizer_state(pipe, &rast); in draw_get_rasterizer_no_cull()
1128 const struct pipe_rasterizer_state *rast = draw->rasterizer; in draw_will_inject_frontface() local
[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/nv50/
Dnv50_shader_state.c175 struct pipe_rasterizer_state *rast = &nv50->rast->pipe; in nv50_fragprog_validate() local
213 if (fp->fp.force_persample_interp != rast->force_persample_interp) { in nv50_fragprog_validate()
220 fp->fp.force_persample_interp = rast->force_persample_interp; in nv50_fragprog_validate()
302 if (!nv50->rast->pipe.point_quad_rasterization) { in nv50_sprite_coords_validate()
324 if (!(nv50->rast->pipe.sprite_coord_enable & (1 << fp->in[i].si))) { in nv50_sprite_coords_validate()
337 if (nv50->rast->pipe.sprite_coord_mode == PIPE_SPRITE_COORD_LOWER_LEFT) in nv50_sprite_coords_validate()
358 if (nv50->state.rasterizer_discard != nv50->rast->pipe.rasterizer_discard) { in nv50_validate_derived_rs()
359 nv50->state.rasterizer_discard = nv50->rast->pipe.rasterizer_discard; in nv50_validate_derived_rs()
361 PUSH_DATA (push, !nv50->rast->pipe.rasterizer_discard); in nv50_validate_derived_rs()
369 if (nv50->rast->pipe.clamp_vertex_color) in nv50_validate_derived_rs()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state_validate.c230 nv30->rast->pipe.scissor != nv30->state.scissor_off) in nv30_validate_scissor()
232 nv30->state.scissor_off = !nv30->rast->pipe.scissor; in nv30_validate_scissor()
235 if (nv30->rast->pipe.scissor) { in nv30_validate_scissor()
286 if (nv30->rast->pipe.clip_plane_enable & (1 << i)) in nv30_validate_clip()
317 PUSH_SPACE(push, nv30->rast->size); in nv30_validate_rasterizer()
318 PUSH_DATAp(push, nv30->rast->data, nv30->rast->size); in nv30_validate_rasterizer()
324 struct pipe_rasterizer_state *rasterizer = &nv30->rast->pipe; in nv30_validate_multisample()
355 struct pipe_rasterizer_state *rasterizer = &nv30->rast->pipe; in nv30_validate_point_coord()
361 hw |= (nv30->rast->pipe.sprite_coord_enable & 0xff) << 8; in nv30_validate_point_coord()
453 if (!nv30->rast) in nv30_state_context_switch()
/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()
642 if (nvc0->rast && nvc0->rast->pipe.rasterizer_discard) { in nvc0_validate_fp_zsa_rast()
680 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/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/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/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()

123