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

1234

/external/chromium_org/third_party/mesa/src/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;
/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;
/external/chromium_org/third_party/mesa/src/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) {
/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
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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;
/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;
/external/chromium_org/third_party/mesa/src/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...]
/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...]

Completed in 405 milliseconds

1234