Lines Matching refs:pipeline
43 draw->pipeline.wide_line = draw_wide_line_stage( draw ); in draw_pipeline_init()
44 draw->pipeline.wide_point = draw_wide_point_stage( draw ); in draw_pipeline_init()
45 draw->pipeline.stipple = draw_stipple_stage( draw ); in draw_pipeline_init()
46 draw->pipeline.unfilled = draw_unfilled_stage( draw ); in draw_pipeline_init()
47 draw->pipeline.twoside = draw_twoside_stage( draw ); in draw_pipeline_init()
48 draw->pipeline.offset = draw_offset_stage( draw ); in draw_pipeline_init()
49 draw->pipeline.clip = draw_clip_stage( draw ); in draw_pipeline_init()
50 draw->pipeline.flatshade = draw_flatshade_stage( draw ); in draw_pipeline_init()
51 draw->pipeline.cull = draw_cull_stage( draw ); in draw_pipeline_init()
52 draw->pipeline.validate = draw_validate_stage( draw ); in draw_pipeline_init()
53 draw->pipeline.first = draw->pipeline.validate; in draw_pipeline_init()
55 if (!draw->pipeline.wide_line || in draw_pipeline_init()
56 !draw->pipeline.wide_point || in draw_pipeline_init()
57 !draw->pipeline.stipple || in draw_pipeline_init()
58 !draw->pipeline.unfilled || in draw_pipeline_init()
59 !draw->pipeline.twoside || in draw_pipeline_init()
60 !draw->pipeline.offset || in draw_pipeline_init()
61 !draw->pipeline.clip || in draw_pipeline_init()
62 !draw->pipeline.flatshade || in draw_pipeline_init()
63 !draw->pipeline.cull || in draw_pipeline_init()
64 !draw->pipeline.validate) in draw_pipeline_init()
68 draw->pipeline.wide_point_threshold = 1000000.0f; /* infinity */ in draw_pipeline_init()
69 draw->pipeline.wide_line_threshold = 1.0f; in draw_pipeline_init()
70 draw->pipeline.wide_point_sprites = FALSE; in draw_pipeline_init()
71 draw->pipeline.line_stipple = TRUE; in draw_pipeline_init()
72 draw->pipeline.point_sprite = TRUE; in draw_pipeline_init()
80 if (draw->pipeline.wide_line) in draw_pipeline_destroy()
81 draw->pipeline.wide_line->destroy( draw->pipeline.wide_line ); in draw_pipeline_destroy()
82 if (draw->pipeline.wide_point) in draw_pipeline_destroy()
83 draw->pipeline.wide_point->destroy( draw->pipeline.wide_point ); in draw_pipeline_destroy()
84 if (draw->pipeline.stipple) in draw_pipeline_destroy()
85 draw->pipeline.stipple->destroy( draw->pipeline.stipple ); in draw_pipeline_destroy()
86 if (draw->pipeline.unfilled) in draw_pipeline_destroy()
87 draw->pipeline.unfilled->destroy( draw->pipeline.unfilled ); in draw_pipeline_destroy()
88 if (draw->pipeline.twoside) in draw_pipeline_destroy()
89 draw->pipeline.twoside->destroy( draw->pipeline.twoside ); in draw_pipeline_destroy()
90 if (draw->pipeline.offset) in draw_pipeline_destroy()
91 draw->pipeline.offset->destroy( draw->pipeline.offset ); in draw_pipeline_destroy()
92 if (draw->pipeline.clip) in draw_pipeline_destroy()
93 draw->pipeline.clip->destroy( draw->pipeline.clip ); in draw_pipeline_destroy()
94 if (draw->pipeline.flatshade) in draw_pipeline_destroy()
95 draw->pipeline.flatshade->destroy( draw->pipeline.flatshade ); in draw_pipeline_destroy()
96 if (draw->pipeline.cull) in draw_pipeline_destroy()
97 draw->pipeline.cull->destroy( draw->pipeline.cull ); in draw_pipeline_destroy()
98 if (draw->pipeline.validate) in draw_pipeline_destroy()
99 draw->pipeline.validate->destroy( draw->pipeline.validate ); in draw_pipeline_destroy()
100 if (draw->pipeline.aaline) in draw_pipeline_destroy()
101 draw->pipeline.aaline->destroy( draw->pipeline.aaline ); in draw_pipeline_destroy()
102 if (draw->pipeline.aapoint) in draw_pipeline_destroy()
103 draw->pipeline.aapoint->destroy( draw->pipeline.aapoint ); in draw_pipeline_destroy()
104 if (draw->pipeline.pstipple) in draw_pipeline_destroy()
105 draw->pipeline.pstipple->destroy( draw->pipeline.pstipple ); in draw_pipeline_destroy()
106 if (draw->pipeline.rasterize) in draw_pipeline_destroy()
107 draw->pipeline.rasterize->destroy( draw->pipeline.rasterize ); in draw_pipeline_destroy()
124 draw->pipeline.first->point( draw->pipeline.first, &prim ); in do_point()
144 draw->pipeline.first->line( draw->pipeline.first, &prim ); in do_line()
166 draw->pipeline.first->tri( draw->pipeline.first, &prim ); in do_triangle()
232 draw->pipeline.verts = (char *)vert_info->verts; in draw_pipeline_run()
233 draw->pipeline.vertex_stride = vert_info->stride; in draw_pipeline_run()
234 draw->pipeline.vertex_count = vert_info->count; in draw_pipeline_run()
271 draw->pipeline.verts = NULL; in draw_pipeline_run()
272 draw->pipeline.vertex_count = 0; in draw_pipeline_run()
327 draw->pipeline.verts = verts; in draw_pipeline_run_linear()
328 draw->pipeline.vertex_stride = vert_info->stride; in draw_pipeline_run_linear()
329 draw->pipeline.vertex_count = count; in draw_pipeline_run_linear()
341 draw->pipeline.verts = NULL; in draw_pipeline_run_linear()
342 draw->pipeline.vertex_count = 0; in draw_pipeline_run_linear()
349 draw->pipeline.first->flush( draw->pipeline.first, flags ); in draw_pipeline_flush()
351 draw->pipeline.first = draw->pipeline.validate; in draw_pipeline_flush()