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

12

/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_rasterizer.c68 struct svga_rasterizer_state *rast = CALLOC_STRUCT( svga_rasterizer_state ); local
71 rast->templ = *templ;
85 rast->shademode = svga_translate_flatshade( templ->flatshade );
86 rast->cullmode = svga_translate_cullmode( templ->cull_face,
88 rast->scissortestenable = templ->scissor;
89 rast->multisampleantialias = templ->multisample;
90 rast->antialiasedlineenable = templ->line_smooth;
91 rast->lastpixel = templ->line_last_pixel;
92 rast->pointsprite = templ->sprite_coord_enable != 0x0;
93 rast
[all...]
H A Dsvga_state_need_swtnl.c124 if (svga->curr.rast->need_pipeline & (1 << svga->curr.reduced_prim)) {
125 SVGA_DBG(DEBUG_SWTNL, "%s: rast need_pipeline (0x%x) & prim (0x%x)\n",
127 svga->curr.rast->need_pipeline,
129 SVGA_DBG(DEBUG_SWTNL, "%s: rast need_pipeline tris (%s), lines (%s), points (%s)\n",
131 svga->curr.rast->need_pipeline_tris_str,
132 svga->curr.rast->need_pipeline_lines_str,
133 svga->curr.rast->need_pipeline_points_str);
147 unsigned sprite_coord_gen = svga->curr.rast->templ.sprite_coord_enable;
H A Dsvga_pipe_draw.c234 svga->curr.rast->hw_unfilled );
237 svga->curr.rast->templ.flatshade,
238 svga->curr.rast->templ.flatshade_first );
285 svga->curr.rast->hw_unfilled );
288 svga->curr.rast->templ.flatshade,
289 svga->curr.rast->templ.flatshade_first );
H A Dsvga_state_rss.c124 const struct svga_rasterizer_state *rast = svga->curr.rast; local
156 if (rast->templ.front_ccw) {
203 const struct svga_rasterizer_state *curr = svga->curr.rast;
233 const struct svga_rasterizer_state *curr = svga->curr.rast;
264 unsigned enabled = svga->curr.rast->templ.clip_plane_enable;
H A Dsvga_state_fs.c181 key->light_twoside = svga->curr.rast->templ.light_twoside;
182 key->front_ccw = svga->curr.rast->templ.front_ccw;
238 svga->curr.rast->templ.sprite_coord_enable & (1 << i);
241 key->sprite_origin_lower_left = (svga->curr.rast->templ.sprite_coord_mode
H A Dsvga_swtnl_state.c64 if (svga->curr.rast->need_pipeline & SVGA_PIPELINE_FLAG_LINES)
121 &svga->curr.rast->templ,
122 (void *) svga->curr.rast);
155 svga->curr.rast->templ.flatshade ? INTERP_CONSTANT : INTERP_LINEAR;
H A Dsvga_swtnl_backend.c216 svga->curr.rast->templ.flatshade,
217 svga->curr.rast->templ.flatshade_first );
220 svga->curr.rast->hw_unfilled );
/external/mesa3d/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;
55 const struct pipe_rasterizer_state *rast)
66 memcpy(&state->draw_state, rast, sizeof *rast);
67 memcpy(&state->lp_state, rast, sizeof *rast);
75 need_pipeline = (rast->fill_front != PIPE_POLYGON_MODE_FILL ||
76 rast
54 llvmpipe_create_rasterizer_state(struct pipe_context *pipe, const struct pipe_rasterizer_state *rast) argument
[all...]
H A Dlp_rast.c60 lp_rast_begin( struct lp_rasterizer *rast, argument
64 rast->curr_scene = scene;
74 lp_rast_end( struct lp_rasterizer *rast )
76 lp_scene_end_rasterization( rast->curr_scene );
78 rast->curr_scene = NULL;
706 if (!task->rast->no_rast) {
744 lp_rast_queue_scene( struct lp_rasterizer *rast, argument
749 if (rast->num_threads == 0) {
752 lp_rast_begin( rast, scene );
754 rasterize_scene( &rast
803 struct lp_rasterizer *rast = task->rast; local
860 create_rast_threads(struct lp_rasterizer *rast) argument
883 struct lp_rasterizer *rast; local
[all...]
H A Dlp_screen.h58 struct lp_rasterizer *rast; member in struct:llvmpipe_screen
H A Dlp_screen.c59 { "rast", DEBUG_RAST, NULL },
381 if (screen->rast)
382 lp_rast_destroy(screen->rast);
494 screen->rast = lp_rast_create(screen->num_threads);
495 if (!screen->rast) {
H A Dlp_rast.h29 * The rast code is concerned with rasterization of command bins.
141 lp_rast_queue_scene( struct lp_rasterizer *rast,
145 lp_rast_finish( struct lp_rasterizer *rast );
/external/mesa3d/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
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_validate.c165 const struct pipe_rasterizer_state *rast = draw->rasterizer; local
173 wide_lines = (roundf(rast->line_width) > draw->pipeline.wide_line_threshold
174 && !rast->line_smooth);
177 if (rast->sprite_coord_enable && draw->pipeline.point_sprite)
179 else if (rast->point_smooth && draw->pipeline.aapoint)
181 else if (rast->point_size > draw->pipeline.wide_point_threshold)
183 else if (rast->point_quad_rasterization && draw->pipeline.wide_point_sprites)
195 if (rast->line_smooth && draw->pipeline.aaline) {
201 if (rast->point_smooth && draw->pipeline.aapoint) {
217 if (rast
[all...]
H A Ddraw_pipe_wide_point.c98 const struct pipe_rasterizer_state *rast = draw->rasterizer; local
99 const uint texcoord_mode = rast->sprite_coord_mode;
199 const struct pipe_rasterizer_state *rast = draw->rasterizer; local
202 wide->half_point_size = 0.5f * rast->point_size;
206 if (rast->gl_rasterization_rules) {
212 r = draw_get_rasterizer_no_cull(draw, rast->scissor, rast->flatshade);
218 if ((rast->point_size > draw->pipeline.wide_point_threshold) ||
219 (rast->point_quad_rasterization && draw->pipeline.point_sprite)) {
228 if (rast
[all...]
H A Ddraw_pipe_unfilled.c163 const struct pipe_rasterizer_state *rast = stage->draw->rasterizer; local
165 unfilled->mode[0] = rast->front_ccw ? rast->fill_front : rast->fill_back;
166 unfilled->mode[1] = rast->front_ccw ? rast->fill_back : rast->fill_front;
H A Ddraw_context.c710 struct pipe_rasterizer_state rast; local
712 memset(&rast, 0, sizeof(rast));
713 rast.scissor = scissor;
714 rast.flatshade = flatshade;
715 rast.front_ccw = 1;
716 rast.gl_rasterization_rules = draw->rasterizer->gl_rasterization_rules;
719 pipe->create_rasterizer_state(pipe, &rast);
H A Ddraw_pipe_wide_line.c157 const struct pipe_rasterizer_state *rast = draw->rasterizer; local
161 r = draw_get_rasterizer_no_cull(draw, rast->scissor, rast->flatshade);
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_state_validate.c233 nv30->rast->pipe.scissor != nv30->state.scissor_off)
235 nv30->state.scissor_off = !nv30->rast->pipe.scissor;
238 if (nv30->rast->pipe.scissor) {
275 if (nv30->rast->pipe.clip_plane_enable & (1 << i)) {
313 PUSH_SPACE(push, nv30->rast->size);
314 PUSH_DATAp(push, nv30->rast->data, nv30->rast->size);
320 struct pipe_rasterizer_state *rasterizer = &nv30->rast->pipe;
351 struct pipe_rasterizer_state *rasterizer = &nv30->rast->pipe;
357 hw |= (nv30->rast
[all...]
H A Dnv30_vertprog.c71 if (nv30->rast && nv30->rast->pipe.clip_plane_enable != vp->enabled_ucps) {
72 vp->enabled_ucps = nv30->rast->pipe.clip_plane_enable;
H A Dnv30_draw.c270 struct nv30_rasterizer_stateobj *rast = nv30->rast; local
309 if (rast && rast->pipe.point_quad_rasterization)
310 pntc = rast->pipe.sprite_coord_enable & 0x000002ff;
378 draw_set_rasterizer_state(draw, &nv30->rast->pipe, NULL);
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_compositor.c397 struct pipe_rasterizer_state rast; local
443 memset(&rast, 0, sizeof rast);
444 rast.flatshade = 0;
445 rast.front_ccw = 1;
446 rast.cull_face = PIPE_FACE_NONE;
447 rast.fill_back = PIPE_POLYGON_MODE_FILL;
448 rast.fill_front = PIPE_POLYGON_MODE_FILL;
449 rast.scissor = 1;
450 rast
[all...]
H A Dvl_compositor.h99 void *rast; member in struct:vl_compositor
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_shader_state.c223 if (!nv50->rast->pipe.point_quad_rasterization) {
245 if (!(nv50->rast->pipe.sprite_coord_enable & (1 << fp->in[i].si))) {
258 if (nv50->rast->pipe.sprite_coord_mode == PIPE_SPRITE_COORD_LOWER_LEFT)
279 if (nv50->state.rasterizer_discard != nv50->rast->pipe.rasterizer_discard) {
280 nv50->state.rasterizer_discard = nv50->rast->pipe.rasterizer_discard;
282 PUSH_DATA (push, !nv50->rast->pipe.rasterizer_discard);
290 if (nv50->rast->pipe.clamp_vertex_color)
299 if (nv50->rast->pipe.point_size_per_vertex)
359 if (nv50->rast->pipe.light_twoside == ((ffc == bfc) ? 0 : 1))
382 if (nv50->rast
[all...]
H A Dnv50_state_validate.c147 nv50->state.scissor == nv50->rast->pipe.scissor)
149 nv50->state.scissor = nv50->rast->pipe.scissor;
242 clip_enable = nv50->rast->pipe.clip_plane_enable;
274 PUSH_SPACE(push, nv50->rast->size);
275 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size);
318 if (!ctx_to->rast)

Completed in 3933 milliseconds

12