Lines Matching refs:j
78 GLuint j; in TAG() local
83 for (j=start+1; j<count; j+=2 ) { in TAG()
86 RENDER_LINE( ELT(j-1), ELT(j) ); in TAG()
88 RENDER_LINE( ELT(j), ELT(j-1) ); in TAG()
99 GLuint j; in TAG() local
109 for (j=start+1; j<count; j++ ) { in TAG()
111 RENDER_LINE( ELT(j-1), ELT(j) ); in TAG()
113 RENDER_LINE( ELT(j), ELT(j-1) ); in TAG()
165 GLuint j; in TAG() local
171 for (j=start+2; j<count; j+=3) { in TAG()
176 RENDER_TRI( ELT(j-2), ELT(j-1), ELT(j) ); in TAG()
178 RENDER_TRI( ELT(j-1), ELT(j), ELT(j-2) ); in TAG()
181 for (j=start+2; j<count; j+=3) { in TAG()
183 RENDER_TRI( ELT(j-2), ELT(j-1), ELT(j) ); in TAG()
185 RENDER_TRI( ELT(j-1), ELT(j), ELT(j-2) ); in TAG()
198 GLuint j; in TAG() local
204 for (j=start+2;j<count;j++,parity^=1) { in TAG()
208 ej2 = ELT(j-2+parity); in TAG()
209 ej1 = ELT(j-1-parity); in TAG()
210 ej = ELT(j); in TAG()
213 ej2 = ELT(j-1+parity); in TAG()
214 ej1 = ELT(j-parity); in TAG()
215 ej = ELT(j-2); in TAG()
232 for (j=start+2; j<count ; j++, parity^=1) { in TAG()
234 RENDER_TRI( ELT(j-2+parity), ELT(j-1-parity), ELT(j) ); in TAG()
236 RENDER_TRI( ELT(j-1+parity), ELT(j-parity), ELT(j-2) ); in TAG()
248 GLuint j; in TAG() local
254 for (j=start+2;j<count;j++) { in TAG()
258 GLuint ej1 = ELT(j-1); in TAG()
259 GLuint ej = ELT(j); in TAG()
278 for (j=start+2;j<count;j++) { in TAG()
280 RENDER_TRI( ELT(start), ELT(j-1), ELT(j) ); in TAG()
282 RENDER_TRI( ELT(j), ELT(start), ELT(j-1) ); in TAG()
295 GLuint j = start+2; in TAG() local
321 if (j+1<count) { in TAG()
322 GLboolean ef = EDGEFLAG_GET( ELT(j) ); in TAG()
323 EDGEFLAG_SET( ELT(j), GL_FALSE ); in TAG()
324 RENDER_TRI( ELT(j-1), ELT(j), ELT(start) ); in TAG()
325 EDGEFLAG_SET( ELT(j), ef ); in TAG()
326 j++; in TAG()
332 for (;j+1<count;j++) { in TAG()
333 GLboolean efj = EDGEFLAG_GET( ELT(j) ); in TAG()
334 EDGEFLAG_SET( ELT(j), GL_FALSE ); in TAG()
335 RENDER_TRI( ELT(j-1), ELT(j), ELT(start) ); in TAG()
336 EDGEFLAG_SET( ELT(j), efj ); in TAG()
342 if (j < count) in TAG()
343 RENDER_TRI( ELT(j-1), ELT(j), ELT(start) ); in TAG()
352 for (j=start+2;j<count;j++) { in TAG()
353 RENDER_TRI( ELT(j-1), ELT(j), ELT(start) ); in TAG()
364 GLuint j; in TAG() local
370 for (j=start+3; j<count; j+=4) { in TAG()
376 RENDER_QUAD( ELT(j-3), ELT(j-2), ELT(j-1), ELT(j) ); in TAG()
378 RENDER_QUAD( ELT(j-2), ELT(j-1), ELT(j), ELT(j-3) ); in TAG()
381 for (j=start+3; j<count; j+=4) { in TAG()
384 RENDER_QUAD( ELT(j-3), ELT(j-2), ELT(j-1), ELT(j) ); in TAG()
386 RENDER_QUAD( ELT(j-2), ELT(j-1), ELT(j), ELT(j-3) ); in TAG()
397 GLuint j; in TAG() local
403 for (j=start+3;j<count;j+=2) { in TAG()
407 GLboolean ef3 = EDGEFLAG_GET( ELT(j-3) ); in TAG()
408 GLboolean ef2 = EDGEFLAG_GET( ELT(j-2) ); in TAG()
409 GLboolean ef1 = EDGEFLAG_GET( ELT(j-1) ); in TAG()
410 GLboolean ef = EDGEFLAG_GET( ELT(j) ); in TAG()
414 EDGEFLAG_SET( ELT(j-3), GL_TRUE ); in TAG()
415 EDGEFLAG_SET( ELT(j-2), GL_TRUE ); in TAG()
416 EDGEFLAG_SET( ELT(j-1), GL_TRUE ); in TAG()
417 EDGEFLAG_SET( ELT(j), GL_TRUE ); in TAG()
420 RENDER_QUAD( ELT(j-1), ELT(j-3), ELT(j-2), ELT(j) ); in TAG()
422 RENDER_QUAD( ELT(j-2), ELT(j), ELT(j-1), ELT(j-3) ); in TAG()
423 EDGEFLAG_SET( ELT(j-3), ef3 ); in TAG()
424 EDGEFLAG_SET( ELT(j-2), ef2 ); in TAG()
425 EDGEFLAG_SET( ELT(j-1), ef1 ); in TAG()
426 EDGEFLAG_SET( ELT(j), ef ); in TAG()
429 for (j=start+3;j<count;j+=2) { in TAG()
432 RENDER_QUAD( ELT(j-1), ELT(j-3), ELT(j-2), ELT(j) ); in TAG()
434 RENDER_QUAD( ELT(j-2), ELT(j), ELT(j-1), ELT(j-3) ); in TAG()