Lines Matching refs:v1
569 vertex_t *v, *v0, *v1; in drawPrimitivesLineStrip() local
589 v1 = v++; in drawPrimitivesLineStrip()
590 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineStrip()
592 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineStrip()
593 v0 = v1; in drawPrimitivesLineStrip()
610 vertex_t* v1 = c->vc.vBuffer + 1; in drawPrimitivesLineLoop() local
611 c->arrays.compileElement(c, v1, first); in drawPrimitivesLineLoop()
612 const uint32_t cc = v0->flags & v1->flags; in drawPrimitivesLineLoop()
614 c->prims.renderLine(c, v0, v1); in drawPrimitivesLineLoop()
659 vertex_t *v, *v0, *v1, *v2; in drawPrimitivesTriangleFanOrStrip() local
674 v1 = c->vc.vBuffer + 1; in drawPrimitivesTriangleFanOrStrip()
684 const uint32_t cc = v0->flags & v1->flags & v2->flags; in drawPrimitivesTriangleFanOrStrip()
686 c->prims.renderTriangle(c, v0, v1, v2); in drawPrimitivesTriangleFanOrStrip()
687 swap(((winding^=1) ? v1 : v0), v2); in drawPrimitivesTriangleFanOrStrip()
693 v1 = c->vc.vBuffer + 2 + vcs - 1; in drawPrimitivesTriangleFanOrStrip()
698 c->vc.vBuffer[1] = *v1; in drawPrimitivesTriangleFanOrStrip()
699 c->arrays.cull = v0->flags & v1->flags & vertex_t::CLIP_ALL; in drawPrimitivesTriangleFanOrStrip()
789 vertex_t* v1; in drawIndexedPrimitivesLineStrip() local
795 v1 = fetch_vertex(c, read_index(type, indices)); in drawIndexedPrimitivesLineStrip()
796 const uint32_t cc = v0->flags & v1->flags; in drawIndexedPrimitivesLineStrip()
798 c->prims.renderLine(c, v0, v1); in drawIndexedPrimitivesLineStrip()
800 v0 = v1; in drawIndexedPrimitivesLineStrip()
803 v1->locked = 0; in drawIndexedPrimitivesLineStrip()
816 vertex_t* v1; in drawIndexedPrimitivesLineLoop() local
822 v1 = fetch_vertex(c, read_index(type, indices)); in drawIndexedPrimitivesLineLoop()
823 const uint32_t cc = v0->flags & v1->flags; in drawIndexedPrimitivesLineLoop()
825 c->prims.renderLine(c, v0, v1); in drawIndexedPrimitivesLineLoop()
827 v0 = v1; in drawIndexedPrimitivesLineLoop()
830 v1->locked = 0; in drawIndexedPrimitivesLineLoop()
832 v1 = c->vc.vBuffer; in drawIndexedPrimitivesLineLoop()
833 const uint32_t cc = v0->flags & v1->flags; in drawIndexedPrimitivesLineLoop()
835 c->prims.renderLine(c, v0, v1); in drawIndexedPrimitivesLineLoop()
848 vertex_t* const v1 = fetch_vertex(c, read_index(type, indices)); in drawIndexedPrimitivesLines() local
849 const uint32_t cc = v0->flags & v1->flags; in drawIndexedPrimitivesLines()
851 c->prims.renderLine(c, v0, v1); in drawIndexedPrimitivesLines()
853 v1->locked = 0; in drawIndexedPrimitivesLines()
871 vertex_t* v1 = v+1; in drawIndexedPrimitivesTriangleFanOrStrip() local
876 c->arrays.compileElement(c, v1, read_index(type, indices)); in drawIndexedPrimitivesTriangleFanOrStrip()
884 const uint32_t cc = v0->flags & v1->flags & v2->flags; in drawIndexedPrimitivesTriangleFanOrStrip()
886 c->prims.renderTriangle(c, v0, v1, v2); in drawIndexedPrimitivesTriangleFanOrStrip()
887 vertex_t* & consumed = ((winding^=1) ? v1 : v0); in drawIndexedPrimitivesTriangleFanOrStrip()
892 v0->locked = v1->locked = 0; in drawIndexedPrimitivesTriangleFanOrStrip()
918 vertex_t* const v1 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles() local
920 const uint32_t cc = v0->flags & v1->flags & v2->flags; in drawIndexedPrimitivesTriangles()
922 c->prims.renderTriangle(c, v0, v1, v2); in drawIndexedPrimitivesTriangles()
924 v1->locked = 0; in drawIndexedPrimitivesTriangles()
932 vertex_t* const v1 = fetch_vertex(c, *p++); in drawIndexedPrimitivesTriangles() local
934 const uint32_t cc = v0->flags & v1->flags & v2->flags; in drawIndexedPrimitivesTriangles()
936 c->prims.renderTriangle(c, v0, v1, v2); in drawIndexedPrimitivesTriangles()
938 v1->locked = 0; in drawIndexedPrimitivesTriangles()