HomeSort by relevance Sort by last modified time
    Searched refs:rast (Results 1 - 25 of 40) sorted by null

1 2

  /external/mesa3d/src/gallium/drivers/svga/
svga_pipe_rasterizer.c 68 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->pointsize = templ->point_size
    [all...]
svga_state_need_swtnl.c 124 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;
svga_pipe_draw.c 234 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 );
svga_state_rss.c 124 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;
svga_state_fs.c 181 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
svga_swtnl_state.c 64 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;
svga_swtnl_backend.c 216 svga->curr.rast->templ.flatshade,
217 svga->curr.rast->templ.flatshade_first );
220 svga->curr.rast->hw_unfilled );
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_state_rasterizer.c 45 clear_flags(struct pipe_rasterizer_state *rast)
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->fill_back != PIPE_POLYGON_MODE_FILL |
    [all...]
lp_rast.c 60 lp_rast_begin( struct lp_rasterizer *rast,
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,
749 if (rast->num_threads == 0) {
752 lp_rast_begin( rast, scene );
754 rasterize_scene( &rast->tasks[0], scene )
803 struct lp_rasterizer *rast = task->rast; local
883 struct lp_rasterizer *rast; local
    [all...]
lp_screen.h 58 struct lp_rasterizer *rast; member in struct:llvmpipe_screen
lp_screen.c 59 { "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) {
lp_rast.h 29 * 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/
sp_state_rasterizer.c 38 const struct pipe_rasterizer_state *rast)
40 return mem_dup(rast, sizeof(*rast));
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_pipe_validate.c 165 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->line_stipple_enable && draw->pipeline.line_stipple)
    [all...]
draw_pipe_wide_point.c 98 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->point_quad_rasterization)
    [all...]
draw_pipe_unfilled.c 163 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;
draw_context.c 710 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);
draw_pipe_wide_line.c 157 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/
nv30_state_validate.c 233 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->pipe.sprite_coord_enable & 0xff) << 8
    [all...]
nv30_vertprog.c 71 if (nv30->rast && nv30->rast->pipe.clip_plane_enable != vp->enabled_ucps) {
72 vp->enabled_ucps = nv30->rast->pipe.clip_plane_enable;
nv30_draw.c 270 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/
vl_compositor.c 397 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.line_width = 1
    [all...]
vl_compositor.h 99 void *rast; member in struct:vl_compositor
  /external/mesa3d/src/gallium/drivers/nv50/
nv50_shader_state.c 223 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->pipe.light_twoside)
    [all...]
nv50_state_validate.c 147 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 3294 milliseconds

1 2