Home | History | Annotate | Download | only in draw

Lines Matching refs:flatshade

109  * Flatshade tri.  Required for clipping and when unfilled tris are
152 * Flatshade line. Required for clipping.
202 /* Choose flatshade routine according to provoking vertex:
256 struct flat_stage *flatshade = CALLOC_STRUCT(flat_stage);
257 if (flatshade == NULL)
260 flatshade->stage.draw = draw;
261 flatshade->stage.name = "flatshade";
262 flatshade->stage.next = NULL;
263 flatshade->stage.point = draw_pipe_passthrough_point;
264 flatshade->stage.line = flatshade_first_line;
265 flatshade->stage.tri = flatshade_first_tri;
266 flatshade->stage.flush = flatshade_flush;
267 flatshade->stage.reset_stipple_counter = flatshade_reset_stipple_counter;
268 flatshade->stage.destroy = flatshade_destroy;
270 if (!draw_alloc_temp_verts( &flatshade->stage, 2 ))
273 return &flatshade->stage;
276 if (flatshade)
277 flatshade->stage.destroy( &flatshade->stage );