Home | History | Annotate | Download | only in draw

Lines Matching defs:cull

44    unsigned cull_face;  /**< which face(s) to cull (one of PIPE_FACE_x) */
123 * Triangles can be culled either using the cull distance
221 struct cull_stage *cull = cull_stage(stage);
223 cull->cull_face = stage->draw->rasterizer->cull_face;
224 cull->front_ccw = stage->draw->rasterizer->front_ccw;
258 struct cull_stage *cull = CALLOC_STRUCT(cull_stage);
259 if (!cull)
262 cull->stage.draw = draw;
263 cull->stage.name = "cull";
264 cull->stage.next = NULL;
265 cull->stage.point = cull_first_point;
266 cull->stage.line = cull_first_line;
267 cull->stage.tri = cull_first_tri;
268 cull->stage.flush = cull_flush;
269 cull->stage.reset_stipple_counter = cull_reset_stipple_counter;
270 cull->stage.destroy = cull_destroy;
272 if (!draw_alloc_temp_verts( &cull->stage, 0 ))
275 return &cull->stage;
278 if (cull)
279 cull->stage.destroy( &cull->stage );