Lines Matching refs:nr

48 #define ALLOC_ELTS(nr) 0
51 #define INCR_ELTS( nr )
76 static void *TAG(emit_elts)( struct gl_context *ctx, GLuint *elts, GLuint nr,
83 for ( i = 0 ; i+1 < nr ; i+=2, elts += 2 ) {
88 if (i < nr) {
116 GLuint j, nr;
124 for (j = start; j < count; j += nr ) {
125 nr = MIN2( currentsz, count - j );
126 TAG(emit_verts)( ctx, j, nr, ALLOC_VERTS(nr) );
145 GLuint j, nr;
159 for (j = start; j < count; j += nr ) {
160 nr = MIN2( currentsz, count - j );
161 TAG(emit_verts)( ctx, j, nr, ALLOC_VERTS(nr) );
181 GLuint j, nr;
189 for (j = start; j + 1 < count; j += nr - 1 ) {
190 nr = MIN2( currentsz, count - j );
191 TAG(emit_verts)( ctx, j, nr, ALLOC_VERTS(nr) );
213 GLuint j, nr;
233 for ( ; j + 1 < count; j += nr - 1 ) {
234 nr = MIN2( currentsz, count - j );
236 if (j + nr >= count &&
241 tmp = ALLOC_VERTS(nr+1);
242 tmp = TAG(emit_verts)( ctx, j, nr, tmp );
247 TAG(emit_verts)( ctx, j, nr, ALLOC_VERTS(nr) );
278 GLuint j, nr;
292 for (j = start; j < count; j += nr) {
293 nr = MIN2( currentsz, count - j );
294 TAG(emit_verts)( ctx, j, nr, ALLOC_VERTS(nr) );
308 GLuint j, nr;
325 for (j = start ; j + 2 < count; j += nr - 2 ) {
326 nr = MIN2( currentsz, count - j );
327 TAG(emit_verts)( ctx, j, nr, ALLOC_VERTS(nr) );
346 GLuint j, nr;
357 for (j = start + 1 ; j + 1 < count; j += nr - 2 ) {
359 nr = MIN2( currentsz, count - j + 1 );
360 tmp = ALLOC_VERTS( nr );
362 tmp = TAG(emit_verts)( ctx, j, nr - 1, tmp );
386 GLuint j, nr;
397 for (j = start + 1 ; j + 1 < count ; j += nr - 2 ) {
399 nr = MIN2( currentsz, count - j + 1 );
400 tmp = ALLOC_VERTS( nr );
402 tmp = TAG(emit_verts)( ctx, j, nr - 1, tmp );
422 GLuint j, nr;
426 GLuint j, nr;
440 for (j = start ; j + 3 < count; j += nr - 2 ) {
441 nr = MIN2( currentsz, count - j );
442 TAG(emit_verts)( ctx, j, nr, ALLOC_VERTS(nr) );
455 GLuint j, nr;
477 for (j = start; j + 3 < count; j += nr - 2 ) {
478 nr = MIN2( currentsz, count - j );
479 if (nr >= 4) {
480 GLint quads = (nr/2)-1;
528 for (j = start; j + 3 < count; j += nr - 2 ) {
529 nr = MIN2( currentsz, count - j );
530 TAG(emit_verts)( ctx, j, nr, ALLOC_VERTS(nr) );
552 GLuint j, nr;
565 for (j = start; j < count; j += nr) {
566 nr = MIN2( currentsz, count - j );
567 TAG(emit_verts)( ctx, j, nr, ALLOC_VERTS(nr) );
579 GLuint j, nr;
601 for (j = start; j < count; j += nr ) {
602 nr = MIN2( currentsz, count - j );
603 if (nr >= 4) {
604 GLint quads = nr/4;
693 GLuint j, nr;
701 for (j = start; j < count; j += nr ) {
702 nr = MIN2( currentsz, count - j );
703 TAG(emit_elts)( ctx, elts+j, nr, ALLOC_ELTS(nr) );
725 GLuint j, nr;
739 for (j = start; j < count; j += nr ) {
740 nr = MIN2( currentsz, count - j );
741 TAG(emit_elts)( ctx, elts+j, nr, ALLOC_ELTS(nr) );
762 GLuint j, nr;
771 for (j = start; j + 1 < count; j += nr - 1 ) {
772 nr = MIN2( currentsz, count - j );
773 TAG(emit_elts)( ctx, elts+j, nr, ALLOC_ELTS(nr) );
796 GLuint j, nr;
817 for ( ; j + 1 < count; j += nr - 1 ) {
818 nr = MIN2( currentsz, count - j );
820 if (j + nr >= count &&
825 tmp = ALLOC_ELTS(nr+1);
826 tmp = TAG(emit_elts)( ctx, elts+j, nr, tmp );
831 TAG(emit_elts)( ctx, elts+j, nr, ALLOC_ELTS(nr) );
867 GLuint j, nr;
882 for (j = start; j < count; j += nr) {
883 nr = MIN2( currentsz, count - j );
884 TAG(emit_elts)( ctx, elts+j, nr, ALLOC_ELTS(nr) );
899 GLuint j, nr;
917 for (j = start ; j + 2 < count; j += nr - 2 ) {
918 nr = MIN2( currentsz, count - j );
919 TAG(emit_elts)( ctx, elts+j, nr, ALLOC_ELTS(nr) );
938 GLuint j, nr;
950 for (j = start + 1 ; j + 1 < count; j += nr - 2 ) {
952 nr = MIN2( currentsz, count - j + 1 );
953 tmp = ALLOC_ELTS( nr );
955 tmp = TAG(emit_elts)( ctx, elts+j, nr - 1, tmp );
976 GLuint j, nr;
988 for (j = start + 1 ; j + 1 < count; j += nr - 2 ) {
990 nr = MIN2( currentsz, count - j + 1 );
991 tmp = ALLOC_ELTS( nr );
993 tmp = TAG(emit_elts)( ctx, elts+j, nr - 1, tmp );
1018 GLuint j, nr;
1038 for (j = start; j + 3 < count; j += nr - 2 ) {
1039 nr = MIN2( currentsz, count - j );
1041 if (nr >= 4)
1044 GLint quads = (nr/2)-1;
1063 for (j = start; j + 3 < count; j += nr - 2 ) {
1064 nr = MIN2( currentsz, count - j );
1065 TAG(emit_elts)( ctx, elts+j, nr, ALLOC_ELTS(nr) );
1084 GLuint j, nr;
1096 for (j = start; j < count; j += nr) {
1097 nr = MIN2( currentsz, count - j );
1098 TAG(emit_elts)( ctx, elts+j, nr, ALLOC_ELTS(nr) );
1107 GLuint j, nr;
1126 for (j = start; j + 3 < count; j += nr - 2 ) {
1127 nr = MIN2( currentsz, count - j );
1129 if (nr >= 4)
1131 GLint quads = nr/4;