Home
last modified time | relevance | path

Searched refs:rasterizer (Results 1 – 25 of 205) sorted by relevance

123456789

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
Dsp_state_rasterizer.c46 void *rasterizer) in softpipe_bind_rasterizer_state() argument
50 if (softpipe->rasterizer == rasterizer) in softpipe_bind_rasterizer_state()
54 draw_set_rasterizer_state(softpipe->draw, rasterizer, rasterizer); in softpipe_bind_rasterizer_state()
56 softpipe->rasterizer = rasterizer; in softpipe_bind_rasterizer_state()
64 void *rasterizer) in softpipe_delete_rasterizer_state() argument
66 FREE( rasterizer ); in softpipe_delete_rasterizer_state()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_rasterizer.c46 void *rasterizer) in softpipe_bind_rasterizer_state() argument
50 if (softpipe->rasterizer == rasterizer) in softpipe_bind_rasterizer_state()
54 draw_set_rasterizer_state(softpipe->draw, rasterizer, rasterizer); in softpipe_bind_rasterizer_state()
56 softpipe->rasterizer = rasterizer; in softpipe_bind_rasterizer_state()
64 void *rasterizer) in softpipe_delete_rasterizer_state() argument
66 FREE( rasterizer ); in softpipe_delete_rasterizer_state()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_validate.c66 const struct pipe_rasterizer_state *rasterizer, in draw_need_pipeline() argument
75 rasterizer, in draw_need_pipeline()
86 if (rasterizer->line_stipple_enable && draw->pipeline.line_stipple) in draw_need_pipeline()
90 if (roundf(rasterizer->line_width) > draw->pipeline.wide_line_threshold) in draw_need_pipeline()
94 if (rasterizer->line_smooth && draw->pipeline.aaline) in draw_need_pipeline()
101 if (rasterizer->point_size > draw->pipeline.wide_point_threshold) in draw_need_pipeline()
105 if (rasterizer->point_quad_rasterization in draw_need_pipeline()
110 if (rasterizer->point_smooth && draw->pipeline.aapoint) in draw_need_pipeline()
114 if (rasterizer->sprite_coord_enable && draw->pipeline.point_sprite) in draw_need_pipeline()
122 if (rasterizer->poly_stipple_enable && draw->pipeline.pstipple) in draw_need_pipeline()
[all …]
Ddraw_pt_decompose.h6 !(draw->rasterizer->flatshade && \
7 draw->rasterizer->flatshade_first);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_pipe_validate.c66 const struct pipe_rasterizer_state *rasterizer, in draw_need_pipeline() argument
75 rasterizer, in draw_need_pipeline()
86 if (rasterizer->line_stipple_enable && draw->pipeline.line_stipple) in draw_need_pipeline()
90 if (roundf(rasterizer->line_width) > draw->pipeline.wide_line_threshold) in draw_need_pipeline()
94 if (rasterizer->line_smooth && draw->pipeline.aaline) in draw_need_pipeline()
101 if (rasterizer->point_size > draw->pipeline.wide_point_threshold) in draw_need_pipeline()
105 if (rasterizer->point_quad_rasterization in draw_need_pipeline()
110 if (rasterizer->point_smooth && draw->pipeline.aapoint) in draw_need_pipeline()
114 if (rasterizer->sprite_coord_enable && draw->pipeline.point_sprite) in draw_need_pipeline()
122 if (rasterizer->poly_stipple_enable && draw->pipeline.pstipple) in draw_need_pipeline()
[all …]
Ddraw_pt_decompose.h6 !(draw->rasterizer->flatshade && \
7 draw->rasterizer->flatshade_first);
/external/mesa3d/src/gallium/tests/graw/
Dtri.c123 struct pipe_rasterizer_state rasterizer; in init() local
125 memset(&rasterizer, 0, sizeof rasterizer); in init()
126 rasterizer.cull_face = PIPE_FACE_NONE; in init()
127 rasterizer.gl_rasterization_rules = 1; in init()
128 rasterizer.flatshade = FlatShade; in init()
129 rasterizer.depth_clip = 1; in init()
130 handle = info.ctx->create_rasterizer_state(info.ctx, &rasterizer); in init()
Dquad-tex.c186 struct pipe_rasterizer_state rasterizer; in init() local
188 memset(&rasterizer, 0, sizeof rasterizer); in init()
189 rasterizer.cull_face = PIPE_FACE_NONE; in init()
190 rasterizer.gl_rasterization_rules = 1; in init()
191 rasterizer.depth_clip = 1; in init()
192 handle = info.ctx->create_rasterizer_state(info.ctx, &rasterizer); in init()
Dtri-gs.c254 struct pipe_rasterizer_state rasterizer; in init() local
256 memset(&rasterizer, 0, sizeof rasterizer); in init()
257 rasterizer.cull_face = PIPE_FACE_NONE; in init()
258 rasterizer.gl_rasterization_rules = 1; in init()
259 rasterizer.depth_clip = 1; in init()
260 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
Dshader-leak.c249 struct pipe_rasterizer_state rasterizer; in init() local
251 memset(&rasterizer, 0, sizeof rasterizer); in init()
252 rasterizer.cull_face = PIPE_FACE_NONE; in init()
253 rasterizer.gl_rasterization_rules = 1; in init()
254 rasterizer.depth_clip = 1; in init()
255 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
Dtri-instanced.c305 struct pipe_rasterizer_state rasterizer; in init() local
307 memset(&rasterizer, 0, sizeof rasterizer); in init()
308 rasterizer.cull_face = PIPE_FACE_NONE; in init()
309 rasterizer.gl_rasterization_rules = 1; in init()
310 rasterizer.depth_clip = 1; in init()
311 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
Dquad-sample.c376 struct pipe_rasterizer_state rasterizer; in init() local
378 memset(&rasterizer, 0, sizeof rasterizer); in init()
379 rasterizer.cull_face = PIPE_FACE_NONE; in init()
380 rasterizer.gl_rasterization_rules = 1; in init()
381 rasterizer.depth_clip = 1; in init()
382 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
Dtri.c123 struct pipe_rasterizer_state rasterizer; in init() local
125 memset(&rasterizer, 0, sizeof rasterizer); in init()
126 rasterizer.cull_face = PIPE_FACE_NONE; in init()
127 rasterizer.gl_rasterization_rules = 1; in init()
128 rasterizer.flatshade = FlatShade; in init()
129 rasterizer.depth_clip = 1; in init()
130 handle = info.ctx->create_rasterizer_state(info.ctx, &rasterizer); in init()
Dquad-tex.c186 struct pipe_rasterizer_state rasterizer; in init() local
188 memset(&rasterizer, 0, sizeof rasterizer); in init()
189 rasterizer.cull_face = PIPE_FACE_NONE; in init()
190 rasterizer.gl_rasterization_rules = 1; in init()
191 rasterizer.depth_clip = 1; in init()
192 handle = info.ctx->create_rasterizer_state(info.ctx, &rasterizer); in init()
Dtri-gs.c254 struct pipe_rasterizer_state rasterizer; in init() local
256 memset(&rasterizer, 0, sizeof rasterizer); in init()
257 rasterizer.cull_face = PIPE_FACE_NONE; in init()
258 rasterizer.gl_rasterization_rules = 1; in init()
259 rasterizer.depth_clip = 1; in init()
260 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
Dshader-leak.c249 struct pipe_rasterizer_state rasterizer; in init() local
251 memset(&rasterizer, 0, sizeof rasterizer); in init()
252 rasterizer.cull_face = PIPE_FACE_NONE; in init()
253 rasterizer.gl_rasterization_rules = 1; in init()
254 rasterizer.depth_clip = 1; in init()
255 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
Dtri-instanced.c305 struct pipe_rasterizer_state rasterizer; in init() local
307 memset(&rasterizer, 0, sizeof rasterizer); in init()
308 rasterizer.cull_face = PIPE_FACE_NONE; in init()
309 rasterizer.gl_rasterization_rules = 1; in init()
310 rasterizer.depth_clip = 1; in init()
311 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
Dquad-sample.c376 struct pipe_rasterizer_state rasterizer; in init() local
378 memset(&rasterizer, 0, sizeof rasterizer); in init()
379 rasterizer.cull_face = PIPE_FACE_NONE; in init()
380 rasterizer.gl_rasterization_rules = 1; in init()
381 rasterizer.depth_clip = 1; in init()
382 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_state_rasterizer.c105 llvmpipe->rasterizer = &state->lp_state; in llvmpipe_bind_rasterizer_state()
126 llvmpipe->rasterizer = NULL; in llvmpipe_bind_rasterizer_state()
136 void *rasterizer) in llvmpipe_delete_rasterizer_state() argument
138 FREE( rasterizer ); in llvmpipe_delete_rasterizer_state()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_rasterizer.c105 llvmpipe->rasterizer = &state->lp_state; in llvmpipe_bind_rasterizer_state()
126 llvmpipe->rasterizer = NULL; in llvmpipe_bind_rasterizer_state()
136 void *rasterizer) in llvmpipe_delete_rasterizer_state() argument
138 FREE( rasterizer ); in llvmpipe_delete_rasterizer_state()
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/
Dtri.c70 struct pipe_rasterizer_state rasterizer; member
153 memset(&p->rasterizer, 0, sizeof(p->rasterizer)); in init_prog()
154 p->rasterizer.cull_face = PIPE_FACE_NONE; in init_prog()
155 p->rasterizer.gl_rasterization_rules = 1; in init_prog()
156 p->rasterizer.depth_clip = 1; in init_prog()
254 cso_set_rasterizer(p->cso, &p->rasterizer); in draw()
/external/mesa3d/src/gallium/tests/trivial/
Dtri.c70 struct pipe_rasterizer_state rasterizer; member
153 memset(&p->rasterizer, 0, sizeof(p->rasterizer)); in init_prog()
154 p->rasterizer.cull_face = PIPE_FACE_NONE; in init_prog()
155 p->rasterizer.gl_rasterization_rules = 1; in init_prog()
156 p->rasterizer.depth_clip = 1; in init_prog()
254 cso_set_rasterizer(p->cso, &p->rasterizer); in draw()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
Di915_state.c884 const struct pipe_rasterizer_state *rasterizer) in i915_create_rasterizer_state() argument
888 cso->templ = *rasterizer; in i915_create_rasterizer_state()
889 cso->color_interp = rasterizer->flatshade ? INTERP_CONSTANT : INTERP_LINEAR; in i915_create_rasterizer_state()
890 cso->light_twoside = rasterizer->light_twoside; in i915_create_rasterizer_state()
892 cso->ds[1].f = rasterizer->offset_scale; in i915_create_rasterizer_state()
893 if (rasterizer->poly_stipple_enable) { in i915_create_rasterizer_state()
897 if (rasterizer->scissor) in i915_create_rasterizer_state()
902 switch (rasterizer->cull_face) { in i915_create_rasterizer_state()
907 if (rasterizer->front_ccw) in i915_create_rasterizer_state()
913 if (rasterizer->front_ccw) in i915_create_rasterizer_state()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c884 const struct pipe_rasterizer_state *rasterizer) in i915_create_rasterizer_state() argument
888 cso->templ = *rasterizer; in i915_create_rasterizer_state()
889 cso->color_interp = rasterizer->flatshade ? INTERP_CONSTANT : INTERP_LINEAR; in i915_create_rasterizer_state()
890 cso->light_twoside = rasterizer->light_twoside; in i915_create_rasterizer_state()
892 cso->ds[1].f = rasterizer->offset_scale; in i915_create_rasterizer_state()
893 if (rasterizer->poly_stipple_enable) { in i915_create_rasterizer_state()
897 if (rasterizer->scissor) in i915_create_rasterizer_state()
902 switch (rasterizer->cull_face) { in i915_create_rasterizer_state()
907 if (rasterizer->front_ccw) in i915_create_rasterizer_state()
913 if (rasterizer->front_ccw) in i915_create_rasterizer_state()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/swrast_setup/
DNOTES3 A helper module which provides glue to bind the software rasterizer to
7 rasterizer.
12 There are strong advantages to decoupling the software rasterizer from
15 rasterizer in the t&l module, allowing the two modules to evolve
20 twoside-lit triangles. The software rasterizer doesn't handle these

123456789