Lines Matching refs:cull
541 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesPoints()
545 if (!c->arrays.cull) { in drawPrimitivesPoints()
566 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
582 if (!c->arrays.cull) { in drawPrimitivesLineStrip()
595 c->arrays.cull = v0->flags & vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
626 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLines()
630 if (!c->arrays.cull) { in drawPrimitivesLines()
656 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
676 if (!c->arrays.cull) { in drawPrimitivesTriangleFanOrStrip()
695 c->arrays.cull = v0->flags & v1->flags & vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
722 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangles()
726 if (!c->arrays.cull) { in drawPrimitivesTriangles()
1364 if ((c->cull.enable) && (c->cull.cullFace == GL_FRONT_AND_BACK)) in glDrawArrays()
1417 if ((c->cull.enable) && (c->cull.cullFace == GL_FRONT_AND_BACK)) in glDrawElements()