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

1 2 3 4 5 6 7 8 9

  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
draw_pipe_cull.c 29 * \brief Drawing stage for polygon culling
42 struct draw_stage stage; member in struct:cull_stage
48 static INLINE struct cull_stage *cull_stage( struct draw_stage *stage )
50 return (struct cull_stage *)stage;
54 static void cull_tri( struct draw_stage *stage,
57 const unsigned pos = draw_current_shader_position_output(stage->draw);
78 unsigned face = ((ccw == cull_stage(stage)->front_ccw) ?
82 if ((face & cull_stage(stage)->cull_face) == 0) {
83 /* triangle is not culled, pass to next stage */
84 stage->next->tri( stage->next, header )
    [all...]
draw_pipe_unfilled.c 29 * \brief Drawing stage for handling glPolygonMode(line/point).
43 struct draw_stage stage; member in struct:unfilled_stage
53 static INLINE struct unfilled_stage *unfilled_stage( struct draw_stage *stage )
55 return (struct unfilled_stage *)stage;
60 static void point( struct draw_stage *stage,
65 stage->next->point( stage->next, &tmp );
68 static void line( struct draw_stage *stage,
75 stage->next->line( stage->next, &tmp )
    [all...]
draw_pipe_util.c 40 draw_pipe_passthrough_point(struct draw_stage *stage, struct prim_header *header)
42 stage->next->point(stage->next, header);
46 draw_pipe_passthrough_line(struct draw_stage *stage, struct prim_header *header)
48 stage->next->line(stage->next, header);
52 draw_pipe_passthrough_tri(struct draw_stage *stage, struct prim_header *header)
54 stage->next->tri(stage->next, header);
69 boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigned nr
114 struct draw_stage *stage = draw->pipeline.first; local
    [all...]
draw_pipe_offset.c 42 struct draw_stage stage; member in struct:offset_stage
51 static INLINE struct offset_stage *offset_stage( struct draw_stage *stage )
53 return (struct offset_stage *) stage;
64 static void do_offset_tri( struct draw_stage *stage,
67 const unsigned pos = draw_current_shader_position_output(stage->draw);
68 struct offset_stage *offset = offset_stage(stage);
106 stage->next->tri( stage->next, header );
110 static void offset_tri( struct draw_stage *stage,
118 tmp.v[0] = dup_vert(stage, header->v[0], 0)
    [all...]
draw_pipe_flatshade.c 42 struct draw_stage stage; member in struct:flat_stage
60 flat_stage(struct draw_stage *stage)
62 return (struct flat_stage *) stage;
67 static INLINE void copy_colors( struct draw_stage *stage,
71 const struct flat_stage *flat = flat_stage(stage);
87 static INLINE void copy_colors2( struct draw_stage *stage,
92 const struct flat_stage *flat = flat_stage(stage);
112 static void flatshade_tri_0( struct draw_stage *stage,
121 tmp.v[1] = dup_vert(stage, header->v[1], 0);
122 tmp.v[2] = dup_vert(stage, header->v[2], 1)
    [all...]
draw_pipe_twoside.c 39 struct draw_stage stage; member in struct:twoside_stage
46 static INLINE struct twoside_stage *twoside_stage( struct draw_stage *stage )
48 return (struct twoside_stage *)stage;
59 struct vertex_header *tmp = dup_vert( &twoside->stage, v, idx );
76 static void twoside_tri( struct draw_stage *stage,
79 struct twoside_stage *twoside = twoside_stage(stage);
93 stage->next->tri( stage->next, &tmp );
96 stage->next->tri( stage->next, header )
    [all...]
draw_pipe_stipple.c 49 struct draw_stage stage; member in struct:stipple_stage
57 stipple_stage(struct draw_stage *stage)
59 return (struct stipple_stage *) stage;
90 emit_segment(struct draw_stage *stage, struct prim_header *header,
93 struct vertex_header *v0new = dup_vert(stage, header->v[0], 0);
94 struct vertex_header *v1new = dup_vert(stage, header->v[1], 1);
98 screen_interp( stage->draw, v0new, t0, header->v[0], header->v[1] );
103 screen_interp( stage->draw, v1new, t1, header->v[0], header->v[1] );
107 stage->next->line( stage->next, &newprim )
    [all...]
draw_pipe_wide_point.c 66 struct draw_stage stage; /**< base class */ member in struct:widepoint_stage
83 widepoint_stage( struct draw_stage *stage )
85 return (struct widepoint_stage *)stage;
97 const struct draw_context *draw = wide->stage.draw;
120 static void widepoint_point( struct draw_stage *stage,
123 const struct widepoint_stage *wide = widepoint_stage(stage);
124 const unsigned pos = draw_current_shader_position_output(stage->draw);
125 const boolean sprite = (boolean) stage->draw->rasterizer->point_quad_rasterization;
132 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0);
133 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1)
    [all...]
draw_pipe_wide_line.c 41 struct draw_stage stage; member in struct:wideline_stage
48 static INLINE struct wideline_stage *wideline_stage( struct draw_stage *stage )
50 return (struct wideline_stage *)stage;
58 static void wideline_line( struct draw_stage *stage,
61 /*const struct wideline_stage *wide = wideline_stage(stage);*/
62 const unsigned pos = draw_current_shader_position_output(stage->draw);
63 const float half_width = 0.5f * stage->draw->rasterizer->line_width;
67 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0);
68 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1);
69 struct vertex_header *v2 = dup_vert(stage, header->v[1], 2)
    [all...]
draw_pipe_vbuf.c 30 * Vertex buffer drawing stage.
50 * Vertex buffer emit stage.
53 struct draw_stage stage; /**< This must be first (base class) */ member in struct:vbuf_stage
89 vbuf_stage( struct draw_stage *stage )
91 assert(stage);
92 return (struct vbuf_stage *)stage;
154 vbuf_tri( struct draw_stage *stage,
157 struct vbuf_stage *vbuf = vbuf_stage( stage );
169 vbuf_line( struct draw_stage *stage,
172 struct vbuf_stage *vbuf = vbuf_stage( stage );
    [all...]
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_pipe_cull.c 29 * \brief Drawing stage for polygon culling
42 struct draw_stage stage; member in struct:cull_stage
48 static INLINE struct cull_stage *cull_stage( struct draw_stage *stage )
50 return (struct cull_stage *)stage;
54 static void cull_tri( struct draw_stage *stage,
57 const unsigned pos = draw_current_shader_position_output(stage->draw);
78 unsigned face = ((ccw == cull_stage(stage)->front_ccw) ?
82 if ((face & cull_stage(stage)->cull_face) == 0) {
83 /* triangle is not culled, pass to next stage */
84 stage->next->tri( stage->next, header )
    [all...]
draw_pipe_unfilled.c 29 * \brief Drawing stage for handling glPolygonMode(line/point).
43 struct draw_stage stage; member in struct:unfilled_stage
53 static INLINE struct unfilled_stage *unfilled_stage( struct draw_stage *stage )
55 return (struct unfilled_stage *)stage;
60 static void point( struct draw_stage *stage,
65 stage->next->point( stage->next, &tmp );
68 static void line( struct draw_stage *stage,
75 stage->next->line( stage->next, &tmp )
    [all...]
draw_pipe_util.c 40 draw_pipe_passthrough_point(struct draw_stage *stage, struct prim_header *header)
42 stage->next->point(stage->next, header);
46 draw_pipe_passthrough_line(struct draw_stage *stage, struct prim_header *header)
48 stage->next->line(stage->next, header);
52 draw_pipe_passthrough_tri(struct draw_stage *stage, struct prim_header *header)
54 stage->next->tri(stage->next, header);
69 boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigned nr
114 struct draw_stage *stage = draw->pipeline.first; local
    [all...]
draw_pipe_offset.c 42 struct draw_stage stage; member in struct:offset_stage
51 static INLINE struct offset_stage *offset_stage( struct draw_stage *stage )
53 return (struct offset_stage *) stage;
64 static void do_offset_tri( struct draw_stage *stage,
67 const unsigned pos = draw_current_shader_position_output(stage->draw);
68 struct offset_stage *offset = offset_stage(stage);
106 stage->next->tri( stage->next, header );
110 static void offset_tri( struct draw_stage *stage,
118 tmp.v[0] = dup_vert(stage, header->v[0], 0)
    [all...]
draw_pipe_flatshade.c 42 struct draw_stage stage; member in struct:flat_stage
60 flat_stage(struct draw_stage *stage)
62 return (struct flat_stage *) stage;
67 static INLINE void copy_colors( struct draw_stage *stage,
71 const struct flat_stage *flat = flat_stage(stage);
87 static INLINE void copy_colors2( struct draw_stage *stage,
92 const struct flat_stage *flat = flat_stage(stage);
112 static void flatshade_tri_0( struct draw_stage *stage,
121 tmp.v[1] = dup_vert(stage, header->v[1], 0);
122 tmp.v[2] = dup_vert(stage, header->v[2], 1)
    [all...]
draw_pipe_twoside.c 39 struct draw_stage stage; member in struct:twoside_stage
46 static INLINE struct twoside_stage *twoside_stage( struct draw_stage *stage )
48 return (struct twoside_stage *)stage;
59 struct vertex_header *tmp = dup_vert( &twoside->stage, v, idx );
76 static void twoside_tri( struct draw_stage *stage,
79 struct twoside_stage *twoside = twoside_stage(stage);
93 stage->next->tri( stage->next, &tmp );
96 stage->next->tri( stage->next, header )
    [all...]
draw_pipe_stipple.c 49 struct draw_stage stage; member in struct:stipple_stage
57 stipple_stage(struct draw_stage *stage)
59 return (struct stipple_stage *) stage;
90 emit_segment(struct draw_stage *stage, struct prim_header *header,
93 struct vertex_header *v0new = dup_vert(stage, header->v[0], 0);
94 struct vertex_header *v1new = dup_vert(stage, header->v[1], 1);
98 screen_interp( stage->draw, v0new, t0, header->v[0], header->v[1] );
103 screen_interp( stage->draw, v1new, t1, header->v[0], header->v[1] );
107 stage->next->line( stage->next, &newprim )
    [all...]
draw_pipe_wide_point.c 66 struct draw_stage stage; /**< base class */ member in struct:widepoint_stage
83 widepoint_stage( struct draw_stage *stage )
85 return (struct widepoint_stage *)stage;
97 const struct draw_context *draw = wide->stage.draw;
120 static void widepoint_point( struct draw_stage *stage,
123 const struct widepoint_stage *wide = widepoint_stage(stage);
124 const unsigned pos = draw_current_shader_position_output(stage->draw);
125 const boolean sprite = (boolean) stage->draw->rasterizer->point_quad_rasterization;
132 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0);
133 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1)
    [all...]
draw_pipe_wide_line.c 41 struct draw_stage stage; member in struct:wideline_stage
48 static INLINE struct wideline_stage *wideline_stage( struct draw_stage *stage )
50 return (struct wideline_stage *)stage;
58 static void wideline_line( struct draw_stage *stage,
61 /*const struct wideline_stage *wide = wideline_stage(stage);*/
62 const unsigned pos = draw_current_shader_position_output(stage->draw);
63 const float half_width = 0.5f * stage->draw->rasterizer->line_width;
67 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0);
68 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1);
69 struct vertex_header *v2 = dup_vert(stage, header->v[1], 2)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
nv50_draw.c 28 struct draw_stage stage; member in struct:nv50_render_stage
33 nv50_render_stage(struct draw_stage *stage)
35 return (struct nv50_render_stage *)stage;
39 nv50_render_point(struct draw_stage *stage, struct prim_header *prim)
45 nv50_render_line(struct draw_stage *stage, struct prim_header *prim)
51 nv50_render_tri(struct draw_stage *stage, struct prim_header *prim)
57 nv50_render_flush(struct draw_stage *stage, unsigned flags)
62 nv50_render_reset_stipple_counter(struct draw_stage *stage)
68 nv50_render_destroy(struct draw_stage *stage)
70 FREE(stage);
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
nvc0_draw.c 28 struct draw_stage stage; member in struct:nvc0_render_stage
33 nvc0_render_stage(struct draw_stage *stage)
35 return (struct nvc0_render_stage *)stage;
39 nvc0_render_point(struct draw_stage *stage, struct prim_header *prim)
45 nvc0_render_line(struct draw_stage *stage, struct prim_header *prim)
51 nvc0_render_tri(struct draw_stage *stage, struct prim_header *prim)
57 nvc0_render_flush(struct draw_stage *stage, unsigned flags)
62 nvc0_render_reset_stipple_counter(struct draw_stage *stage)
68 nvc0_render_destroy(struct draw_stage *stage)
70 FREE(stage);
    [all...]
  /external/mesa3d/src/gallium/drivers/nv50/
nv50_draw.c 28 struct draw_stage stage; member in struct:nv50_render_stage
33 nv50_render_stage(struct draw_stage *stage)
35 return (struct nv50_render_stage *)stage;
39 nv50_render_point(struct draw_stage *stage, struct prim_header *prim)
45 nv50_render_line(struct draw_stage *stage, struct prim_header *prim)
51 nv50_render_tri(struct draw_stage *stage, struct prim_header *prim)
57 nv50_render_flush(struct draw_stage *stage, unsigned flags)
62 nv50_render_reset_stipple_counter(struct draw_stage *stage)
68 nv50_render_destroy(struct draw_stage *stage)
70 FREE(stage);
    [all...]
  /external/mesa3d/src/gallium/drivers/nvc0/
nvc0_draw.c 28 struct draw_stage stage; member in struct:nvc0_render_stage
33 nvc0_render_stage(struct draw_stage *stage)
35 return (struct nvc0_render_stage *)stage;
39 nvc0_render_point(struct draw_stage *stage, struct prim_header *prim)
45 nvc0_render_line(struct draw_stage *stage, struct prim_header *prim)
51 nvc0_render_tri(struct draw_stage *stage, struct prim_header *prim)
57 nvc0_render_flush(struct draw_stage *stage, unsigned flags)
62 nvc0_render_reset_stipple_counter(struct draw_stage *stage)
68 nvc0_render_destroy(struct draw_stage *stage)
70 FREE(stage);
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
st_cb_feedback.c 65 struct draw_stage stage; /**< Base class */ member in struct:feedback_stage
76 feedback_stage( struct draw_stage *stage )
78 return (struct feedback_stage *)stage;
119 feedback_tri( struct draw_stage *stage, struct prim_header *prim )
121 struct feedback_stage *fs = feedback_stage(stage);
122 struct draw_context *draw = stage->draw;
132 feedback_line( struct draw_stage *stage, struct prim_header *prim )
134 struct feedback_stage *fs = feedback_stage(stage);
135 struct draw_context *draw = stage->draw;
149 feedback_point( struct draw_stage *stage, struct prim_header *prim
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_cb_feedback.c 65 struct draw_stage stage; /**< Base class */ member in struct:feedback_stage
76 feedback_stage( struct draw_stage *stage )
78 return (struct feedback_stage *)stage;
119 feedback_tri( struct draw_stage *stage, struct prim_header *prim )
121 struct feedback_stage *fs = feedback_stage(stage);
122 struct draw_context *draw = stage->draw;
132 feedback_line( struct draw_stage *stage, struct prim_header *prim )
134 struct feedback_stage *fs = feedback_stage(stage);
135 struct draw_context *draw = stage->draw;
149 feedback_point( struct draw_stage *stage, struct prim_header *prim
    [all...]

Completed in 259 milliseconds

1 2 3 4 5 6 7 8 9