Lines Matching refs:cull
545 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesPoints()
549 if (!c->arrays.cull) { in drawPrimitivesPoints()
570 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
586 if (!c->arrays.cull) { in drawPrimitivesLineStrip()
599 c->arrays.cull = v0->flags & vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
630 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLines()
634 if (!c->arrays.cull) { in drawPrimitivesLines()
660 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
680 if (!c->arrays.cull) { in drawPrimitivesTriangleFanOrStrip()
699 c->arrays.cull = v0->flags & v1->flags & vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
726 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangles()
730 if (!c->arrays.cull) { in drawPrimitivesTriangles()
1368 if ((c->cull.enable) && (c->cull.cullFace == GL_FRONT_AND_BACK)) in glDrawArrays()
1421 if ((c->cull.enable) && (c->cull.cullFace == GL_FRONT_AND_BACK)) in glDrawElements()