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()
164 GLuint j; in TAG() local
170 for (j=start+2; j<count; j+=3) { in TAG()
175 RENDER_TRI( ELT(j-2), ELT(j-1), ELT(j) ); in TAG()
177 RENDER_TRI( ELT(j-1), ELT(j), ELT(j-2) ); in TAG()
180 for (j=start+2; j<count; j+=3) { in TAG()
182 RENDER_TRI( ELT(j-2), ELT(j-1), ELT(j) ); in TAG()
184 RENDER_TRI( ELT(j-1), ELT(j), ELT(j-2) ); in TAG()
197 GLuint j; in TAG() local
203 for (j=start+2;j<count;j++,parity^=1) { in TAG()
207 ej2 = ELT(j-2+parity); in TAG()
208 ej1 = ELT(j-1-parity); in TAG()
209 ej = ELT(j); in TAG()
212 ej2 = ELT(j-1+parity); in TAG()
213 ej1 = ELT(j-parity); in TAG()
214 ej = ELT(j-2); in TAG()
231 for (j=start+2; j<count ; j++, parity^=1) { in TAG()
233 RENDER_TRI( ELT(j-2+parity), ELT(j-1-parity), ELT(j) ); in TAG()
235 RENDER_TRI( ELT(j-1+parity), ELT(j-parity), ELT(j-2) ); in TAG()
247 GLuint j; in TAG() local
253 for (j=start+2;j<count;j++) { in TAG()
257 GLuint ej1 = ELT(j-1); in TAG()
258 GLuint ej = ELT(j); in TAG()
277 for (j=start+2;j<count;j++) { in TAG()
279 RENDER_TRI( ELT(start), ELT(j-1), ELT(j) ); in TAG()
281 RENDER_TRI( ELT(j), ELT(start), ELT(j-1) ); in TAG()
294 GLuint j = start+2; in TAG() local
320 if (j+1<count) { in TAG()
321 GLboolean ef = EDGEFLAG_GET( ELT(j) ); in TAG()
322 EDGEFLAG_SET( ELT(j), GL_FALSE ); in TAG()
323 RENDER_TRI( ELT(j-1), ELT(j), ELT(start) ); in TAG()
324 EDGEFLAG_SET( ELT(j), ef ); in TAG()
325 j++; in TAG()
331 for (;j+1<count;j++) { in TAG()
332 GLboolean efj = EDGEFLAG_GET( ELT(j) ); in TAG()
333 EDGEFLAG_SET( ELT(j), GL_FALSE ); in TAG()
334 RENDER_TRI( ELT(j-1), ELT(j), ELT(start) ); in TAG()
335 EDGEFLAG_SET( ELT(j), efj ); in TAG()
341 if (j < count) in TAG()
342 RENDER_TRI( ELT(j-1), ELT(j), ELT(start) ); in TAG()
351 for (j=start+2;j<count;j++) { in TAG()
352 RENDER_TRI( ELT(j-1), ELT(j), ELT(start) ); in TAG()
363 GLuint j; in TAG() local
369 for (j=start+3; j<count; j+=4) { in TAG()
375 RENDER_QUAD( ELT(j-3), ELT(j-2), ELT(j-1), ELT(j) ); in TAG()
377 RENDER_QUAD( ELT(j-2), ELT(j-1), ELT(j), ELT(j-3) ); in TAG()
380 for (j=start+3; j<count; j+=4) { in TAG()
383 RENDER_QUAD( ELT(j-3), ELT(j-2), ELT(j-1), ELT(j) ); in TAG()
385 RENDER_QUAD( ELT(j-2), ELT(j-1), ELT(j), ELT(j-3) ); in TAG()
396 GLuint j; in TAG() local
402 for (j=start+3;j<count;j+=2) { in TAG()
406 GLboolean ef3 = EDGEFLAG_GET( ELT(j-3) ); in TAG()
407 GLboolean ef2 = EDGEFLAG_GET( ELT(j-2) ); in TAG()
408 GLboolean ef1 = EDGEFLAG_GET( ELT(j-1) ); in TAG()
409 GLboolean ef = EDGEFLAG_GET( ELT(j) ); in TAG()
413 EDGEFLAG_SET( ELT(j-3), GL_TRUE ); in TAG()
414 EDGEFLAG_SET( ELT(j-2), GL_TRUE ); in TAG()
415 EDGEFLAG_SET( ELT(j-1), GL_TRUE ); in TAG()
416 EDGEFLAG_SET( ELT(j), GL_TRUE ); in TAG()
419 RENDER_QUAD( ELT(j-1), ELT(j-3), ELT(j-2), ELT(j) ); in TAG()
421 RENDER_QUAD( ELT(j-2), ELT(j), ELT(j-1), ELT(j-3) ); in TAG()
422 EDGEFLAG_SET( ELT(j-3), ef3 ); in TAG()
423 EDGEFLAG_SET( ELT(j-2), ef2 ); in TAG()
424 EDGEFLAG_SET( ELT(j-1), ef1 ); in TAG()
425 EDGEFLAG_SET( ELT(j), ef ); in TAG()
428 for (j=start+3;j<count;j+=2) { in TAG()
431 RENDER_QUAD( ELT(j-1), ELT(j-3), ELT(j-2), ELT(j) ); in TAG()
433 RENDER_QUAD( ELT(j-2), ELT(j), ELT(j-1), ELT(j-3) ); in TAG()