Lines Matching refs:cull
543 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesPoints()
547 if (!c->arrays.cull) { in drawPrimitivesPoints()
568 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
584 if (!c->arrays.cull) { in drawPrimitivesLineStrip()
597 c->arrays.cull = v0->flags & vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
628 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesLines()
632 if (!c->arrays.cull) { in drawPrimitivesLines()
658 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
678 if (!c->arrays.cull) { in drawPrimitivesTriangleFanOrStrip()
697 c->arrays.cull = v0->flags & v1->flags & vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
724 c->arrays.cull = vertex_t::CLIP_ALL; in drawPrimitivesTriangles()
728 if (!c->arrays.cull) { in drawPrimitivesTriangles()
1366 if ((c->cull.enable) && (c->cull.cullFace == GL_FRONT_AND_BACK)) in glDrawArrays()
1419 if ((c->cull.enable) && (c->cull.cullFace == GL_FRONT_AND_BACK)) in glDrawElements()