Home | History | Annotate | Download | only in tnl_dd

Lines Matching refs:start

94 					GLuint start, GLuint nr )
99 for ( i = 0 ; i+1 < nr ; i+=2, start += 2 ) {
100 EMIT_TWO_ELTS( dest, 0, start, start+1 );
104 EMIT_ELT( dest, 0, start );
118 GLuint start,
122 if (start < count) {
125 EMIT_PRIM( ctx, GL_POINTS, HW_POINTS, start, count );
130 GLuint start,
136 count -= (count-start) & 1;
138 if (start+1 >= count)
146 EMIT_PRIM( ctx, GL_LINES, HW_LINES, start, count );
154 GLuint start,
161 if (start+1 >= count)
168 if (PREFER_DISCRETE_ELT_PRIM( count-start, HW_LINES ))
180 for (j = start; j + 1 < count; j += nr - 1 ) {
196 EMIT_PRIM( ctx, GL_LINE_STRIP, HW_LINE_STRIP, start, count );
201 GLuint start,
210 j = start;
215 j = start + 1;
219 if (start+1 >= count)
222 if (PREFER_DISCRETE_ELT_PRIM( count-start, HW_LINES )) {
251 EMIT_TWO_ELTS( dest, 0, (j), (start) );
276 dest = TAG(emit_consecutive_elts)( ctx, dest, start, 1 );
290 GLuint start,
297 count -= (count-start)%3;
299 if (start+2 >= count) {
305 EMIT_PRIM( ctx, GL_TRIANGLES, HW_TRIANGLES, start, count );
311 GLuint start,
318 if (start + 2 >= count)
321 if (PREFER_DISCRETE_ELT_PRIM( count-start, HW_TRIANGLES ))
334 for (j = start; j + 2 < count; j += nr - 2 ) {
352 EMIT_PRIM( ctx, GL_TRIANGLE_STRIP, HW_TRIANGLE_STRIP_0, start, count );
356 GLuint start,
363 if (start+2 >= count)
366 if (PREFER_DISCRETE_ELT_PRIM( count-start, HW_TRIANGLES ))
375 for (j = start + 1; j + 1 < count; j += nr - 1 ) {
383 EMIT_ELT( dest, 0, (start) );
393 EMIT_PRIM( ctx, GL_TRIANGLE_FAN, HW_TRIANGLE_FAN, start, count );
399 GLuint start,
406 if (start+2 >= count)
409 EMIT_PRIM( ctx, GL_POLYGON, HW_POLYGON, start, count );
413 GLuint start,
420 count -= (count-start) & 1;
422 if (start+3 >= count)
426 EMIT_PRIM( ctx, GL_QUAD_STRIP, HW_QUAD_STRIP, start, count );
439 for (j = start; j + 3 < count; j += nr - 2 ) {
458 EMIT_PRIM( ctx, GL_TRIANGLE_STRIP, HW_TRIANGLE_STRIP_0, start, count );
464 GLuint start,
470 count -= (count-start)%4;
472 if (start+3 >= count)
476 EMIT_PRIM( ctx, GL_QUADS, HW_QUADS, start, count );
492 for (j = start; j < count; j += nr ) {
513 GLuint start,
543 GLuint start,
555 for (j = start; j < count; j += nr ) {
567 GLuint start,
577 if (start+1 >= count)
589 count -= (count-start) & 1;
592 for (j = start; j < count; j += nr ) {
606 GLuint start,
616 if (start+1 >= count)
624 for (j = start; j + 1 < count; j += nr - 1 ) {
635 GLuint start,
648 j = start;
650 j = start + 1;
654 if (start+1 >= count)
678 dest = TAG(emit_elts)( ctx, dest, elts+start, 1 );
687 GLuint start,
697 if (start+2 >= count)
706 count -= (count-start)%3;
708 for (j = start; j < count; j += nr) {
720 GLuint start,
730 if (start+2 >= count)
739 for (j = start ; j + 2 < count; j += nr - 2 ) {
750 GLuint start,
760 if (start+2 >= count)
765 for (j = start + 1 ; j + 1 < count; j += nr - 1 ) {
768 dest = TAG(emit_elts)( ctx, dest, elts+start, 1 );
777 GLuint start,
787 if (start+2 >= count)
792 for (j = start + 1 ; j + 1 < count ; j += nr - 1 ) {
795 dest = TAG(emit_elts)( ctx, dest, elts+start, 1 );
803 GLuint start,
807 if (start+3 >= count)
822 count -= (count-start) & 1;
829 for (j = start; j + 3 < count; j += nr - 2 ) {
838 for ( i = j-start ; i < j-start+quads ; i++, elts += 2 ) {
852 for (j = start; j + 3 < count; j += nr - 2 ) {
865 GLuint start,
869 if (start+3 >= count)
884 count -= (count-start) & 3;
890 for (j = start; j + 3 < count; j += nr ) {
898 for ( i = j-start ; i < j-start+quads ; i++, elts += 4 ) {