Lines Matching refs:pipeline

58  * pipeline stages, or whether prims/verts can go through untouched.
60 * about the primitive pipeline stages.
80 * and triggering the pipeline, because we have to trigger the
81 * pipeline *anyway* if unfilled mode is active.
86 if (rasterizer->line_stipple_enable && draw->pipeline.line_stipple)
90 if (roundf(rasterizer->line_width) > draw->pipeline.wide_line_threshold)
94 if (rasterizer->line_smooth && draw->pipeline.aaline)
101 if (rasterizer->point_size > draw->pipeline.wide_point_threshold)
106 && draw->pipeline.wide_point_sprites)
110 if (rasterizer->point_smooth && draw->pipeline.aapoint)
114 if (rasterizer->sprite_coord_enable && draw->pipeline.point_sprite)
122 if (rasterizer->poly_stipple_enable && draw->pipeline.pstipple)
144 * Generally this isn't a reason to require the pipeline, though.
156 * Rebuild the rendering pipeline.
161 struct draw_stage *next = draw->pipeline.rasterize;
173 wide_lines = (roundf(rast->line_width) > draw->pipeline.wide_line_threshold
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)
189 * NOTE: we build up the pipeline in end-to-start order.
195 if (rast->line_smooth && draw->pipeline.aaline) {
196 draw->pipeline.aaline->next = next;
197 next = draw->pipeline.aaline;
201 if (rast->point_smooth && draw->pipeline.aapoint) {
202 draw->pipeline.aapoint->next = next;
203 next = draw->pipeline.aapoint;
207 draw->pipeline.wide_line->next = next;
208 next = draw->pipeline.wide_line;
213 draw->pipeline.wide_point->next = next;
214 next = draw->pipeline.wide_point;
217 if (rast->line_stipple_enable && draw->pipeline.line_stipple) {
218 draw->pipeline.stipple->next = next;
219 next = draw->pipeline.stipple;
224 && draw->pipeline.pstipple) {
225 draw->pipeline.pstipple->next = next;
226 next = draw->pipeline.pstipple;
231 draw->pipeline.unfilled->next = next;
232 next = draw->pipeline.unfilled;
238 draw->pipeline.flatshade->next = next;
239 next = draw->pipeline.flatshade;
245 draw->pipeline.offset->next = next;
246 next = draw->pipeline.offset;
251 draw->pipeline.twoside->next = next;
252 next = draw->pipeline.twoside;
264 draw->pipeline.cull->next = next;
265 next = draw->pipeline.cull;
272 draw->pipeline.clip->next = next;
273 next = draw->pipeline.clip;
277 draw->pipeline.first = next;
280 debug_printf("draw pipeline:\n");
281 for (next = draw->pipeline.first; next ; next = next->next )
286 return draw->pipeline.first;
292 struct draw_stage *pipeline = validate_pipeline( stage );
293 pipeline->tri( pipeline, header );
299 struct draw_stage *pipeline = validate_pipeline( stage );
300 pipeline->line( pipeline, header );
306 struct draw_stage *pipeline = validate_pipeline( stage );
307 pipeline->point( pipeline, header );
312 struct draw_stage *pipeline = validate_pipeline( stage );
313 pipeline->reset_stipple_counter( pipeline );
333 * Create validate pipeline stage.