Searched refs:stage (Results 1 - 25 of 258) sorted by relevance

1234567891011

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_pipe_cull.c29 * \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, argument
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
90 cull_first_tri( struct draw_stage *stage, struct prim_header *header ) argument
103 cull_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
H A Ddraw_pipe_unfilled.c29 * \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, argument
65 stage->next->point( stage->next, &tmp );
68 static void line( struct draw_stage *stage, argument
75 stage->next->line( stage
79 points( struct draw_stage *stage, struct prim_header *header ) argument
92 lines( struct draw_stage *stage, struct prim_header *header ) argument
133 unfilled_tri( struct draw_stage *stage, struct prim_header *header ) argument
159 unfilled_first_tri( struct draw_stage *stage, struct prim_header *header ) argument
174 unfilled_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
H A Ddraw_pipe_util.c40 draw_pipe_passthrough_point(struct draw_stage *stage, struct prim_header *header) argument
42 stage->next->point(stage->next, header);
46 draw_pipe_passthrough_line(struct draw_stage *stage, struct prim_header *header) argument
48 stage->next->line(stage->next, header);
52 draw_pipe_passthrough_tri(struct draw_stage *stage, struct prim_header *header) argument
54 stage->next->tri(stage->next, header);
69 boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigne argument
114 struct draw_stage *stage = draw->pipeline.first; local
[all...]
H A Ddraw_pipe_offset.c42 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, argument
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, argument
118 tmp.v[0] = dup_vert(stage, heade
126 offset_first_tri( struct draw_stage *stage, struct prim_header *header ) argument
142 offset_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
H A Ddraw_pipe_flatshade.c42 struct draw_stage stage; member in struct:flat_stage
60 flat_stage(struct draw_stage *stage) argument
62 return (struct flat_stage *) stage;
67 static INLINE void copy_colors( struct draw_stage *stage, argument
71 const struct flat_stage *flat = flat_stage(stage);
87 static INLINE void copy_colors2( struct draw_stage *stage, argument
92 const struct flat_stage *flat = flat_stage(stage);
112 static void flatshade_tri_0( struct draw_stage *stage, argument
121 tmp.v[1] = dup_vert(stage, header->v[1], 0);
122 tmp.v[2] = dup_vert(stage, heade
130 flatshade_tri_2( struct draw_stage *stage, struct prim_header *header ) argument
154 flatshade_line_0( struct draw_stage *stage, struct prim_header *header ) argument
167 flatshade_line_1( struct draw_stage *stage, struct prim_header *header ) argument
214 flatshade_first_tri( struct draw_stage *stage, struct prim_header *header ) argument
221 flatshade_first_line( struct draw_stage *stage, struct prim_header *header ) argument
229 flatshade_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
H A Ddraw_pipe_twoside.c39 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, argument
79 struct twoside_stage *twoside = twoside_stage(stage);
93 stage->next->tri( stage->next, &tmp );
96 stage->next->tri( stage
102 twoside_first_tri( struct draw_stage *stage, struct prim_header *header ) argument
142 twoside_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
H A Ddraw_pipe_stipple.c49 struct draw_stage stage; member in struct:stipple_stage
57 stipple_stage(struct draw_stage *stage) argument
59 return (struct stipple_stage *) stage;
90 emit_segment(struct draw_stage *stage, struct prim_header *header, argument
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
120 stipple_line(struct draw_stage *stage, struct prim_header *header) argument
175 reset_stipple_counter(struct draw_stage *stage) argument
183 stipple_reset_point(struct draw_stage *stage, struct prim_header *header) argument
191 stipple_reset_tri(struct draw_stage *stage, struct prim_header *header) argument
200 stipple_first_line(struct draw_stage *stage, struct prim_header *header) argument
215 stipple_flush(struct draw_stage *stage, unsigned flags) argument
[all...]
H A Ddraw_pipe_wide_point.c66 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, argument
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, heade
193 widepoint_first_point(struct draw_stage *stage, struct prim_header *header) argument
278 widepoint_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
H A Ddraw_pipe_wide_line.c41 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, argument
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, heade
152 wideline_first_line( struct draw_stage *stage, struct prim_header *header ) argument
172 wideline_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_cull.c29 * \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, argument
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
90 cull_first_tri( struct draw_stage *stage, struct prim_header *header ) argument
103 cull_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
H A Ddraw_pipe_unfilled.c29 * \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, argument
65 stage->next->point( stage->next, &tmp );
68 static void line( struct draw_stage *stage, argument
75 stage->next->line( stage
79 points( struct draw_stage *stage, struct prim_header *header ) argument
92 lines( struct draw_stage *stage, struct prim_header *header ) argument
133 unfilled_tri( struct draw_stage *stage, struct prim_header *header ) argument
159 unfilled_first_tri( struct draw_stage *stage, struct prim_header *header ) argument
174 unfilled_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
H A Ddraw_pipe_util.c40 draw_pipe_passthrough_point(struct draw_stage *stage, struct prim_header *header) argument
42 stage->next->point(stage->next, header);
46 draw_pipe_passthrough_line(struct draw_stage *stage, struct prim_header *header) argument
48 stage->next->line(stage->next, header);
52 draw_pipe_passthrough_tri(struct draw_stage *stage, struct prim_header *header) argument
54 stage->next->tri(stage->next, header);
69 boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigne argument
114 struct draw_stage *stage = draw->pipeline.first; local
[all...]
H A Ddraw_pipe_offset.c42 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, argument
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, argument
118 tmp.v[0] = dup_vert(stage, heade
126 offset_first_tri( struct draw_stage *stage, struct prim_header *header ) argument
142 offset_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
H A Ddraw_pipe_flatshade.c42 struct draw_stage stage; member in struct:flat_stage
60 flat_stage(struct draw_stage *stage) argument
62 return (struct flat_stage *) stage;
67 static INLINE void copy_colors( struct draw_stage *stage, argument
71 const struct flat_stage *flat = flat_stage(stage);
87 static INLINE void copy_colors2( struct draw_stage *stage, argument
92 const struct flat_stage *flat = flat_stage(stage);
112 static void flatshade_tri_0( struct draw_stage *stage, argument
121 tmp.v[1] = dup_vert(stage, header->v[1], 0);
122 tmp.v[2] = dup_vert(stage, heade
130 flatshade_tri_2( struct draw_stage *stage, struct prim_header *header ) argument
154 flatshade_line_0( struct draw_stage *stage, struct prim_header *header ) argument
167 flatshade_line_1( struct draw_stage *stage, struct prim_header *header ) argument
214 flatshade_first_tri( struct draw_stage *stage, struct prim_header *header ) argument
221 flatshade_first_line( struct draw_stage *stage, struct prim_header *header ) argument
229 flatshade_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
H A Ddraw_pipe_twoside.c39 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, argument
79 struct twoside_stage *twoside = twoside_stage(stage);
93 stage->next->tri( stage->next, &tmp );
96 stage->next->tri( stage
102 twoside_first_tri( struct draw_stage *stage, struct prim_header *header ) argument
142 twoside_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
H A Ddraw_pipe_stipple.c49 struct draw_stage stage; member in struct:stipple_stage
57 stipple_stage(struct draw_stage *stage) argument
59 return (struct stipple_stage *) stage;
90 emit_segment(struct draw_stage *stage, struct prim_header *header, argument
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
120 stipple_line(struct draw_stage *stage, struct prim_header *header) argument
175 reset_stipple_counter(struct draw_stage *stage) argument
183 stipple_reset_point(struct draw_stage *stage, struct prim_header *header) argument
191 stipple_reset_tri(struct draw_stage *stage, struct prim_header *header) argument
200 stipple_first_line(struct draw_stage *stage, struct prim_header *header) argument
215 stipple_flush(struct draw_stage *stage, unsigned flags) argument
[all...]
H A Ddraw_pipe_wide_point.c66 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, argument
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, heade
193 widepoint_first_point(struct draw_stage *stage, struct prim_header *header) argument
278 widepoint_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
H A Ddraw_pipe_wide_line.c41 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, argument
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, heade
152 wideline_first_line( struct draw_stage *stage, struct prim_header *header ) argument
172 wideline_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_draw.c28 struct draw_stage stage; member in struct:nv50_render_stage
33 nv50_render_stage(struct draw_stage *stage) argument
35 return (struct nv50_render_stage *)stage;
39 nv50_render_point(struct draw_stage *stage, struct prim_header *prim) argument
45 nv50_render_line(struct draw_stage *stage, struct prim_header *prim) argument
51 nv50_render_tri(struct draw_stage *stage, struct prim_header *prim) argument
57 nv50_render_flush(struct draw_stage *stage, unsigned flags) argument
62 nv50_render_reset_stipple_counter(struct draw_stage *stage) argument
68 nv50_render_destroy(struct draw_stage *stage) argument
70 FREE(stage);
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
H A Dnvc0_draw.c28 struct draw_stage stage; member in struct:nvc0_render_stage
33 nvc0_render_stage(struct draw_stage *stage) argument
35 return (struct nvc0_render_stage *)stage;
39 nvc0_render_point(struct draw_stage *stage, struct prim_header *prim) argument
45 nvc0_render_line(struct draw_stage *stage, struct prim_header *prim) argument
51 nvc0_render_tri(struct draw_stage *stage, struct prim_header *prim) argument
57 nvc0_render_flush(struct draw_stage *stage, unsigned flags) argument
62 nvc0_render_reset_stipple_counter(struct draw_stage *stage) argument
68 nvc0_render_destroy(struct draw_stage *stage) argument
70 FREE(stage);
[all...]
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_draw.c28 struct draw_stage stage; member in struct:nv50_render_stage
33 nv50_render_stage(struct draw_stage *stage) argument
35 return (struct nv50_render_stage *)stage;
39 nv50_render_point(struct draw_stage *stage, struct prim_header *prim) argument
45 nv50_render_line(struct draw_stage *stage, struct prim_header *prim) argument
51 nv50_render_tri(struct draw_stage *stage, struct prim_header *prim) argument
57 nv50_render_flush(struct draw_stage *stage, unsigned flags) argument
62 nv50_render_reset_stipple_counter(struct draw_stage *stage) argument
68 nv50_render_destroy(struct draw_stage *stage) argument
70 FREE(stage);
[all...]
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_draw.c28 struct draw_stage stage; member in struct:nvc0_render_stage
33 nvc0_render_stage(struct draw_stage *stage) argument
35 return (struct nvc0_render_stage *)stage;
39 nvc0_render_point(struct draw_stage *stage, struct prim_header *prim) argument
45 nvc0_render_line(struct draw_stage *stage, struct prim_header *prim) argument
51 nvc0_render_tri(struct draw_stage *stage, struct prim_header *prim) argument
57 nvc0_render_flush(struct draw_stage *stage, unsigned flags) argument
62 nvc0_render_reset_stipple_counter(struct draw_stage *stage) argument
68 nvc0_render_destroy(struct draw_stage *stage) argument
70 FREE(stage);
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dgain_dequant.h33 int16_t stage /* (i) The stage of the search */
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_cb_feedback.c65 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 ) argument
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 ) argument
134 struct feedback_stage *fs = feedback_stage(stage);
135 struct draw_context *draw = stage->draw;
149 feedback_point( struct draw_stage *stage, struc argument
159 feedback_flush( struct draw_stage *stage, unsigned flags ) argument
207 select_tri( struct draw_stage *stage, struct prim_header *prim ) argument
216 select_line( struct draw_stage *stage, struct prim_header *prim ) argument
225 select_point( struct draw_stage *stage, struct prim_header *prim ) argument
233 select_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_feedback.c65 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 ) argument
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 ) argument
134 struct feedback_stage *fs = feedback_stage(stage);
135 struct draw_context *draw = stage->draw;
149 feedback_point( struct draw_stage *stage, struc argument
159 feedback_flush( struct draw_stage *stage, unsigned flags ) argument
207 select_tri( struct draw_stage *stage, struct prim_header *prim ) argument
216 select_line( struct draw_stage *stage, struct prim_header *prim ) argument
225 select_point( struct draw_stage *stage, struct prim_header *prim ) argument
233 select_flush( struct draw_stage *stage, unsigned flags ) argument
[all...]

Completed in 1217 milliseconds

1234567891011