Lines Matching refs:v0

567     vertex_t *v, *v0, *v1;  in drawPrimitivesLineStrip()  local
578 v0 = c->vc.vBuffer + 0; in drawPrimitivesLineStrip()
588 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineStrip()
590 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineStrip()
591 v0 = v1; in drawPrimitivesLineStrip()
596 c->vc.vBuffer[0] = *v0; in drawPrimitivesLineStrip()
597 c->arrays.cull = v0->flags & vertex_t::CLIP_ALL; in drawPrimitivesLineStrip()
607 vertex_t* v0 = c->vc.vBuffer; in drawPrimitivesLineLoop() local
610 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineLoop()
612 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineLoop()
657 vertex_t *v, *v0, *v1, *v2; in drawPrimitivesTriangleFanOrStrip() local
671 v0 = c->vc.vBuffer + 0; in drawPrimitivesTriangleFanOrStrip()
682 const uint32_t cc = v0->flags & v1->flags & v2->flags; in drawPrimitivesTriangleFanOrStrip()
684 c->prims.renderTriangle(c, v0, v1, v2); in drawPrimitivesTriangleFanOrStrip()
685 swap(((winding^=1) ? v1 : v0), v2); in drawPrimitivesTriangleFanOrStrip()
690 v0 = c->vc.vBuffer + 2 + vcs - 2; in drawPrimitivesTriangleFanOrStrip()
694 c->vc.vBuffer[0] = *v0; in drawPrimitivesTriangleFanOrStrip()
697 c->arrays.cull = v0->flags & v1->flags & vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
786 vertex_t* v0 = v; in drawIndexedPrimitivesLineStrip() local
790 c->arrays.compileElement(c, v0, read_index(type, indices)); in drawIndexedPrimitivesLineStrip()
794 const uint32_t cc = v0->flags & v1->flags; in drawIndexedPrimitivesLineStrip()
796 c->prims.renderLine(c, v0, v1); in drawIndexedPrimitivesLineStrip()
797 v0->locked = 0; in drawIndexedPrimitivesLineStrip()
798 v0 = v1; in drawIndexedPrimitivesLineStrip()
813 vertex_t* v0 = v; in drawIndexedPrimitivesLineLoop() local
817 c->arrays.compileElement(c, v0, read_index(type, indices)); in drawIndexedPrimitivesLineLoop()
821 const uint32_t cc = v0->flags & v1->flags; in drawIndexedPrimitivesLineLoop()
823 c->prims.renderLine(c, v0, v1); in drawIndexedPrimitivesLineLoop()
824 v0->locked = 0; in drawIndexedPrimitivesLineLoop()
825 v0 = v1; in drawIndexedPrimitivesLineLoop()
831 const uint32_t cc = v0->flags & v1->flags; in drawIndexedPrimitivesLineLoop()
833 c->prims.renderLine(c, v0, v1); in drawIndexedPrimitivesLineLoop()
845 vertex_t* const v0 = fetch_vertex(c, read_index(type, indices)); in drawIndexedPrimitivesLines() local
847 const uint32_t cc = v0->flags & v1->flags; in drawIndexedPrimitivesLines()
849 c->prims.renderLine(c, v0, v1); in drawIndexedPrimitivesLines()
850 v0->locked = 0; in drawIndexedPrimitivesLines()
868 vertex_t* v0 = v; in drawIndexedPrimitivesTriangleFanOrStrip() local
873 c->arrays.compileElement(c, v0, read_index(type, indices)); in drawIndexedPrimitivesTriangleFanOrStrip()
882 const uint32_t cc = v0->flags & v1->flags & v2->flags; in drawIndexedPrimitivesTriangleFanOrStrip()
884 c->prims.renderTriangle(c, v0, v1, v2); in drawIndexedPrimitivesTriangleFanOrStrip()
885 vertex_t* & consumed = ((winding^=1) ? v1 : v0); in drawIndexedPrimitivesTriangleFanOrStrip()
890 v0->locked = v1->locked = 0; in drawIndexedPrimitivesTriangleFanOrStrip()
915 vertex_t* const v0 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles() local
918 const uint32_t cc = v0->flags & v1->flags & v2->flags; in drawIndexedPrimitivesTriangles()
920 c->prims.renderTriangle(c, v0, v1, v2); in drawIndexedPrimitivesTriangles()
921 v0->locked = 0; in drawIndexedPrimitivesTriangles()
929 vertex_t* const v0 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles() local
932 const uint32_t cc = v0->flags & v1->flags & v2->flags; in drawIndexedPrimitivesTriangles()
934 c->prims.renderTriangle(c, v0, v1, v2); in drawIndexedPrimitivesTriangles()
935 v0->locked = 0; in drawIndexedPrimitivesTriangles()