Lines Matching refs:num
542 GLsizei num = count > vcs ? vcs : count; in drawPrimitivesPoints() local
544 c->arrays.compileElements(c, v, first, num); in drawPrimitivesPoints()
545 first += num; in drawPrimitivesPoints()
546 count -= num; in drawPrimitivesPoints()
554 num--; in drawPrimitivesPoints()
555 } while (num); in drawPrimitivesPoints()
580 GLsizei num = count > vcs ? vcs : count; in drawPrimitivesLineStrip() local
581 c->arrays.compileElements(c, v, first, num); in drawPrimitivesLineStrip()
582 first += num; in drawPrimitivesLineStrip()
583 count -= num; in drawPrimitivesLineStrip()
592 num--; in drawPrimitivesLineStrip()
593 } while (num); in drawPrimitivesLineStrip()
627 GLsizei num = count > vcs ? vcs : count; in drawPrimitivesLines() local
629 c->arrays.compileElements(c, v, first, num); in drawPrimitivesLines()
630 first += num; in drawPrimitivesLines()
631 count -= num; in drawPrimitivesLines()
634 num -= 2; in drawPrimitivesLines()
640 num -= 2; in drawPrimitivesLines()
641 } while (num >= 0); in drawPrimitivesLines()
674 GLsizei num = count > vcs ? vcs : count; in drawPrimitivesTriangleFanOrStrip() local
675 c->arrays.compileElements(c, v, first, num); in drawPrimitivesTriangleFanOrStrip()
676 first += num; in drawPrimitivesTriangleFanOrStrip()
677 count -= num; in drawPrimitivesTriangleFanOrStrip()
686 num--; in drawPrimitivesTriangleFanOrStrip()
687 } while (num); in drawPrimitivesTriangleFanOrStrip()
723 GLsizei num = count > vcs ? vcs : count; in drawPrimitivesTriangles() local
725 c->arrays.compileElements(c, v, first, num); in drawPrimitivesTriangles()
726 first += num; in drawPrimitivesTriangles()
727 count -= num; in drawPrimitivesTriangles()
730 num -= 3; in drawPrimitivesTriangles()
736 num -= 3; in drawPrimitivesTriangles()
737 } while (num >= 0); in drawPrimitivesTriangles()