Lines Matching refs:count

314         const GLvoid *pointer, const buffer_t* bo, GLsizei count)
334 this->bounds = count;
381 size_t count = VERTEX_BUFFER_SIZE + VERTEX_CACHE_SIZE;
385 } while (--count);
392 size_t count = VERTEX_BUFFER_SIZE + VERTEX_CACHE_SIZE;
396 } while (--count);
529 void drawPrimitivesPoints(ogles_context_t* c, GLint first, GLsizei count)
531 if (ggl_unlikely(count < 1))
540 GLsizei num = count > vcs ? vcs : count;
544 count -= num;
555 } while (count);
560 void drawPrimitivesLineStrip(ogles_context_t* c, GLint first, GLsizei count)
562 if (ggl_unlikely(count < 2))
569 count -= 1;
578 GLsizei num = count > vcs ? vcs : count;
581 count -= num;
596 } while (count);
599 void drawPrimitivesLineLoop(ogles_context_t* c, GLint first, GLsizei count)
601 if (ggl_unlikely(count < 2))
603 drawPrimitivesLineStrip(c, first, count);
604 if (ggl_likely(count >= 3)) {
614 void drawPrimitivesLines(ogles_context_t* c, GLint first, GLsizei count)
616 if (ggl_unlikely(count < 2))
625 GLsizei num = count > vcs ? vcs : count;
629 count -= num;
641 } while (count >= 2);
647 GLint first, GLsizei count, int winding)
652 if (ggl_unlikely(count < 3))
659 count -= 2;
672 GLsizei num = count > vcs ? vcs : count;
675 count -= num;
687 if (count) {
697 } while (count > 0);
701 GLint first, GLsizei count) {
702 drawPrimitivesTriangleFanOrStrip(c, first, count, 1);
706 GLint first, GLsizei count) {
707 drawPrimitivesTriangleFanOrStrip(c, first, count, 2);
710 void drawPrimitivesTriangles(ogles_context_t* c, GLint first, GLsizei count)
712 if (ggl_unlikely(count < 3))
721 GLsizei num = count > vcs ? vcs : count;
725 count -= num;
737 } while (count >= 3);
761 GLsizei count, const GLvoid *indices)
763 if (ggl_unlikely(count < 1))
771 count--;
772 } while(count);
778 GLsizei count, const GLvoid *indices)
780 if (ggl_unlikely(count < 2))
789 count -= 1;
797 count--;
798 } while (count);
803 GLsizei count, const GLvoid *indices)
805 if (ggl_unlikely(count <= 2)) {
806 drawIndexedPrimitivesLines(c, count, indices);
816 count -= 1;
824 count--;
825 } while (count);
835 GLsizei count, const GLvoid *indices)
837 if (ggl_unlikely(count < 2))
840 count -= 2;
850 count -= 2;
851 } while (count >= 0);
857 GLsizei count, const GLvoid *indices, int winding)
862 if (ggl_unlikely(count < 3))
873 count -= 2;
886 count--;
887 } while (count);
893 GLsizei count, const GLvoid *indices) {
894 drawIndexedPrimitivesTriangleFanOrStrip(c, count, indices, 1);
898 GLsizei count, const GLvoid *indices) {
899 drawIndexedPrimitivesTriangleFanOrStrip(c, count, indices, 2);
903 GLsizei count, const GLvoid *indices)
905 if (ggl_unlikely(count < 3))
908 count -= 3;
922 count -= 3;
923 } while (count >= 0);
936 count -= 3;
937 } while (count >= 0);
962 vertex_t* v, GLint first, GLsizei count)
978 } while (--count);
983 vertex_t* v, GLint first, GLsizei count)
1016 } while (--count);
1341 void glDrawArrays(GLenum mode, GLint first, GLsizei count)
1344 if (count<0) {
1362 if (count == 0 || !c->arrays.vertex.enable)
1374 drawArraysPrims[mode](c, first, count);
1380 c->vc.total = count;
1386 GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
1389 if (count<0) {
1415 if (count == 0 || !c->arrays.vertex.enable)
1434 drawElementsPrims[mode](c, count, indices);
1441 c->vc.total = count;