Home | History | Annotate | Download | only in indices

Lines Matching refs:pr

186 def name(intype, outtype, inpv, outpv, pr, prim):
190 return 'translate_' + prim + '_' + intype + '2' + outtype + '_' + inpv + '2' + outpv + '_' + pr
192 def preamble(intype, outtype, inpv, outpv, pr, prim):
193 print 'static void ' + name( intype, outtype, inpv, outpv, pr, prim ) + '('
214 def points(intype, outtype, inpv, outpv, pr):
215 preamble(intype, outtype, inpv, outpv, pr, prim='points')
221 def lines(intype, outtype, inpv, outpv, pr):
222 preamble(intype, outtype, inpv, outpv, pr, prim='lines')
228 def linestrip(intype, outtype, inpv, outpv, pr):
229 preamble(intype, outtype, inpv, outpv, pr, prim='linestrip')
235 def lineloop(intype, outtype, inpv, outpv, pr):
236 preamble(intype, outtype, inpv, outpv, pr, prim='lineloop')
243 def tris(intype, outtype, inpv, outpv, pr):
244 preamble(intype, outtype, inpv, outpv, pr, prim='tris')
251 def tristrip(intype, outtype, inpv, outpv, pr):
252 preamble(intype, outtype, inpv, outpv, pr, prim='tristrip')
262 def trifan(intype, outtype, inpv, outpv, pr):
263 preamble(intype, outtype, inpv, outpv, pr, prim='trifan')
271 def polygon(intype, outtype, inpv, outpv, pr):
272 preamble(intype, outtype, inpv, outpv, pr, prim='polygon')
274 if pr == PRENABLE:
306 def quads(intype, outtype, inpv, outpv, pr):
307 preamble(intype, outtype, inpv, outpv, pr, prim='quads')
309 if pr == PRENABLE:
342 def quadstrip(intype, outtype, inpv, outpv, pr):
343 preamble(intype, outtype, inpv, outpv, pr, prim='quadstrip')
345 if pr == PRENABLE:
380 def linesadj(intype, outtype, inpv, outpv, pr):
381 preamble(intype, outtype, inpv, outpv, pr, prim='linesadj')
388 def linestripadj(intype, outtype, inpv, outpv, pr):
389 preamble(intype, outtype, inpv, outpv, pr, prim='linestripadj')
396 def trisadj(intype, outtype, inpv, outpv, pr):
397 preamble(intype, outtype, inpv, outpv, pr, prim='trisadj')
405 def tristripadj(intype, outtype, inpv, outpv, pr):
406 preamble(intype, outtype, inpv, outpv, pr, prim='tristripadj')
426 for pr in (PRDISABLE, PRENABLE):
427 if pr == PRENABLE and intype == GENERATE:
429 points(intype, outtype, inpv, outpv, pr)
430 lines(intype, outtype, inpv, outpv, pr)
431 linestrip(intype, outtype, inpv, outpv, pr)
432 lineloop(intype, outtype, inpv, outpv, pr)
433 tris(intype, outtype, inpv, outpv, pr)
434 tristrip(intype, outtype, inpv, outpv, pr)
435 trifan(intype, outtype, inpv, outpv, pr)
436 quads(intype, outtype, inpv, outpv, pr)
437 quadstrip(intype, outtype, inpv, outpv, pr)
438 polygon(intype, outtype, inpv, outpv, pr)
439 linesadj(intype, outtype, inpv, outpv, pr)
440 linestripadj(intype, outtype, inpv, outpv, pr)
441 trisadj(intype, outtype, inpv, outpv, pr)
442 pr)
444 def init(intype, outtype, inpv, outpv, pr, prim):
451 '] = ' + name( intype, outtype, inpv, outpv, pr, prim ) + ';')
458 '][' + pr_idx[pr] +
460 '] = ' + name( intype, outtype, inpv, outpv, pr, prim ) + ';')
468 for pr in PRS:
470 init(intype, outtype, inpv, outpv, pr, prim)