Home | History | Annotate | Download | only in glapi

Lines Matching refs:pc

159     (void) __glXFlushRenderBuffer(gc, gc->pc);
174 (void) __glXFlushRenderBuffer(gc, gc->pc);
203 emit_header(gc->pc, rop, cmdlen);
204 (void) memcpy((void *)(gc->pc + 4), ptr, 4);
205 gc->pc += cmdlen;
206 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
215 emit_header(gc->pc, rop, cmdlen);
216 (void) memcpy((void *)(gc->pc + 4), ptr, 4);
217 gc->pc += cmdlen;
218 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
227 emit_header(gc->pc, rop, cmdlen);
228 (void) memcpy((void *)(gc->pc + 4), ptr, 8);
229 gc->pc += cmdlen;
230 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
239 emit_header(gc->pc, rop, cmdlen);
240 (void) memcpy((void *)(gc->pc + 4), ptr, 8);
241 gc->pc += cmdlen;
242 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
251 emit_header(gc->pc, rop, cmdlen);
252 (void) memcpy((void *)(gc->pc + 4), ptr, 12);
253 gc->pc += cmdlen;
254 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
263 emit_header(gc->pc, rop, cmdlen);
264 (void) memcpy((void *)(gc->pc + 4), ptr, 16);
265 gc->pc += cmdlen;
266 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
275 emit_header(gc->pc, rop, cmdlen);
276 (void) memcpy((void *)(gc->pc + 4), ptr, 24);
277 gc->pc += cmdlen;
278 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
287 emit_header(gc->pc, rop, cmdlen);
288 (void) memcpy((void *)(gc->pc + 4), ptr, 32);
289 gc->pc += cmdlen;
290 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
304 (void) __glXFlushRenderBuffer(gc, gc->pc);
307 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_NewList, cmdlen);
308 (void) memcpy((void *)(pc + 0), (void *)(&list), 4);
309 (void) memcpy((void *)(pc + 4), (void *)(&mode), 4);
327 (void) __glXFlushRenderBuffer(gc, gc->pc);
342 emit_header(gc->pc, X_GLrop_CallList, cmdlen);
343 (void) memcpy((void *)(gc->pc + 4), (void *)(&list), 4);
344 gc->pc += cmdlen;
345 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
364 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
365 (void) __glXFlushRenderBuffer(gc, gc->pc);
367 emit_header(gc->pc, X_GLrop_CallLists, cmdlen);
368 (void) memcpy((void *)(gc->pc + 4), (void *)(&n), 4);
369 (void) memcpy((void *)(gc->pc + 8), (void *)(&type), 4);
370 (void) memcpy((void *)(gc->pc + 12), (void *)(lists), safe_mul(compsize, n));
371 gc->pc += cmdlen;
372 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
377 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
378 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
379 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
380 (void) memcpy((void *)(pc + 8), (void *)(&n), 4);
381 (void) memcpy((void *)(pc + 12), (void *)(&type), 4);
382 __glXSendLargeCommand(gc, pc, 16, lists, safe_mul(compsize, n));
398 (void) __glXFlushRenderBuffer(gc, gc->pc);
401 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_DeleteLists, cmdlen);
402 (void) memcpy((void *)(pc + 0), (void *)(&list), 4);
403 (void) memcpy((void *)(pc + 4), (void *)(&range), 4);
422 (void) __glXFlushRenderBuffer(gc, gc->pc);
427 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GenLists, cmdlen);
428 (void) memcpy((void *)(pc + 0), (void *)(&range), 4);
441 emit_header(gc->pc, X_GLrop_ListBase, cmdlen);
442 (void) memcpy((void *)(gc->pc + 4), (void *)(&base), 4);
443 gc->pc += cmdlen;
444 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
452 emit_header(gc->pc, X_GLrop_Begin, cmdlen);
453 (void) memcpy((void *)(gc->pc + 4), (void *)(&mode), 4);
454 gc->pc += cmdlen;
455 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
470 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
471 (void) __glXFlushRenderBuffer(gc, gc->pc);
473 emit_header(gc->pc, X_GLrop_Bitmap, cmdlen);
474 (void) memcpy((void *)(gc->pc + 24), (void *)(&width), 4);
475 (void) memcpy((void *)(gc->pc + 28), (void *)(&height), 4);
476 (void) memcpy((void *)(gc->pc + 32), (void *)(&xorig), 4);
477 (void) memcpy((void *)(gc->pc + 36), (void *)(&yorig), 4);
478 (void) memcpy((void *)(gc->pc + 40), (void *)(&xmove), 4);
479 (void) memcpy((void *)(gc->pc + 44), (void *)(&ymove), 4);
481 gc->fillImage(gc, 2, width, height, 1, GL_COLOR_INDEX, GL_BITMAP, bitmap, gc->pc + 48, gc->pc + 4);
483 (void) memcpy( gc->pc + 4, default_pixel_store_2D, default_pixel_store_2D_size );
485 gc->pc += cmdlen;
486 if (gc->pc > gc->limit) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
491 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
492 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
493 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
494 (void) memcpy((void *)(pc + 28), (void *)(&width), 4);
495 pc + 32), (void *)(&height), 4);
496 (void) memcpy((void *)(pc + 36), (void *)(&xorig), 4);
497 (void) memcpy((void *)(pc + 40), (void *)(&yorig), 4);
498 (void) memcpy((void *)(pc + 44), (void *)(&xmove), 4);
499 (void) memcpy((void *)(pc + 48), (void *)(&ymove), 4);
500 __glXSendLargeImage(gc, compsize, 2, width, height, 1, GL_COLOR_INDEX, GL_BITMAP, bitmap, pc + 52, pc + 8);
510 emit_header(gc->pc, X_GLrop_Color3bv, cmdlen);
511 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 1);
512 (void) memcpy((void *)(gc->pc + 5), (void *)(&green), 1);
513 (void) memcpy((void *)(gc->pc + 6), (void *)(&blue), 1);
514 gc->pc += cmdlen;
515 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
529 emit_header(gc->pc, X_GLrop_Color3dv, cmdlen);
530 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 8);
531 (void) memcpy((void *)(gc->pc + 12), (void *)(&green), 8);
532 (void) memcpy((void *)(gc->pc + 20), (void *)(&blue), 8);
533 gc->pc += cmdlen;
534 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
548 emit_header(gc->pc, X_GLrop_Color3fv, cmdlen);
549 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 4);
550 (void) memcpy((void *)(gc->pc + 8), (void *)(&green), 4);
551 (void) memcpy((void *)(gc->pc + 12), (void *)(&blue), 4);
552 gc->pc += cmdlen;
553 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
567 emit_header(gc->pc, X_GLrop_Color3iv, cmdlen);
568 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 4);
569 (void) memcpy((void *)(gc->pc + 8), (void *)(&green), 4);
570 (void) memcpy((void *)(gc->pc + 12), (void *)(&blue), 4);
571 gc->pc += cmdlen;
572 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
586 emit_header(gc->pc, X_GLrop_Color3sv, cmdlen);
587 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 2);
588 (void) memcpy((void *)(gc->pc + 6), (void *)(&green), 2);
589 (void) memcpy((void *)(gc->pc + 8), (void *)(&blue), 2);
590 gc->pc += cmdlen;
591 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
605 emit_header(gc->pc, X_GLrop_Color3ubv, cmdlen);
606 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 1);
607 (void) memcpy((void *)(gc->pc + 5), (void *)(&green), 1);
608 (void) memcpy((void *)(gc->pc + 6), (void *)(&blue), 1);
609 gc->pc += cmdlen;
610 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
624 emit_header(gc->pc, X_GLrop_Color3uiv, cmdlen);
625 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 4);
626 (void) memcpy((void *)(gc->pc + 8), (void *)(&green), 4);
627 (void) memcpy((void *)(gc->pc + 12), (void *)(&blue), 4);
628 gc->pc += cmdlen;
629 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
643 emit_header(gc->pc, X_GLrop_Color3usv, cmdlen);
644 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 2);
645 (void) memcpy((void *)(gc->pc + 6), (void *)(&green), 2);
646 (void) memcpy((void *)(gc->pc + 8), (void *)(&blue), 2);
647 gc->pc += cmdlen;
648 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
662 emit_header(gc->pc, X_GLrop_Color4bv, cmdlen);
663 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 1);
664 (void) memcpy((void *)(gc->pc + 5), (void *)(&green), 1);
665 (void) memcpy((void *)(gc->pc + 6), (void *)(&blue), 1);
666 (void) memcpy((void *)(gc->pc + 7), (void *)(&alpha), 1);
667 gc->pc += cmdlen;
668 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
682 emit_header(gc->pc, X_GLrop_Color4dv, cmdlen);
683 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 8);
684 (void) memcpy((void *)(gc->pc + 12), (void *)(&green), 8);
685 (void) memcpy((void *)(gc->pc + 20), (void *)(&blue), 8);
686 (void) memcpy((void *)(gc->pc + 28), (void *)(&alpha), 8);
687 gc->pc += cmdlen;
688 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
702 emit_header(gc->pc, X_GLrop_Color4fv, cmdlen);
703 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 4);
704 (void) memcpy((void *)(gc->pc + 8), (void *)(&green), 4);
705 (void) memcpy((void *)(gc->pc + 12), (void *)(&blue), 4);
706 (void) memcpy((void *)(gc->pc + 16), (void *)(&alpha), 4);
707 gc->pc += cmdlen;
708 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
722 emit_header(gc->pc, X_GLrop_Color4iv, cmdlen);
723 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 4);
724 (void) memcpy((void *)(gc->pc + 8), (void *)(&green), 4);
725 (void) memcpy((void *)(gc->pc + 12), (void *)(&blue), 4);
726 (void) memcpy((void *)(gc->pc + 16), (void *)(&alpha), 4);
727 gc->pc += cmdlen;
728 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
742 emit_header(gc->pc, X_GLrop_Color4sv, cmdlen);
743 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 2);
744 (void) memcpy((void *)(gc->pc + 6), (void *)(&green), 2);
745 (void) memcpy((void *)(gc->pc + 8), (void *)(&blue), 2);
746 (void) memcpy((void *)(gc->pc + 10), (void *)(&alpha), 2);
747 gc->pc += cmdlen;
748 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
762 emit_header(gc->pc, X_GLrop_Color4ubv, cmdlen);
763 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 1);
764 (void) memcpy((void *)(gc->pc + 5), (void *)(&green), 1);
765 (void) memcpy((void *)(gc->pc + 6), (void *)(&blue), 1);
766 (void) memcpy((void *)(gc->pc + 7), (void *)(&alpha), 1);
767 gc->pc += cmdlen;
768 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
782 emit_header(gc->pc, X_GLrop_Color4uiv, cmdlen);
783 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 4);
784 (void) memcpy((void *)(gc->pc + 8), (void *)(&green), 4);
785 (void) memcpy((void *)(gc->pc + 12), (void *)(&blue), 4);
786 (void) memcpy((void *)(gc->pc + 16), (void *)(&alpha), 4);
787 gc->pc += cmdlen;
788 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
802 emit_header(gc->pc, X_GLrop_Color4usv, cmdlen);
803 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 2);
804 (void) memcpy((void *)(gc->pc + 6), (void *)(&green), 2);
805 (void) memcpy((void *)(gc->pc + 8), (void *)(&blue), 2);
806 (void) memcpy((void *)(gc->pc + 10), (void *)(&alpha), 2);
807 gc->pc += cmdlen;
808 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
822 emit_header(gc->pc, X_GLrop_EdgeFlagv, cmdlen);
823 (void) memcpy((void *)(gc->pc + 4), (void *)(&flag), 1);
824 gc->pc += cmdlen;
825 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
833 emit_header(gc->pc, X_GLrop_EdgeFlagv, cmdlen);
834 (void) memcpy((void *)(gc->pc + 4), (void *)(flag), 1);
835 gc->pc += cmdlen;
836 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
844 emit_header(gc->pc, X_GLrop_End, cmdlen);
845 gc->pc += cmdlen;
846 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
854 emit_header(gc->pc, X_GLrop_Indexdv, cmdlen);
855 (void) memcpy((void *)(gc->pc + 4), (void *)(&c), 8);
856 gc->pc += cmdlen;
857 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
871 emit_header(gc->pc, X_GLrop_Indexfv, cmdlen);
872 (void) memcpy((void *)(gc->pc + 4), (void *)(&c), 4);
873 gc->pc += cmdlen;
874 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
888 emit_header(gc->pc, X_GLrop_Indexiv, cmdlen);
889 (void) memcpy((void *)(gc->pc + 4), (void *)(&c), 4);
890 gc->pc += cmdlen;
891 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
905 emit_header(gc->pc, X_GLrop_Indexsv, cmdlen);
906 (void) memcpy((void *)(gc->pc + 4), (void *)(&c), 2);
907 gc->pc += cmdlen;
908 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
916 emit_header(gc->pc, X_GLrop_Indexsv, cmdlen);
917 (void) memcpy((void *)(gc->pc + 4), (void *)(c), 2);
918 gc->pc += cmdlen;
919 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
927 emit_header(gc->pc, X_GLrop_Normal3bv, cmdlen);
928 (void) memcpy((void *)(gc->pc + 4), (void *)(&nx), 1);
929 (void) memcpy((void *)(gc->pc + 5), (void *)(&ny), 1);
930 (void) memcpy((void *)(gc->pc + 6), (void *)(&nz), 1);
931 gc->pc += cmdlen;
932 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
946 emit_header(gc->pc, X_GLrop_Normal3dv, cmdlen);
947 (void) memcpy((void *)(gc->pc + 4), (void *)(&nx), 8);
948 (void) memcpy((void *)(gc->pc + 12), (void *)(&ny), 8);
949 (void) memcpy((void *)(gc->pc + 20), (void *)(&nz), 8);
950 gc->pc += cmdlen;
951 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
965 emit_header(gc->pc, X_GLrop_Normal3fv, cmdlen);
966 (void) memcpy((void *)(gc->pc + 4), (void *)(&nx), 4);
967 (void) memcpy((void *)(gc->pc + 8), (void *)(&ny), 4);
968 (void) memcpy((void *)(gc->pc + 12), (void *)(&nz), 4);
969 gc->pc += cmdlen;
970 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
984 emit_header(gc->pc, X_GLrop_Normal3iv, cmdlen);
985 (void) memcpy((void *)(gc->pc + 4), (void *)(&nx), 4);
986 (void) memcpy((void *)(gc->pc + 8), (void *)(&ny), 4);
987 (void) memcpy((void *)(gc->pc + 12), (void *)(&nz), 4);
988 gc->pc += cmdlen;
989 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1003 emit_header(gc->pc, X_GLrop_Normal3sv, cmdlen);
1004 (void) memcpy((void *)(gc->pc + 4), (void *)(&nx), 2);
1005 (void) memcpy((void *)(gc->pc + 6), (void *)(&ny), 2);
1006 (void) memcpy((void *)(gc->pc + 8), (void *)(&nz), 2);
1007 gc->pc += cmdlen;
1008 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1022 emit_header(gc->pc, X_GLrop_RasterPos2dv, cmdlen);
1023 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 8);
1024 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 8);
1025 gc->pc += cmdlen;
1026 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1040 emit_header(gc->pc, X_GLrop_RasterPos2fv, cmdlen);
1041 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
1042 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
1043 gc->pc += cmdlen;
1044 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1058 emit_header(gc->pc, X_GLrop_RasterPos2iv, cmdlen);
1059 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
1060 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
1061 gc->pc += cmdlen;
1062 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1076 emit_header(gc->pc, X_GLrop_RasterPos2sv, cmdlen);
1077 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 2);
1078 (void) memcpy((void *)(gc->pc + 6), (void *)(&y), 2);
1079 gc->pc += cmdlen;
1080 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1094 emit_header(gc->pc, X_GLrop_RasterPos3dv, cmdlen);
1095 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 8);
1096 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 8);
1097 (void) memcpy((void *)(gc->pc + 20), (void *)(&z), 8);
1098 gc->pc += cmdlen;
1099 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1113 emit_header(gc->pc, X_GLrop_RasterPos3fv, cmdlen);
1114 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
1115 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
1116 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 4);
1117 gc->pc += cmdlen;
1118 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1132 emit_header(gc->pc, X_GLrop_RasterPos3iv, cmdlen);
1133 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
1134 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
1135 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 4);
1136 gc->pc += cmdlen;
1137 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1151 emit_header(gc->pc, X_GLrop_RasterPos3sv, cmdlen);
1152 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 2);
1153 (void) memcpy((void *)(gc->pc + 6), (void *)(&y), 2);
1154 (void) memcpy((void *)(gc->pc + 8), (void *)(&z), 2);
1155 gc->pc += cmdlen;
1156 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1170 emit_header(gc->pc, X_GLrop_RasterPos4dv, cmdlen);
1171 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 8);
1172 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 8);
1173 (void) memcpy((void *)(gc->pc + 20), (void *)(&z), 8);
1174 (void) memcpy((void *)(gc->pc + 28), (void *)(&w), 8);
1175 gc->pc += cmdlen;
1176 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1190 emit_header(gc->pc, X_GLrop_RasterPos4fv, cmdlen);
1191 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
1192 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
1193 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 4);
1194 (void) memcpy((void *)(gc->pc + 16), (void *)(&w), 4);
1195 gc->pc += cmdlen;
1196 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1210 emit_header(gc->pc, X_GLrop_RasterPos4iv, cmdlen);
1211 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
1212 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
1213 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 4);
1214 (void) memcpy((void *)(gc->pc + 16), (void *)(&w), 4);
1215 gc->pc += cmdlen;
1216 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1230 emit_header(gc->pc, X_GLrop_RasterPos4sv, cmdlen);
1231 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 2);
1232 (void) memcpy((void *)(gc->pc + 6), (void *)(&y), 2);
1233 (void) memcpy((void *)(gc->pc + 8), (void *)(&z), 2);
1234 (void) memcpy((void *)(gc->pc + 10), (void *)(&w), 2);
1235 gc->pc += cmdlen;
1236 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1250 emit_header(gc->pc, X_GLrop_Rectdv, cmdlen);
1251 (void) memcpy((void *)(gc->pc + 4), (void *)(&x1), 8);
1252 (void) memcpy((void *)(gc->pc + 12), (void *)(&y1), 8);
1253 (void) memcpy((void *)(gc->pc + 20), (void *)(&x2), 8);
1254 (void) memcpy((void *)(gc->pc + 28), (void *)(&y2), 8);
1255 gc->pc += cmdlen;
1256 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1264 emit_header(gc->pc, X_GLrop_Rectdv, cmdlen);
1265 (void) memcpy((void *)(gc->pc + 4), (void *)(v1), 16);
1266 (void) memcpy((void *)(gc->pc + 20), (void *)(v2), 16);
1267 gc->pc += cmdlen;
1268 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1276 emit_header(gc->pc, X_GLrop_Rectfv, cmdlen);
1277 (void) memcpy((void *)(gc->pc + 4), (void *)(&x1), 4);
1278 (void) memcpy((void *)(gc->pc + 8), (void *)(&y1), 4);
1279 (void) memcpy((void *)(gc->pc + 12), (void *)(&x2), 4);
1280 (void) memcpy((void *)(gc->pc + 16), (void *)(&y2), 4);
1281 gc->pc += cmdlen;
1282 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1290 emit_header(gc->pc, X_GLrop_Rectfv, cmdlen);
1291 (void) memcpy((void *)(gc->pc + 4), (void *)(v1), 8);
1292 (void) memcpy((void *)(gc->pc + 12), (void *)(v2), 8);
1293 gc->pc += cmdlen;
1294 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1302 emit_header(gc->pc, X_GLrop_Rectiv, cmdlen);
1303 (void) memcpy((void *)(gc->pc + 4), (void *)(&x1), 4);
1304 (void) memcpy((void *)(gc->pc + 8), (void *)(&y1), 4);
1305 (void) memcpy((void *)(gc->pc + 12), (void *)(&x2), 4);
1306 (void) memcpy((void *)(gc->pc + 16), (void *)(&y2), 4);
1307 gc->pc += cmdlen;
1308 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1316 emit_header(gc->pc, X_GLrop_Rectiv, cmdlen);
1317 (void) memcpy((void *)(gc->pc + 4), (void *)(v1), 8);
1318 (void) memcpy((void *)(gc->pc + 12), (void *)(v2), 8);
1319 gc->pc += cmdlen;
1320 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1328 emit_header(gc->pc, X_GLrop_Rectsv, cmdlen);
1329 (void) memcpy((void *)(gc->pc + 4), (void *)(&x1), 2);
1330 (void) memcpy((void *)(gc->pc + 6), (void *)(&y1), 2);
1331 (void) memcpy((void *)(gc->pc + 8), (void *)(&x2), 2);
1332 (void) memcpy((void *)(gc->pc + 10), (void *)(&y2), 2);
1333 gc->pc += cmdlen;
1334 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1342 emit_header(gc->pc, X_GLrop_Rectsv, cmdlen);
1343 (void) memcpy((void *)(gc->pc + 4), (void *)(v1), 4);
1344 (void) memcpy((void *)(gc->pc + 8), (void *)(v2), 4);
1345 gc->pc += cmdlen;
1346 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1354 emit_header(gc->pc, X_GLrop_TexCoord1dv, cmdlen);
1355 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 8);
1356 gc->pc += cmdlen;
1357 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1371 emit_header(gc->pc, X_GLrop_TexCoord1fv, cmdlen);
1372 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 4);
1373 gc->pc += cmdlen;
1374 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1388 emit_header(gc->pc, X_GLrop_TexCoord1iv, cmdlen);
1389 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 4);
1390 gc->pc += cmdlen;
1391 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1405 emit_header(gc->pc, X_GLrop_TexCoord1sv, cmdlen);
1406 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 2);
1407 gc->pc += cmdlen;
1408 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1416 emit_header(gc->pc, X_GLrop_TexCoord1sv, cmdlen);
1417 (void) memcpy((void *)(gc->pc + 4), (void *)(v), 2);
1418 gc->pc += cmdlen;
1419 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1427 emit_header(gc->pc, X_GLrop_TexCoord2dv, cmdlen);
1428 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 8);
1429 (void) memcpy((void *)(gc->pc + 12), (void *)(&t), 8);
1430 gc->pc += cmdlen;
1431 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1445 emit_header(gc->pc
1446 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 4);
1447 (void) memcpy((void *)(gc->pc + 8), (void *)(&t), 4);
1448 gc->pc += cmdlen;
1449 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1463 emit_header(gc->pc, X_GLrop_TexCoord2iv, cmdlen);
1464 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 4);
1465 (void) memcpy((void *)(gc->pc + 8), (void *)(&t), 4);
1466 gc->pc += cmdlen;
1467 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1481 emit_header(gc->pc, X_GLrop_TexCoord2sv, cmdlen);
1482 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 2);
1483 (void) memcpy((void *)(gc->pc + 6), (void *)(&t), 2);
1484 gc->pc += cmdlen;
1485 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1499 emit_header(gc->pc, X_GLrop_TexCoord3dv, cmdlen);
1500 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 8);
1501 (void) memcpy((void *)(gc->pc + 12), (void *)(&t), 8);
1502 (void) memcpy((void *)(gc->pc + 20), (void *)(&r), 8);
1503 gc->pc += cmdlen;
1504 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1518 emit_header(gc->pc, X_GLrop_TexCoord3fv, cmdlen);
1519 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 4);
1520 (void) memcpy((void *)(gc->pc + 8), (void *)(&t), 4);
1521 (void) memcpy((void *)(gc->pc + 12), (void *)(&r), 4);
1522 gc->pc += cmdlen;
1523 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1537 emit_header(gc->pc, X_GLrop_TexCoord3iv, cmdlen);
1538 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 4);
1539 (void) memcpy((void *)(gc->pc + 8), (void *)(&t), 4);
1540 (void) memcpy((void *)(gc->pc + 12), (void *)(&r), 4);
1541 gc->pc += cmdlen;
1542 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1556 emit_header(gc->pc, X_GLrop_TexCoord3sv, cmdlen);
1557 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 2);
1558 (void) memcpy((void *)(gc->pc + 6), (void *)(&t), 2);
1559 (void) memcpy((void *)(gc->pc + 8), (void *)(&r), 2);
1560 gc->pc += cmdlen;
1561 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1575 emit_header(gc->pc, X_GLrop_TexCoord4dv, cmdlen);
1576 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 8);
1577 (void) memcpy((void *)(gc->pc + 12), (void *)(&t), 8);
1578 (void) memcpy((void *)(gc->pc + 20), (void *)(&r), 8);
1579 (void) memcpy((void *)(gc->pc + 28), (void *)(&q), 8);
1580 gc->pc += cmdlen;
1581 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1595 emit_header(gc->pc, X_GLrop_TexCoord4fv, cmdlen);
1596 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 4);
1597 (void) memcpy((void *)(gc->pc + 8), (void *)(&t), 4);
1598 (void) memcpy((void *)(gc->pc + 12), (void *)(&r), 4);
1599 (void) memcpy((void *)(gc->pc + 16), (void *)(&q), 4);
1600 gc->pc += cmdlen;
1601 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1615 emit_header(gc->pc, X_GLrop_TexCoord4iv, cmdlen);
1616 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 4);
1617 (void) memcpy((void *)(gc->pc + 8), (void *)(&t), 4);
1618 (void) memcpy((void *)(gc->pc + 12), (void *)(&r), 4);
1619 (void) memcpy((void *)(gc->pc + 16), (void *)(&q), 4);
1620 gc->pc += cmdlen;
1621 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1635 emit_header(gc->pc, X_GLrop_TexCoord4sv, cmdlen);
1636 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 2);
1637 (void) memcpy((void *)(gc->pc + 6), (void *)(&t), 2);
1638 (void) memcpy((void *)(gc->pc + 8), (void *)(&r), 2);
1639 (void) memcpy((void *)(gc->pc + 10), (void *)(&q), 2);
1640 gc->pc += cmdlen;
1641 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1655 emit_header(gc->pc, X_GLrop_Vertex2dv, cmdlen);
1656 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 8);
1657 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 8);
1658 gc->pc += cmdlen;
1659 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1673 emit_header(gc->pc, X_GLrop_Vertex2fv, cmdlen);
1674 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
1675 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
1676 gc->pc += cmdlen;
1677 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1691 emit_header(gc->pc, X_GLrop_Vertex2iv, cmdlen);
1692 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
1693 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
1694 gc->pc += cmdlen;
1695 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1709 emit_header(gc->pc, X_GLrop_Vertex2sv, cmdlen);
1710 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 2);
1711 (void) memcpy((void *)(gc->pc + 6), (void *)(&y), 2);
1712 gc->pc += cmdlen;
1713 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1727 emit_header(gc->pc, X_GLrop_Vertex3dv, cmdlen);
1728 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 8);
1729 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 8);
1730 (void) memcpy((void *)(gc->pc + 20), (void *)(&z), 8);
1731 gc->pc += cmdlen;
1732 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1746 emit_header(gc->pc, X_GLrop_Vertex3fv, cmdlen);
1747 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
1748 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
1749 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 4);
1750 gc->pc += cmdlen;
1751 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1765 emit_header(gc->pc, X_GLrop_Vertex3iv, cmdlen);
1766 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
1767 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
1768 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 4);
1769 gc->pc += cmdlen;
1770 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1784 emit_header(gc->pc, X_GLrop_Vertex3sv, cmdlen);
1785 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 2);
1786 (void) memcpy((void *)(gc->pc + 6), (void *)(&y), 2);
1787 (void) memcpy((void *)(gc->pc + 8), (void *)(&z), 2);
1788 gc->pc += cmdlen;
1789 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1803 emit_header(gc->pc, X_GLrop_Vertex4dv, cmdlen);
1804 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 8);
1805 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 8);
1806 (void) memcpy((void *)(gc->pc + 20), (void *)(&z), 8);
1807 (void) memcpy((void *)(gc->pc + 28), (void *)(&w), 8);
1808 gc->pc += cmdlen;
1809 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1823 emit_header(gc->pc, X_GLrop_Vertex4fv, cmdlen);
1824 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
1825 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
1826 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 4);
1827 (void) memcpy((void *)(gc->pc + 16), (void *)(&w), 4);
1828 gc->pc += cmdlen;
1829 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1843 emit_header(gc->pc, X_GLrop_Vertex4iv, cmdlen);
1844 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
1845 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
1846 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 4);
1847 (void) memcpy((void *)(gc->pc + 16), (void *)(&w), 4);
1848 gc->pc += cmdlen;
1849 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1863 emit_header(gc->pc, X_GLrop_Vertex4sv, cmdlen);
1864 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 2);
1865 (void) memcpy((void *)(gc->pc + 6), (void *)(&y), 2);
1866 (void) memcpy((void *)(gc->pc + 8), (void *)(&z), 2);
1867 (void) memcpy((void *)(gc->pc + 10), (void *)(&w), 2);
1868 gc->pc += cmdlen;
1869 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1883 emit_header(gc->pc, X_GLrop_ClipPlane, cmdlen);
1884 (void) memcpy((void *)(gc->pc + 4), (void *)(equation), 32);
1885 (void) memcpy((void *)(gc->pc + 36), (void *)(&plane), 4);
1886 gc->pc += cmdlen;
1887 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1895 emit_header(gc->pc, X_GLrop_ColorMaterial, cmdlen);
1896 (void) memcpy((void *)(gc->pc + 4), (void *)(&face), 4);
1897 (void) memcpy((void *)(gc->pc + 8), (void *)(&mode), 4);
1898 gc->pc += cmdlen;
1899 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1907 emit_header(gc->pc, X_GLrop_CullFace, cmdlen);
1908 (void) memcpy((void *)(gc->pc + 4), (void *)(&mode), 4);
1909 gc->pc += cmdlen;
1910 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1918 emit_header(gc->pc, X_GLrop_Fogf, cmdlen);
1919 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
1920 (void) memcpy((void *)(gc->pc + 8), (void *)(&param), 4);
1921 gc->pc += cmdlen;
1922 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1935 emit_header(gc->pc, X_GLrop_Fogfv, cmdlen);
1936 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
1937 (void) memcpy((void *)(gc->pc + 8), (void *)(params), safe_mul(compsize, 4));
1938 gc->pc += cmdlen;
1939 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1947 emit_header(gc->pc, X_GLrop_Fogi, cmdlen);
1948 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
1949 (void) memcpy((void *)(gc->pc + 8), (void *)(&param), 4);
1950 gc->pc += cmdlen;
1951 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1964 emit_header(gc->pc, X_GLrop_Fogiv, cmdlen);
1965 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
1966 (void) memcpy((void *)(gc->pc + 8), (void *)(params), safe_mul(compsize, 4));
1967 gc->pc += cmdlen;
1968 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1976 emit_header(gc->pc, X_GLrop_FrontFace, cmdlen);
1977 (void) memcpy((void *)(gc->pc + 4), (void *)(&mode), 4);
1978 gc->pc += cmdlen;
1979 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1987 emit_header(gc->pc, X_GLrop_Hint, cmdlen);
1988 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
1989 (void) memcpy((void *)(gc->pc + 8), (void *)(&mode), 4);
1990 gc->pc += cmdlen;
1991 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
1999 emit_header(gc->pc, X_GLrop_Lightf, cmdlen);
2000 (void) memcpy((void *)(gc->pc + 4), (void *)(&light), 4);
2001 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2002 (void) memcpy((void *)(gc->pc + 12), (void *)(&param), 4);
2003 gc->pc += cmdlen;
2004 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2017 emit_header(gc->pc, X_GLrop_Lightfv, cmdlen);
2018 (void) memcpy((void *)(gc->pc + 4), (void *)(&light), 4);
2019 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2020 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
2021 gc->pc += cmdlen;
2022 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2030 emit_header(gc->pc, X_GLrop_Lighti, cmdlen);
2031 (void) memcpy((void *)(gc->pc + 4), (void *)(&light), 4);
2032 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2033 (void) memcpy((void *)(gc->pc + 12), (void *)(&param), 4);
2034 gc->pc += cmdlen;
2035 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2048 emit_header(gc->pc, X_GLrop_Lightiv, cmdlen);
2049 (void) memcpy((void *)(gc->pc + 4), (void *)(&light), 4);
2050 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2051 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
2052 gc->pc += cmdlen;
2053 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2061 emit_header(gc->pc, X_GLrop_LightModelf, cmdlen);
2062 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
2063 (void) memcpy((void *)(gc->pc + 8), (void *)(&param), 4);
2064 gc->pc += cmdlen;
2065 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2078 emit_header(gc->pc, X_GLrop_LightModelfv, cmdlen);
2079 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
2080 (void) memcpy((void *)(gc->pc + 8), (void *)(params), safe_mul(compsize, 4));
2081 gc->pc += cmdlen;
2082 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2090 emit_header(gc->pc, X_GLrop_LightModeli, cmdlen);
2091 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
2092 (void) memcpy((void *)(gc->pc + 8), (void *)(&param), 4);
2093 gc->pc += cmdlen;
2094 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2107 emit_header(gc->pc, X_GLrop_LightModeliv, cmdlen);
2108 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
2109 (void) memcpy((void *)(gc->pc + 8), (void *)(params), safe_mul(compsize, 4));
2110 gc->pc += cmdlen;
2111 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2119 emit_header(gc->pc, X_GLrop_LineStipple, cmdlen);
2120 (void) memcpy((void *)(gc->pc + 4), (void *)(&factor), 4);
2121 (void) memcpy((void *)(gc->pc + 8), (void *)(&pattern), 2);
2122 gc->pc += cmdlen;
2123 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2131 emit_header(gc->pc, X_GLrop_LineWidth, cmdlen);
2132 (void) memcpy((void *)(gc->pc + 4), (void *)(&width), 4);
2133 gc->pc += cmdlen;
2134 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2142 emit_header(gc->pc, X_GLrop_Materialf, cmdlen);
2143 (void) memcpy((void *)(gc->pc + 4), (void *)(&face), 4);
2144 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2145 (void) memcpy((void *)(gc->pc + 12), (void *)(&param), 4);
2146 gc->pc += cmdlen;
2147 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2160 emit_header(gc->pc, X_GLrop_Materialfv, cmdlen);
2161 (void) memcpy((void *)(gc->pc + 4), (void *)(&face), 4);
2162 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2163 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
2164 gc->pc += cmdlen;
2165 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2173 emit_header(gc->pc, X_GLrop_Materiali, cmdlen);
2174 (void) memcpy((void *)(gc->pc + 4), (void *)(&face), 4);
2175 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2176 (void) memcpy((void *)(gc->pc + 12), (void *)(&param), 4);
2177 gc->pc += cmdlen;
2178 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2191 emit_header(gc->pc, X_GLrop_Materialiv, cmdlen);
2192 (void) memcpy((void *)(gc->pc + 4), (void *)(&face), 4);
2193 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2194 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
2195 gc->pc += cmdlen;
2196 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2204 emit_header(gc->pc, X_GLrop_PointSize, cmdlen);
2205 (void) memcpy((void *)(gc->pc + 4), (void *)(&size), 4);
2206 gc->pc += cmdlen;
2207 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2215 emit_header(gc->pc, X_GLrop_PolygonMode, cmdlen);
2216 (void) memcpy((void *)(gc->pc + 4), (void *)(&face), 4);
2217 (void) memcpy((void *)(gc->pc + 8), (void *)(&mode), 4);
2218 gc->pc += cmdlen;
2219 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2232 emit_header(gc->pc, X_GLrop_PolygonStipple, cmdlen);
2234 gc->fillImage(gc, 2, 32, 32, 1, GL_COLOR_INDEX, GL_BITMAP, mask, gc->pc + 24, gc->pc + 4);
2236 (void) memcpy( gc->pc + 4, default_pixel_store_2D, default_pixel_store_2D_size );
2238 gc->pc += cmdlen;
2239 if (gc->pc > gc->limit) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2247 emit_header(gc->pc, X_GLrop_Scissor, cmdlen);
2248 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
2249 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
2250 (void) memcpy((void *)(gc->pc + 12), (void *)(&width), 4);
2251 (void) memcpy((void *)(gc->pc + 16), (void *)(&height), 4);
2252 gc->pc += cmdlen;
2253 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2261 emit_header(gc->pc, X_GLrop_ShadeModel, cmdlen);
2262 (void) memcpy((void *)(gc->pc + 4), (void *)(&mode), 4);
2263 gc->pc += cmdlen;
2264 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2272 emit_header(gc->pc, X_GLrop_TexParameterf, cmdlen);
2273 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
2274 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2275 (void) memcpy((void *)(gc->pc + 12), (void *)(&param), 4);
2276 gc->pc += cmdlen;
2277 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2290 emit_header(gc->pc, X_GLrop_TexParameterfv, cmdlen);
2291 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
2292 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2293 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
2294 gc->pc += cmdlen;
2295 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2303 emit_header(gc->pc, X_GLrop_TexParameteri, cmdlen);
2304 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
2305 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2306 (void) memcpy((void *)(gc->pc + 12), (void *)(&param), 4);
2307 gc->pc += cmdlen;
2308 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2321 emit_header(gc->pc, X_GLrop_TexParameteriv, cmdlen);
2322 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
2323 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2324 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
2325 gc->pc += cmdlen;
2326 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2341 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
2342 (void) __glXFlushRenderBuffer(gc, gc->pc);
2344 emit_header(gc->pc, opcode, cmdlen);
2345 (void) memcpy((void *)(gc->pc + 24), (void *)(&target), 4);
2346 (void) memcpy((void *)(gc->pc + 28), (void *)(&level), 4);
2347 (void) memcpy((void *)(gc->pc + 32), (void *)(&internalformat), 4);
2348 (void) memcpy((void *)(gc->pc + 36), (void *)(&width), 4);
2349 (void) memcpy((void *)(gc->pc + 40), (void *)(&height), 4);
2350 (void) memcpy((void *)(gc->pc + 44), (void *)(&border), 4);
2351 (void) memcpy((void *)(gc->pc + 48), (void *)(&format), 4);
2352 (void) memcpy((void *)(gc->pc + 52), (void *)(&type), 4);
2354 gc->fillImage(gc, dim, width, height, 1, format, type, pixels, gc->pc + 56, gc->pc + 4);
2356 (void) memcpy( gc->pc + 4, default_pixel_store_2D, default_pixel_store_2D_size );
2358 gc->pc += cmdlen;
2359 if (gc->pc > gc->limit) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2364 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
2365 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
2366 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
2367 (void) memcpy((void *)(pc + 28), (void *)(&target), 4);
2368 (void) memcpy((void *)(pc + 32), (void *)(&level), 4);
2369 (void) memcpy((void *)(pc + 36), (void *)(&internalformat), 4);
2370 (void) memcpy((void *)(pc + 40), (void *)(&width), 4);
2371 (void) memcpy((void *)(pc + 44), (void *)(&height), 4);
2372 (void) memcpy((void *)(pc + 48), (void *)(&border), 4);
2373 (void) memcpy((void *)(pc + 52), (void *)(&format), 4);
2374 (void) memcpy((void *)(pc + 56), (void *)(&type), 4);
2375 __glXSendLargeImage(gc, compsize, dim, width, height, 1, format, type, pixels, pc + 60, pc + 8);
2397 emit_header(gc->pc, X_GLrop_TexEnvf, cmdlen);
2398 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
2399 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2400 (void) memcpy((void *)(gc->pc + 12), (void *)(&param), 4);
2401 gc->pc += cmdlen;
2402 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2415 emit_header(gc->pc, X_GLrop_TexEnvfv, cmdlen);
2416 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
2417 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2418 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
2419 gc->pc += cmdlen;
2420 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2428 emit_header(gc->pc, X_GLrop_TexEnvi, cmdlen);
2429 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
2430 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2431 (void) memcpy((void *)(gc->pc + 12), (void *)(&param), 4);
2432 gc->pc += cmdlen;
2433 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2446 emit_header(gc->pc, X_GLrop_TexEnviv, cmdlen);
2447 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
2448 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2449 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
2450 gc->pc += cmdlen;
2451 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2459 emit_header(gc->pc, X_GLrop_TexGend, cmdlen);
2460 (void) memcpy((void *)(gc->pc + 4), (void *)(&param), 8);
2461 (void) memcpy((void *)(gc->pc + 12), (void *)(&coord), 4);
2462 (void) memcpy((void *)(gc->pc + 16), (void *)(&pname), 4);
2463 gc->pc += cmdlen;
2464 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2477 emit_header(gc->pc, X_GLrop_TexGendv, cmdlen);
2478 (void) memcpy((void *)(gc->pc + 4), (void *)(&coord), 4);
2479 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2480 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 8));
2481 gc->pc += cmdlen;
2482 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2490 emit_header(gc->pc, X_GLrop_TexGenf, cmdlen);
2491 (void) memcpy((void *)(gc->pc + 4), (void *)(&coord), 4);
2492 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2493 (void) memcpy((void *)(gc->pc + 12), (void *)(&param), 4);
2494 gc->pc += cmdlen;
2495 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2508 emit_header(gc->pc, X_GLrop_TexGenfv, cmdlen);
2509 (void) memcpy((void *)(gc->pc + 4), (void *)(&coord), 4);
2510 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2511 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
2512 gc->pc += cmdlen;
2513 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2521 emit_header(gc->pc, X_GLrop_TexGeni, cmdlen);
2522 (void) memcpy((void *)(gc->pc + 4), (void *)(&coord), 4);
2523 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2524 (void) memcpy((void *)(gc->pc + 12), (void *)(&param), 4);
2525 gc->pc += cmdlen;
2526 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2539 emit_header(gc->pc, X_GLrop_TexGeniv, cmdlen);
2540 (void) memcpy((void *)(gc->pc + 4), (void *)(&coord), 4);
2541 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
2542 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
2543 gc->pc += cmdlen;
2544 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2552 emit_header(gc->pc, X_GLrop_InitNames, cmdlen);
2553 gc->pc += cmdlen;
2554 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2562 emit_header(gc->pc, X_GLrop_LoadName, cmdlen);
2563 (void) memcpy((void *)(gc->pc + 4), (void *)(&name), 4);
2564 gc->pc += cmdlen;
2565 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2573 emit_header(gc->pc, X_GLrop_PassThrough, cmdlen);
2574 (void) memcpy((void *)(gc->pc + 4), (void *)(&token), 4);
2575 gc->pc += cmdlen;
2576 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2584 emit_header(gc->pc, X_GLrop_PopName, cmdlen);
2585 gc->pc += cmdlen;
2586 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2594 emit_header(gc->pc, X_GLrop_PushName, cmdlen);
2595 (void) memcpy((void *)(gc->pc + 4), (void *)(&name), 4);
2596 gc->pc += cmdlen;
2597 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2605 emit_header(gc->pc, X_GLrop_DrawBuffer, cmdlen);
2606 (void) memcpy((void *)(gc->pc + 4), (void *)(&mode), 4);
2607 gc->pc += cmdlen;
2608 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2616 emit_header(gc->pc, X_GLrop_Clear, cmdlen);
2617 (void) memcpy((void *)(gc->pc + 4), (void *)(&mask), 4);
2618 gc->pc += cmdlen;
2619 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2627 emit_header(gc->pc, X_GLrop_ClearAccum, cmdlen);
2628 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 4);
2629 (void) memcpy((void *)(gc->pc + 8), (void *)(&green), 4);
2630 (void) memcpy((void *)(gc->pc + 12), (void *)(&blue), 4);
2631 (void) memcpy((void *)(gc->pc + 16), (void *)(&alpha), 4);
2632 gc->pc += cmdlen;
2633 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2641 emit_header(gc->pc, X_GLrop_ClearIndex, cmdlen);
2642 (void) memcpy((void *)(gc->pc + 4), (void *)(&c), 4);
2643 gc->pc += cmdlen;
2644 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2652 emit_header(gc->pc, X_GLrop_ClearColor, cmdlen);
2653 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 4);
2654 (void) memcpy((void *)(gc->pc + 8), (void *)(&green), 4);
2655 (void) memcpy((void *)(gc->pc + 12), (void *)(&blue), 4);
2656 (void) memcpy((void *)(gc->pc + 16), (void *)(&alpha), 4);
2657 gc->pc += cmdlen;
2658 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2666 emit_header(gc->pc, X_GLrop_ClearStencil, cmdlen);
2667 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 4);
2668 gc->pc += cmdlen;
2669 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2677 emit_header(gc->pc, X_GLrop_ClearDepth, cmdlen);
2678 (void) memcpy((void *)(gc->pc + 4), (void *)(&depth), 8);
2679 gc->pc += cmdlen;
2680 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2688 emit_header(gc->pc, X_GLrop_StencilMask, cmdlen);
2689 (void) memcpy((void *)(gc->pc + 4), (void *)(&mask), 4);
2690 gc->pc += cmdlen;
2691 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2699 emit_header(gc->pc, X_GLrop_ColorMask, cmdlen);
2700 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 1);
2701 (void) memcpy((void *)(gc->pc + 5), (void *)(&green), 1);
2702 (void) memcpy((void *)(gc->pc + 6), (void *)(&blue), 1);
2703 (void) memcpy((void *)(gc->pc + 7), (void *)(&alpha), 1);
2704 gc->pc += cmdlen;
2705 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2713 emit_header(gc->pc, X_GLrop_DepthMask, cmdlen);
2714 (void) memcpy((void *)(gc->pc + 4), (void *)(&flag), 1);
2715 gc->pc += cmdlen;
2716 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2724 emit_header(gc->pc, X_GLrop_IndexMask, cmdlen);
2725 (void) memcpy((void *)(gc->pc + 4), (void *)(&mask), 4);
2726 gc->pc += cmdlen;
2727 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2735 emit_header(gc->pc, X_GLrop_Accum, cmdlen);
2736 (void) memcpy((void *)(gc->pc + 4), (void *)(&op), 4);
2737 (void) memcpy((void *)(gc->pc + 8), (void *)(&value), 4);
2738 gc->pc += cmdlen;
2739 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2747 emit_header(gc->pc, X_GLrop_PopAttrib, cmdlen);
2748 gc->pc += cmdlen;
2749 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2757 emit_header(gc->pc, X_GLrop_PushAttrib, cmdlen);
2758 (void) memcpy((void *)(gc->pc + 4), (void *)(&mask), 4);
2759 gc->pc += cmdlen;
2760 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2768 emit_header(gc->pc, X_GLrop_MapGrid1d, cmdlen);
2769 (void) memcpy((void *)(gc->pc + 4), (void *)(&u1), 8);
2770 (void) memcpy((void *)(gc->pc + 12), (void *)(&u2), 8);
2771 (void) memcpy((void *)(gc->pc + 20), (void *)(&un), 4);
2772 gc->pc += cmdlen;
2773 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2781 emit_header(gc->pc, X_GLrop_MapGrid1f, cmdlen);
2782 (void) memcpy((void *)(gc->pc + 4), (void *)(&un), 4);
2783 (void) memcpy((void *)(gc->pc + 8), (void *)(&u1), 4);
2784 (void) memcpy((void *)(gc->pc + 12), (void *)(&u2), 4);
2785 gc->pc += cmdlen;
2786 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2794 emit_header(gc->pc, X_GLrop_MapGrid2d, cmdlen);
2795 (void) memcpy((void *)(gc->pc + 4), (void *)(&u1), 8);
2796 (void) memcpy((void *)(gc->pc + 12), (void *)(&u2), 8);
2797 (void) memcpy((void *)(gc->pc + 20), (void *)(&v1), 8);
2798 (void) memcpy((void *)(gc->pc + 28), (void *)(&v2), 8);
2799 (void) memcpy((void *)(gc->pc + 36), (void *)(&un), 4);
2800 (void) memcpy((void *)(gc->pc + 40), (void *)(&vn), 4);
2801 gc->pc += cmdlen;
2802 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2810 emit_header(gc->pc, X_GLrop_MapGrid2f, cmdlen);
2811 (void) memcpy((void *)(gc->pc + 4), (void *)(&un), 4);
2812 (void) memcpy((void *)(gc->pc + 8), (void *)(&u1), 4);
2813 (void) memcpy((void *)(gc->pc + 12), (void *)(&u2), 4);
2814 (void) memcpy((void *)(gc->pc + 16), (void *)(&vn), 4);
2815 (void) memcpy((void *)(gc->pc + 20), (void *)(&v1), 4);
2816 (void) memcpy((void *)(gc->pc + 24), (void *)(&v2), 4);
2817 gc->pc += cmdlen;
2818 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2826 emit_header(gc->pc, X_GLrop_EvalCoord1dv, cmdlen);
2827 (void) memcpy((void *)(gc->pc + 4), (void *)(&u), 8);
2828 gc->pc += cmdlen;
2829 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2843 emit_header(gc->pc, X_GLrop_EvalCoord1fv, cmdlen);
2844 (void) memcpy((void *)(gc->pc + 4), (void *)(&u), 4);
2845 gc->pc += cmdlen;
2846 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2860 emit_header(gc->pc, X_GLrop_EvalCoord2dv, cmdlen);
2861 (void) memcpy((void *)(gc->pc + 4), (void *)(&u), 8);
2862 (void) memcpy((void *)(gc->pc + 12), (void *)(&v), 8);
2863 gc->pc += cmdlen;
2864 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2878 emit_header(gc->pc, X_GLrop_EvalCoord2fv, cmdlen);
2879 (void) memcpy((void *)(gc->pc + 4), (void *)(&u), 4);
2880 (void) memcpy((void *)(gc->pc + 8), (void *)(&v), 4);
2881 gc->pc += cmdlen;
2882 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2896 emit_header(gc->pc, X_GLrop_EvalMesh1, cmdlen);
2897 (void) memcpy((void *)(gc->pc + 4), (void *)(&mode), 4);
2898 (void) memcpy((void *)(gc->pc + 8), (void *)(&i1), 4);
2899 (void) memcpy((void *)(gc->pc + 12), (void *)(&i2), 4);
2900 gc->pc += cmdlen;
2901 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2909 emit_header(gc->pc, X_GLrop_EvalPoint1, cmdlen);
2910 (void) memcpy((void *)(gc->pc + 4), (void *)(&i), 4);
2911 gc->pc += cmdlen;
2912 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2920 emit_header(gc->pc, X_GLrop_EvalMesh2, cmdlen);
2921 (void) memcpy((void *)(gc->pc + 4), (void *)(&mode), 4);
2922 (void) memcpy((void *)(gc->pc + 8), (void *)(&i1), 4);
2923 (void) memcpy((void *)(gc->pc + 12), (void *)(&i2), 4);
2924 (void) memcpy((void *)(gc->pc + 16), (void *)(&j1), 4);
2925 (void) memcpy((void *)(gc->pc + 20), (void *)(&j2), 4);
2926 gc->pc += cmdlen;
2927 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2935 emit_header(gc->pc, X_GLrop_EvalPoint2, cmdlen);
2936 (void) memcpy((void *)(gc->pc + 4), (void *)(&i), 4);
2937 (void) memcpy((void *)(gc->pc + 8), (void *)(&j), 4);
2938 gc->pc += cmdlen;
2939 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2947 emit_header(gc->pc, X_GLrop_AlphaFunc, cmdlen);
2948 (void) memcpy((void *)(gc->pc + 4), (void *)(&func), 4);
2949 (void) memcpy((void *)(gc->pc + 8), (void *)(&ref), 4);
2950 gc->pc += cmdlen;
2951 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2959 emit_header(gc->pc, X_GLrop_BlendFunc, cmdlen);
2960 (void) memcpy((void *)(gc->pc + 4), (void *)(&sfactor), 4);
2961 (void) memcpy((void *)(gc->pc + 8), (void *)(&dfactor), 4);
2962 gc->pc += cmdlen;
2963 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2971 emit_header(gc->pc, X_GLrop_LogicOp, cmdlen);
2972 (void) memcpy((void *)(gc->pc + 4), (void *)(&opcode), 4);
2973 gc->pc += cmdlen;
2974 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2982 emit_header(gc->pc, X_GLrop_StencilFunc, cmdlen);
2983 (void) memcpy((void *)(gc->pc + 4), (void *)(&func), 4);
2984 (void) memcpy((void *)(gc->pc + 8), (void *)(&ref), 4);
2985 (void) memcpy((void *)(gc->pc + 12), (void *)(&mask), 4);
2986 gc->pc += cmdlen;
2987 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
2995 emit_header(gc->pc, X_GLrop_StencilOp, cmdlen);
2996 (void) memcpy((void *)(gc->pc + 4), (void *)(&fail), 4);
2997 (void) memcpy((void *)(gc->pc + 8), (void *)(&zfail), 4);
2998 (void) memcpy((void *)(gc->pc + 12), (void *)(&zpass), 4);
2999 gc->pc += cmdlen;
3000 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3008 emit_header(gc->pc, X_GLrop_DepthFunc, cmdlen);
3009 (void) memcpy((void *)(gc->pc + 4), (void *)(&func), 4);
3010 gc->pc += cmdlen;
3011 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3019 emit_header(gc->pc, X_GLrop_PixelZoom, cmdlen);
3020 (void) memcpy((void *)(gc->pc + 4), (void *)(&xfactor), 4);
3021 (void) memcpy((void *)(gc->pc + 8), (void *)(&yfactor), 4);
3022 gc->pc += cmdlen;
3023 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3031 emit_header(gc->pc, X_GLrop_PixelTransferf, cmdlen);
3032 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
3033 (void) memcpy((void *)(gc->pc + 8), (void *)(&param), 4);
3034 gc->pc += cmdlen;
3035 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3043 emit_header(gc->pc, X_GLrop_PixelTransferi, cmdlen);
3044 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
3045 (void) memcpy((void *)(gc->pc + 8), (void *)(&param), 4);
3046 gc->pc += cmdlen;
3047 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3065 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
3066 (void) __glXFlushRenderBuffer(gc, gc->pc);
3068 emit_header(gc->pc, X_GLrop_PixelMapfv, cmdlen);
3069 (void) memcpy((void *)(gc->pc + 4), (void *)(&map), 4);
3070 (void) memcpy((void *)(gc->pc + 8), (void *)(&mapsize), 4);
3071 (void) memcpy((void *)(gc->pc + 12), (void *)(values), safe_mul(mapsize, 4));
3072 gc->pc += cmdlen;
3073 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3078 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
3079 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
3080 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
3081 (void) memcpy((void *)(pc + 8), (void *)(&map), 4);
3082 (void) memcpy((void *)(pc + 12), (void *)(&mapsize), 4);
3083 __glXSendLargeCommand(gc, pc, 16, values, safe_mul(mapsize, 4));
3103 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
3104 (void) __glXFlushRenderBuffer(gc, gc->pc);
3106 emit_header(gc->pc, X_GLrop_PixelMapuiv, cmdlen);
3107 (void) memcpy((void *)(gc->pc + 4), (void *)(&map), 4);
3108 (void) memcpy((void *)(gc->pc + 8), (void *)(&mapsize), 4);
3109 (void) memcpy((void *)(gc->pc + 12), (void *)(values), safe_mul(mapsize, 4));
3110 gc->pc += cmdlen;
3111 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3116 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
3117 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
3118 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
3119 (void) memcpy((void *)(pc + 8), (void *)(&map), 4);
3120 (void) memcpy((void *)(pc + 12), (void *)(&mapsize), 4);
3121 __glXSendLargeCommand(gc, pc, 16, values, safe_mul(mapsize, 4));
3141 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
3142 (void) __glXFlushRenderBuffer(gc, gc->pc);
3144 emit_header(gc->pc, X_GLrop_PixelMapusv, cmdlen);
3145 (void) memcpy((void *)(gc->pc + 4), (void *)(&map), 4);
3146 (void) memcpy((void *)(gc->pc + 8), (void *)(&mapsize), 4);
3147 (void) memcpy((void *)(gc->pc + 12), (void *)(values), safe_mul(mapsize, 2));
3148 gc->pc += cmdlen;
3149 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3154 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
3155 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
3156 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
3157 (void) memcpy((void *)(pc + 8), (void *)(&map), 4);
3158 (void) memcpy((void *)(pc + 12), (void *)(&mapsize), 4);
3159 __glXSendLargeCommand(gc, pc, 16, values, safe_mul(mapsize, 2));
3169 emit_header(gc->pc, X_GLrop_ReadBuffer, cmdlen);
3170 (void) memcpy((void *)(gc->pc + 4), (void *)(&mode), 4);
3171 gc->pc += cmdlen;
3172 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3180 pc, X_GLrop_CopyPixels, cmdlen);
3181 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
3182 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
3183 (void) memcpy((void *)(gc->pc + 12), (void *)(&width), 4);
3184 (void) memcpy((void *)(gc->pc + 16), (void *)(&height), 4);
3185 (void) memcpy((void *)(gc->pc + 20), (void *)(&type), 4);
3186 gc->pc += cmdlen;
3187 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3202 (void) __glXFlushRenderBuffer(gc, gc->pc);
3207 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_ReadPixels, cmdlen);
3208 (void) memcpy((void *)(pc + 0), (void *)(&x), 4);
3209 (void) memcpy((void *)(pc + 4), (void *)(&y), 4);
3210 (void) memcpy((void *)(pc + 8), (void *)(&width), 4);
3211 (void) memcpy((void *)(pc + 12), (void *)(&height), 4);
3212 (void) memcpy((void *)(pc + 16), (void *)(&format), 4);
3213 (void) memcpy((void *)(pc + 20), (void *)(&type), 4);
3214 *(int32_t *)(pc + 24) = 0;
3215 * (int8_t *)(pc + 24) = state->storePack.swapEndian;
3235 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
3236 (void) __glXFlushRenderBuffer(gc, gc->pc);
3238 emit_header(gc->pc, X_GLrop_DrawPixels, cmdlen);
3239 (void) memcpy((void *)(gc->pc + 24), (void *)(&width), 4);
3240 (void) memcpy((void *)(gc->pc + 28), (void *)(&height), 4);
3241 (void) memcpy((void *)(gc->pc + 32), (void *)(&format), 4);
3242 (void) memcpy((void *)(gc->pc + 36), (void *)(&type), 4);
3244 gc->fillImage(gc, 2, width, height, 1, format, type, pixels, gc->pc + 40, gc->pc + 4);
3246 (void) memcpy( gc->pc + 4, default_pixel_store_2D, default_pixel_store_2D_size );
3248 gc->pc += cmdlen;
3249 if (gc->pc > gc->limit) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3254 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
3255 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
3256 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
3257 (void) memcpy((void *)(pc + 28), (void *)(&width), 4);
3258 (void) memcpy((void *)(pc + 32), (void *)(&height), 4);
3259 (void) memcpy((void *)(pc + 36), (void *)(&format), 4);
3260 (void) memcpy((void *)(pc + 40), (void *)(&type), 4);
3261 __glXSendLargeImage(gc, compsize, 2, width, height, 1, format, type, pixels, pc + 44, pc + 8);
3277 (void) __glXFlushRenderBuffer(gc, gc->pc);
3282 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetClipPlane, cmdlen);
3283 (void) memcpy((void *)(pc + 0), (void *)(&plane), 4);
3302 (void) __glXFlushRenderBuffer(gc, gc->pc);
3312 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetLightfv, cmdlen);
3313 (void) memcpy((void *)(pc + 0), (void *)(&light), 4);
3314 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
3333 (void) __glXFlushRenderBuffer(gc, gc->pc);
3343 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetLightiv, cmdlen);
3344 (void) memcpy((void *)(pc + 0), (void *)(&light), 4);
3345 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
3364 (void) __glXFlushRenderBuffer(gc, gc->pc);
3374 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetMapdv, cmdlen);
3375 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
3376 (void) memcpy((void *)(pc + 4), (void *)(&query), 4);
3395 (void) __glXFlushRenderBuffer(gc, gc->pc);
3405 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetMapfv, cmdlen);
3406 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
3407 (void) memcpy((void *)(pc + 4), (void *)(&query), 4);
3426 (void) __glXFlushRenderBuffer(gc, gc->pc);
3436 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetMapiv, cmdlen);
3437 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
3438 (void) memcpy((void *)(pc + 4), (void *)(&query), 4);
3457 (void) __glXFlushRenderBuffer(gc, gc->pc);
3467 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetMaterialfv, cmdlen);
3468 (void) memcpy((void *)(pc + 0), (void *)(&face), 4);
3469 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
3488 (void) __glXFlushRenderBuffer(gc, gc->pc);
3498 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetMaterialiv, cmdlen);
3499 (void) memcpy((void *)(pc + 0), (void *)(&face), 4);
3500 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
3519 (void) __glXFlushRenderBuffer(gc, gc->pc);
3529 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetPixelMapfv, cmdlen);
3530 (void) memcpy((void *)(pc + 0), (void *)(&map), 4);
3549 (void) __glXFlushRenderBuffer(gc, gc->pc);
3559 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetPixelMapuiv, cmdlen);
3560 (void) memcpy((void *)(pc + 0), (void *)(&map), 4);
3579 (void) __glXFlushRenderBuffer(gc, gc->pc);
3589 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetPixelMapusv, cmdlen);
3590 (void) memcpy((void *)(pc + 0), (void *)(&map), 4);
3609 (void) __glXFlushRenderBuffer(gc, gc->pc);
3614 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetPolygonStipple, cmdlen);
3615 *(int32_t *)(pc + 0) = 0;
3634 (void) __glXFlushRenderBuffer(gc, gc->pc);
3644 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetTexEnvfv, cmdlen);
3645 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
3646 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
3665 (void) __glXFlushRenderBuffer(gc, gc->pc);
3675 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetTexEnviv, cmdlen);
3676 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
3677 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
3696 (void) __glXFlushRenderBuffer(gc, gc->pc);
3706 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetTexGendv, cmdlen);
3707 (void) memcpy((void *)(pc + 0), (void *)(&coord), 4);
3708 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
3727 (void) __glXFlushRenderBuffer(gc, gc->pc);
3737 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetTexGenfv, cmdlen);
3738 (void) memcpy((void *)(pc + 0), (void *)(&coord), 4);
3739 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
3758 (void) __glXFlushRenderBuffer(gc, gc->pc);
3768 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetTexGeniv, cmdlen);
3769 (void) memcpy((void *)(pc + 0), (void *)(&coord), 4);
3770 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
3790 (void) __glXFlushRenderBuffer(gc, gc->pc);
3797 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetTexImage, cmdlen);
3798 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
3799 (void) memcpy((void *)(pc + 4), (void *)(&level), 4);
3800 (void) memcpy((void *)(pc + 8), (void *)(&format), 4);
3801 (void) memcpy((void *)(pc + 12), (void *)(&type), 4);
3802 *(int32_t *)(pc + 16) = 0;
3803 * (int8_t *)(pc + 16) = state->storePack.swapEndian;
3822 (void) __glXFlushRenderBuffer(gc, gc->pc);
3832 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetTexParameterfv, cmdlen);
3833 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
3834 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
3853 (void) __glXFlushRenderBuffer(gc, gc->pc);
3863 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetTexParameteriv, cmdlen);
3864 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
3865 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
3884 (void) __glXFlushRenderBuffer(gc, gc->pc);
3894 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetTexLevelParameterfv, cmdlen);
3895 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
3896 (void) memcpy((void *)(pc + 4), (void *)(&level), 4);
3897 (void) memcpy((void *)(pc + 8), (void *)(&pname), 4);
3916 (void) __glXFlushRenderBuffer(gc, gc->pc);
3926 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetTexLevelParameteriv, cmdlen);
3927 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
3928 (void) memcpy((void *)(pc + 4), (void *)(&level), 4);
3929 (void) memcpy((void *)(pc + 8), (void *)(&pname), 4);
3949 (void) __glXFlushRenderBuffer(gc, gc->pc);
3954 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_IsList, cmdlen);
3955 (void) memcpy((void *)(pc + 0), (void *)(&list), 4);
3968 emit_header(gc->pc, X_GLrop_DepthRange, cmdlen);
3969 (void) memcpy((void *)(gc->pc + 4), (void *)(&zNear), 8);
3970 (void) memcpy((void *)(gc->pc + 12), (void *)(&zFar), 8);
3971 gc->pc += cmdlen;
3972 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3980 emit_header(gc->pc, X_GLrop_Frustum, cmdlen);
3981 (void) memcpy((void *)(gc->pc + 4), (void *)(&left), 8);
3982 (void) memcpy((void *)(gc->pc + 12), (void *)(&right), 8);
3983 (void) memcpy((void *)(gc->pc + 20), (void *)(&bottom), 8);
3984 (void) memcpy((void *)(gc->pc + 28), (void *)(&top), 8);
3985 (void) memcpy((void *)(gc->pc + 36), (void *)(&zNear), 8);
3986 (void) memcpy((void *)(gc->pc + 44), (void *)(&zFar), 8);
3987 gc->pc += cmdlen;
3988 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
3996 emit_header(gc->pc, X_GLrop_LoadIdentity, cmdlen);
3997 gc->pc += cmdlen;
3998 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4006 emit_header(gc->pc, X_GLrop_LoadMatrixf, cmdlen);
4007 (void) memcpy((void *)(gc->pc + 4), (void *)(m), 64);
4008 gc->pc += cmdlen;
4009 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4017 emit_header(gc->pc, X_GLrop_LoadMatrixd, cmdlen);
4018 (void) memcpy((void *)(gc->pc + 4), (void *)(m), 128);
4019 gc->pc += cmdlen;
4020 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4028 emit_header(gc->pc, X_GLrop_MatrixMode, cmdlen);
4029 (void) memcpy((void *)(gc->pc + 4), (void *)(&mode), 4);
4030 gc->pc += cmdlen;
4031 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4039 emit_header(gc->pc, X_GLrop_MultMatrixf, cmdlen);
4040 (void) memcpy((void *)(gc->pc + 4), (void *)(m), 64);
4041 gc->pc += cmdlen;
4042 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4050 emit_header(gc->pc, X_GLrop_MultMatrixd, cmdlen);
4051 (void) memcpy((void *)(gc->pc + 4), (void *)(m), 128);
4052 gc->pc += cmdlen;
4053 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4061 emit_header(gc->pc, X_GLrop_Ortho, cmdlen);
4062 (void) memcpy((void *)(gc->pc + 4), (void *)(&left), 8);
4063 (void) memcpy((void *)(gc->pc + 12), (void *)(&right), 8);
4064 (void) memcpy((void *)(gc->pc + 20), (void *)(&bottom), 8);
4065 (void) memcpy((void *)(gc->pc + 28), (void *)(&top), 8);
4066 (void) memcpy((void *)(gc->pc + 36), (void *)(&zNear), 8);
4067 (void) memcpy((void *)(gc->pc + 44), (void *)(&zFar), 8);
4068 gc->pc += cmdlen;
4069 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4077 emit_header(gc->pc, X_GLrop_PopMatrix, cmdlen);
4078 gc->pc += cmdlen;
4079 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4087 emit_header(gc->pc, X_GLrop_PushMatrix, cmdlen);
4088 gc->pc += cmdlen;
4089 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4097 emit_header(gc->pc, X_GLrop_Rotated, cmdlen);
4098 (void) memcpy((void *)(gc->pc + 4), (void *)(&angle), 8);
4099 (void) memcpy((void *)(gc->pc + 12), (void *)(&x), 8);
4100 (void) memcpy((void *)(gc->pc + 20), (void *)(&y), 8);
4101 (void) memcpy((void *)(gc->pc + 28), (void *)(&z), 8);
4102 gc->pc += cmdlen;
4103 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4111 emit_header(gc->pc, X_GLrop_Rotatef, cmdlen);
4112 (void) memcpy((void *)(gc->pc + 4), (void *)(&angle), 4);
4113 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 4);
4114 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 4);
4115 (void) memcpy((void *)(gc->pc + 16), (void *)(&z), 4);
4116 gc->pc += cmdlen;
4117 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4125 emit_header(gc->pc, X_GLrop_Scaled, cmdlen);
4126 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 8);
4127 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 8);
4128 (void) memcpy((void *)(gc->pc + 20), (void *)(&z), 8);
4129 gc->pc += cmdlen;
4130 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4138 emit_header(gc->pc, X_GLrop_Scalef, cmdlen);
4139 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
4140 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
4141 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 4);
4142 gc->pc += cmdlen;
4143 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4151 emit_header(gc->pc, X_GLrop_Translated, cmdlen);
4152 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 8);
4153 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 8);
4154 (void) memcpy((void *)(gc->pc + 20), (void *)(&z), 8);
4155 gc->pc += cmdlen;
4156 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4164 emit_header(gc->pc, X_GLrop_Translatef, cmdlen);
4165 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
4166 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
4167 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 4);
4168 gc->pc += cmdlen;
4169 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4177 emit_header(gc->pc, X_GLrop_Viewport, cmdlen);
4178 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
4179 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
4180 (void) memcpy((void *)(gc->pc + 12), (void *)(&width), 4);
4181 (void) memcpy((void *)(gc->pc + 16), (void *)(&height), 4);
4182 gc->pc += cmdlen;
4183 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4191 emit_header(gc->pc, X_GLrop_BindTexture, cmdlen);
4192 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
4193 (void) memcpy((void *)(gc->pc + 8), (void *)(&texture), 4);
4194 gc->pc += cmdlen;
4195 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4203 emit_header(gc->pc, X_GLrop_Indexubv, cmdlen);
4204 (void) memcpy((void *)(gc->pc + 4), (void *)(&c), 1);
4205 gc->pc += cmdlen;
4206 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4214 emit_header(gc->pc, X_GLrop_Indexubv, cmdlen);
4215 (void) memcpy((void *)(gc->pc + 4), (void *)(c), 1);
4216 gc->pc += cmdlen;
4217 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4225 emit_header(gc->pc, X_GLrop_PolygonOffset, cmdlen);
4226 (void) memcpy((void *)(gc->pc + 4), (void *)(&factor), 4);
4227 (void) memcpy((void *)(gc->pc + 8), (void *)(&units), 4);
4228 gc->pc += cmdlen;
4229 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4237 emit_header(gc->pc, X_GLrop_CopyTexImage1D, cmdlen);
4238 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
4239 (void) memcpy((void *)(gc->pc + 8), (void *)(&level), 4);
4240 (void) memcpy((void *)(gc->pc + 12), (void *)(&internalformat), 4);
4241 (void) memcpy((void *)(gc->pc + 16), (void *)(&x), 4);
4242 (void) memcpy((void *)(gc->pc + 20), (void *)(&y), 4);
4243 (void) memcpy((void *)(gc->pc + 24), (void *)(&width), 4);
4244 (void) memcpy((void *)(gc->pc + 28), (void *)(&border), 4);
4245 gc->pc += cmdlen;
4246 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4254 emit_header(gc->pc, X_GLrop_CopyTexImage2D, cmdlen);
4255 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
4256 (void) memcpy((void *)(gc->pc + 8), (void *)(&level), 4);
4257 (void) memcpy((void *)(gc->pc + 12), (void *)(&internalformat), 4);
4258 (void) memcpy((void *)(gc->pc + 16), (void *)(&x), 4);
4259 (void) memcpy((void *)(gc->pc + 20), (void *)(&y), 4);
4260 (void) memcpy((void *)(gc->pc + 24), (void *)(&width), 4);
4261 (void) memcpy((void *)(gc->pc + 28), (void *)(&height), 4);
4262 (void) memcpy((void *)(gc->pc + 32), (void *)(&border), 4);
4263 gc->pc += cmdlen;
4264 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4272 emit_header(gc->pc, X_GLrop_CopyTexSubImage1D, cmdlen);
4273 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
4274 (void) memcpy((void *)(gc->pc + 8), (void *)(&level), 4);
4275 (void) memcpy((void *)(gc->pc + 12), (void *)(&xoffset), 4);
4276 (void) memcpy((void *)(gc->pc + 16), (void *)(&x), 4);
4277 (void) memcpy((void *)(gc->pc + 20), (void *)(&y), 4);
4278 (void) memcpy((void *)(gc->pc + 24), (void *)(&width), 4);
4279 gc->pc += cmdlen;
4280 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4288 emit_header(gc->pc, X_GLrop_CopyTexSubImage2D, cmdlen);
4289 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
4290 (void) memcpy((void *)(gc->pc + 8), (void *)(&level), 4);
4291 (void) memcpy((void *)(gc->pc + 12), (void *)(&xoffset), 4);
4292 (void) memcpy((void *)(gc->pc + 16), (void *)(&yoffset), 4);
4293 (void) memcpy((void *)(gc->pc + 20), (void *)(&x), 4);
4294 (void) memcpy((void *)(gc->pc + 24), (void *)(&y), 4);
4295 (void) memcpy((void *)(gc->pc + 28), (void *)(&width), 4);
4296 (void) memcpy((void *)(gc->pc + 32), (void *)(&height), 4);
4297 gc->pc += cmdlen;
4298 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4320 (void) __glXFlushRenderBuffer(gc, gc->pc);
4323 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_DeleteTextures, cmdlen);
4324 (void) memcpy((void *)(pc + 0), (void *)(&n), 4);
4325 (void) memcpy((void *)(pc + 4), (void *)(textures), safe_mul(n, 4));
4358 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivate, X_GLvop_DeleteTexturesEXT, cmdlen);
4359 (void) memcpy((void *)(pc + 0), (void *)(&n), 4);
4360 (void) memcpy((void *)(pc + 4), (void *)(textures), safe_mul(n, 4));
4382 (void) __glXFlushRenderBuffer(gc, gc->pc);
4387 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GenTextures, cmdlen);
4388 (void) memcpy((void *)(pc + 0), (void *)(&n), 4);
4418 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GenTexturesEXT, cmdlen);
4419 (void) memcpy((void *)(pc + 0), (void *)(&n), 4);
4439 (void) __glXFlushRenderBuffer(gc, gc->pc);
4444 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_IsTexture, cmdlen);
4445 (void) memcpy((void *)(pc + 0), (void *)(&texture), 4);
4472 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_IsTextureEXT, cmdlen);
4473 (void) memcpy((void *)(pc + 0), (void *)(&texture), 4);
4495 emit_header(gc->pc, X_GLrop_PrioritizeTextures, cmdlen);
4496 (void) memcpy((void *)(gc->pc + 4), (void *)(&n), 4);
4497 (void) memcpy((void *)(gc->pc + 8), (void *)(textures), safe_mul(n, 4));
4498 (void) memcpy((void *)(gc->pc + 8 + safe_mul(n, 4)), (void *)(priorities), safe_mul(n, 4));
4499 gc->pc += cmdlen;
4500 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4516 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
4517 (void) __glXFlushRenderBuffer(gc, gc->pc);
4519 emit_header(gc->pc, opcode, cmdlen);
4520 (void) memcpy((void *)(gc->pc + 24), (void *)(&target), 4);
4521 (void) memcpy((void *)(gc->pc + 28), (void *)(&level), 4);
4522 (void) memcpy((void *)(gc->pc + 32), (void *)(&xoffset), 4);
4523 (void) memcpy((void *)(gc->pc + 36), (void *)(&yoffset), 4);
4524 (void) memcpy((void *)(gc->pc + 40), (void *)(&width), 4);
4525 (void) memcpy((void *)(gc->pc + 44), (void *)(&height), 4);
4526 (void) memcpy((void *)(gc->pc + 48), (void *)(&format), 4);
4527 (void) memcpy((void *)(gc->pc + 52), (void *)(&type), 4);
4528 (void) memset((void *)(gc->pc + 56), 0, 4);
4530 gc->fillImage(gc, dim, width, height, 1, format, type, pixels, gc->pc + 60, gc->pc + 4);
4532 (void) memcpy( gc->pc + 4, default_pixel_store_2D, default_pixel_store_2D_size );
4534 gc->pc += cmdlen;
4535 if (gc->pc > gc->limit) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4540 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
4541 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
4542 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
4543 (void) memcpy((void *)(pc + 28), (void *)(&target), 4);
4544 (void) memcpy((void *)(pc + 32), (void *)(&level), 4);
4545 (void) memcpy((void *)(pc + 36), (void *)(&xoffset), 4);
4546 (void) memcpy((void *)(pc + 40), (void *)(&yoffset), 4);
4547 (void) memcpy((void *)(pc + 44), (void *)(&width), 4);
4548 (void) memcpy((void *)(pc + 48), (void *)(&height), 4);
4549 (void) memcpy((void *)(pc + 52), (void *)(&format), 4);
4550 (void) memcpy((void *)(pc + 56), (void *)(&type), 4);
4551 (void) memset((void *)(pc + 60), 0, 4);
4552 __glXSendLargeImage(gc, compsize, dim, width, height, 1, format, type, pixels, pc + 64, pc + 8);
4574 emit_header(gc->pc, X_GLrop_BlendColor, cmdlen);
4575 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 4);
4576 (void) memcpy((void *)(gc->pc + 8), (void *)(&green), 4);
4577 (void) memcpy((void *)(gc->pc + 12), (void *)(&blue), 4);
4578 (void) memcpy((void *)(gc->pc + 16), (void *)(&alpha), 4);
4579 gc->pc += cmdlen;
4580 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4588 emit_header(gc->pc, X_GLrop_BlendEquation, cmdlen);
4589 (void) memcpy((void *)(gc->pc + 4), (void *)(&mode), 4);
4590 gc->pc += cmdlen;
4591 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4606 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
4607 (void) __glXFlushRenderBuffer(gc, gc->pc);
4609 emit_header(gc->pc, X_GLrop_ColorTable, cmdlen);
4610 (void) memcpy((void *)(gc->pc + 24), (void *)(&target), 4);
4611 (void) memcpy((void *)(gc->pc + 28), (void *)(&internalformat), 4);
4612 (void) memcpy((void *)(gc->pc + 32), (void *)(&width), 4);
4613 (void) memcpy((void *)(gc->pc + 36), (void *)(&format), 4);
4614 (void) memcpy((void *)(gc->pc + 40), (void *)(&type), 4);
4616 gc->fillImage(gc, 1, width, 1, 1, format, type, table, gc->pc + 44, gc->pc + 4);
4618 (void) memcpy( gc->pc + 4, default_pixel_store_1D, default_pixel_store_1D_size );
4620 gc->pc += cmdlen;
4621 if (gc->pc > gc->limit) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4626 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
4627 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
4628 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
4629 (void) memcpy((void *)(pc + 28), (void *)(&target), 4);
4630 (void) memcpy((void *)(pc + 32), (void *)(&internalformat), 4);
4631 (void) memcpy((void *)(pc + 36), (void *)(&width), 4);
4632 (void) memcpy((void *)(pc + 40), (void *)(&format), 4);
4633 (void) memcpy((void *)(pc + 44), (void *)(&type), 4);
4634 __glXSendLargeImage(gc, compsize, 1, width, 1, 1, format, type, table, pc + 48, pc + 8);
4649 emit_header(gc->pc, X_GLrop_ColorTableParameterfv, cmdlen);
4650 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
4651 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
4652 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
4653 gc->pc += cmdlen;
4654 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4667 emit_header(gc->pc, X_GLrop_ColorTableParameteriv, cmdlen);
4668 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
4669 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
4670 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
4671 gc->pc += cmdlen;
4672 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4680 emit_header(gc->pc, X_GLrop_CopyColorTable, cmdlen);
4681 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
4682 (void) memcpy((void *)(gc->pc + 8), (void *)(&internalformat), 4);
4683 (void) memcpy((void *)(gc->pc + 12), (void *)(&x), 4);
4684 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 4);
4685 (void) memcpy((void *)(gc->pc + 20), (void *)(&width), 4);
4686 gc->pc += cmdlen;
4687 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4702 (void) __glXFlushRenderBuffer(gc, gc->pc);
4707 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetColorTable, cmdlen);
4708 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
4709 (void) memcpy((void *)(pc + 4), (void *)(&format), 4);
4710 (void) memcpy((void *)(pc + 8), (void *)(&type), 4);
4711 *(int32_t *)(pc + 12) = 0;
4712 * (int8_t *)(pc + 12) = state->storePack.swapEndian;
4739 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetColorTableSGI, cmdlen);
4740 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
4741 (void) memcpy((void *)(pc + 4), (void *)(&format), 4);
4742 (void) memcpy((void *)(pc + 8), (void *)(&type), 4);
4743 *(int32_t *)(pc + 12) = 0;
4744 * (int8_t *)(pc + 12) = state->storePack.swapEndian;
4763 (void) __glXFlushRenderBuffer(gc, gc->pc);
4773 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetColorTableParameterfv, cmdlen);
4774 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
4775 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
4801 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetColorTableParameterfvSGI, cmdlen);
4802 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
4803 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
4822 (void) __glXFlushRenderBuffer(gc, gc->pc);
4832 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetColorTableParameteriv, cmdlen);
4833 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
4834 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
4860 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetColorTableParameterivSGI, cmdlen);
4861 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
4862 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
4882 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
4883 (void) __glXFlushRenderBuffer(gc, gc->pc);
4885 emit_header(gc->pc, X_GLrop_ColorSubTable, cmdlen);
4886 (void) memcpy((void *)(gc->pc + 24), (void *)(&target), 4);
4887 (void) memcpy((void *)(gc->pc + 28), (void *)(&start), 4);
4888 (void) memcpy((void *)(gc->pc + 32), (void *)(&count), 4);
4889 (void) memcpy((void *)(gc->pc + 36), (void *)(&format), 4);
4890 (void) memcpy((void *)(gc->pc + 40), (void *)(&type), 4);
4892 gc->fillImage(gc, 1, count, 1, 1, format, type, data, gc->pc + 44, gc->pc + 4);
4894 (void) memcpy( gc->pc + 4, default_pixel_store_1D, default_pixel_store_1D_size );
4896 gc->pc += cmdlen;
4897 if (gc->pc > gc->limit) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4902 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
4903 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
4904 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
4905 (void) memcpy((void *)(pc + 28), (void *)(&target), 4);
4906 (void) memcpy((void *)(pc + 32), (void *)(&start), 4);
4907 (void) memcpy((void *)(pc + 36), (void *)(&count), 4);
4908 (void) memcpy((void *)(pc + 40), (void *)(&format), 4);
4909 (void) memcpy((void *)(pc + 44), (void *)(&type), 4);
4910 __glXSendLargeImage(gc, compsize, 1, count, 1, 1, format, type, data, pc + 48, pc + 8);
4920 emit_header(gc->pc, X_GLrop_CopyColorSubTable, cmdlen);
4921 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
4922 (void) memcpy((void *)(gc->pc + 8), (void *)(&start), 4);
4923 (void) memcpy((void *)(gc->pc + 12), (void *)(&x), 4);
4924 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 4);
4925 (void) memcpy((void *)(gc->pc + 20), (void *)(&width), 4);
4926 gc->pc += cmdlen;
4927 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4942 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
4943 (void) __glXFlushRenderBuffer(gc, gc->pc);
4945 emit_header(gc->pc, opcode, cmdlen);
4946 (void) memcpy((void *)(gc->pc + 24), (void *)(&target), 4);
4947 (void) memcpy((void *)(gc->pc + 28), (void *)(&internalformat), 4);
4948 (void) memcpy((void *)(gc->pc + 32), (void *)(&width), 4);
4949 (void) memcpy((void *)(gc->pc + 36), (void *)(&height), 4);
4950 (void) memcpy((void *)(gc->pc + 40), (void *)(&format), 4);
4951 (void) memcpy((void *)(gc->pc + 44), (void *)(&type), 4);
4953 gc->fillImage(gc, dim, width, height, 1, format, type, image, gc->pc + 48, gc->pc + 4);
4955 (void) memcpy( gc->pc + 4, default_pixel_store_2D, default_pixel_store_2D_size );
4957 gc->pc += cmdlen;
4958 if (gc->pc > gc->limit) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
4963 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
4964 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
4965 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
4966 (void) memcpy((void *)(pc + 28), (void *)(&target), 4);
4967 (void) memcpy((void *)(pc + 32), (void *)(&internalformat), 4);
4968 (void) memcpy((void *)(pc + 36), (void *)(&width), 4);
4969 (void) memcpy((void *)(pc + 40), (void *)(&height), 4);
4970 (void) memcpy((void *)(pc + 44), (void *)(&format), 4);
4971 (void) memcpy((void *)(pc + 48), (void *)(&type), 4);
4972 __glXSendLargeImage(gc, compsize, dim, width, height, 1, format, type, image, pc + 52, pc + 8);
4994 emit_header(gc->pc, X_GLrop_ConvolutionParameterf, cmdlen);
4995 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
4996 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
4997 (void) memcpy((void *)(gc->pc + 12), (void *)(&params), 4);
4998 gc->pc += cmdlen;
4999 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5012 emit_header(gc->pc, X_GLrop_ConvolutionParameterfv, cmdlen);
5013 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5014 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
5015 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
5016 gc->pc += cmdlen;
5017 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5025 emit_header(gc->pc, X_GLrop_ConvolutionParameteri, cmdlen);
5026 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5027 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
5028 (void) memcpy((void *)(gc->pc + 12), (void *)(&params), 4);
5029 gc->pc += cmdlen;
5030 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5043 emit_header(gc->pc, X_GLrop_ConvolutionParameteriv, cmdlen);
5044 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5045 (void) memcpy((void *)(gc->pc + 8), (void *)(&pname), 4);
5046 (void) memcpy((void *)(gc->pc + 12), (void *)(params), safe_mul(compsize, 4));
5047 gc->pc += cmdlen;
5048 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5056 emit_header(gc->pc, X_GLrop_CopyConvolutionFilter1D, cmdlen);
5057 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5058 (void) memcpy((void *)(gc->pc + 8), (void *)(&internalformat), 4);
5059 (void) memcpy((void *)(gc->pc + 12), (void *)(&x), 4);
5060 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 4);
5061 (void) memcpy((void *)(gc->pc + 20), (void *)(&width), 4);
5062 gc->pc += cmdlen;
5063 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5071 emit_header(gc->pc, X_GLrop_CopyConvolutionFilter2D, cmdlen);
5072 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5073 (void) memcpy((void *)(gc->pc + 8), (void *)(&internalformat), 4);
5074 (void) memcpy((void *)(gc->pc + 12), (void *)(&x), 4);
5075 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 4);
5076 (void) memcpy((void *)(gc->pc + 20), (void *)(&width), 4);
5077 (void) memcpy((void *)(gc->pc + 24), (void *)(&height), 4);
5078 gc->pc += cmdlen;
5079 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5094 (void) __glXFlushRenderBuffer(gc, gc->pc);
5100 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetConvolutionFilter, cmdlen);
5101 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5102 (void) memcpy((void *)(pc + 4), (void *)(&format), 4);
5103 (void) memcpy((void *)(pc + 8), (void *)(&type), 4);
5104 *(int32_t *)(pc + 12) = 0;
5105 * (int8_t *)(pc + 12) = state->storePack.swapEndian;
5132 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetConvolutionFilterEXT, cmdlen);
5133 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5134 (void) memcpy((void *)(pc + 4), (void *)(&format), 4);
5135 (void) memcpy((void *)(pc + 8), (void *)(&type), 4);
5136 *(int32_t *)(pc + 12) = 0;
5137 * (int8_t *)(pc + 12) = state->storePack.swapEndian;
5156 (void) __glXFlushRenderBuffer(gc, gc->pc);
5166 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetConvolutionParameterfv, cmdlen);
5167 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5168 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
5194 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetConvolutionParameterfvEXT, cmdlen);
5195 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5196 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
5215 (void) __glXFlushRenderBuffer(gc, gc->pc);
5225 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetConvolutionParameteriv, cmdlen);
5226 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5227 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
5253 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetConvolutionParameterivEXT, cmdlen);
5254 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5255 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
5275 (void) __glXFlushRenderBuffer(gc, gc->pc);
5280 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetHistogram, cmdlen);
5281 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5282 (void) memcpy((void *)(pc + 4), (void *)(&format), 4);
5283 (void) memcpy((void *)(pc + 8), (void *)(&type), 4);
5284 *(int32_t *)(pc + 12) = 0;
5285 * (int8_t *)(pc + 12) = state->storePack.swapEndian;
5286 * (int8_t *)(pc + 13) = reset;
5313 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetHistogramEXT, cmdlen);
5314 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5315 (void) memcpy((void *)(pc + 4), (void *)(&format), 4);
5316 (void) memcpy((void *)(pc + 8), (void *)(&type), 4);
5317 *(int32_t *)(pc + 12) = 0;
5318 * (int8_t *)(pc + 12) = state->storePack.swapEndian;
5319 * (int8_t *)(pc + 13) = reset;
5338 (void) __glXFlushRenderBuffer(gc, gc->pc);
5348 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetHistogramParameterfv, cmdlen);
5349 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5350 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
5376 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetHistogramParameterfvEXT, cmdlen);
5377 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5378 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
5397 (void) __glXFlushRenderBuffer(gc, gc->pc);
5407 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetHistogramParameteriv, cmdlen);
5408 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5409 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
5435 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetHistogramParameterivEXT, cmdlen);
5436 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5437 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
5457 (void) __glXFlushRenderBuffer(gc, gc->pc);
5462 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetMinmax, cmdlen);
5463 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5464 (void) memcpy((void *)(pc + 4), (void *)(&format), 4);
5465 (void) memcpy((void *)(pc + 8), (void *)(&type), 4);
5466 *(int32_t *)(pc + 12) = 0;
5467 * (int8_t *)(pc + 12) = state->storePack.swapEndian;
5468 * (int8_t *)(pc + 13) = reset;
5495 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetMinmaxEXT, cmdlen);
5496 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5497 (void) memcpy((void *)(pc + 4), (void *)(&format), 4);
5498 (void) memcpy((void *)(pc + 8), (void *)(&type), 4);
5499 *(int32_t *)(pc + 12) = 0;
5500 * (int8_t *)(pc + 12) = state->storePack.swapEndian;
5501 * (int8_t *)(pc + 13) = reset;
5520 (void) __glXFlushRenderBuffer(gc, gc->pc);
5530 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetMinmaxParameterfv, cmdlen);
5531 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5532 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
5558 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetMinmaxParameterfvEXT, cmdlen);
5559 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5560 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
5579 (void) __glXFlushRenderBuffer(gc, gc->pc);
5589 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetMinmaxParameteriv, cmdlen);
5590 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5591 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
5617 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetMinmaxParameterivEXT, cmdlen);
5618 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
5619 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
5632 emit_header(gc->pc, X_GLrop_Histogram, cmdlen);
5633 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5634 (void) memcpy((void *)(gc->pc + 8), (void *)(&width), 4);
5635 (void) memcpy((void *)(gc->pc + 12), (void *)(&internalformat), 4);
5636 (void) memcpy((void *)(gc->pc + 16), (void *)(&sink), 1);
5637 gc->pc += cmdlen;
5638 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5646 emit_header(gc->pc, X_GLrop_Minmax, cmdlen);
5647 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5648 (void) memcpy((void *)(gc->pc + 8), (void *)(&internalformat), 4);
5649 (void) memcpy((void *)(gc->pc + 12), (void *)(&sink), 1);
5650 gc->pc += cmdlen;
5651 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5659 emit_header(gc->pc, X_GLrop_ResetHistogram, cmdlen);
5660 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5661 gc->pc += cmdlen;
5662 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5670 emit_header(gc->pc, X_GLrop_ResetMinmax, cmdlen);
5671 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5672 gc->pc += cmdlen;
5673 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5688 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
5689 (void) __glXFlushRenderBuffer(gc, gc->pc);
5691 emit_header(gc->pc, opcode, cmdlen);
5692 (void) memcpy((void *)(gc->pc + 40), (void *)(&target), 4);
5693 (void) memcpy((void *)(gc->pc + 44), (void *)(&level), 4);
5694 (void) memcpy((void *)(gc->pc + 48), (void *)(&internalformat), 4);
5695 (void) memcpy((void *)(gc->pc + 52), (void *)(&width), 4);
5696 (void) memcpy((void *)(gc->pc + 56), (void *)(&height), 4);
5697 (void) memcpy((void *)(gc->pc + 60), (void *)(&depth), 4);
5698 (void) memcpy((void *)(gc->pc + 64), (void *)(&extent), 4);
5699 (void) memcpy((void *)(gc->pc + 68), (void *)(&border), 4);
5700 (void) memcpy((void *)(gc->pc + 72), (void *)(&format), 4);
5701 (void) memcpy((void *)(gc->pc + 76), (void *)(&type), 4);
5702 (void) memcpy((void *)(gc->pc + 80), (void *)((pixels == NULL) ? one : zero), 4);
5704 gc->fillImage(gc, dim, width, height, depth, format, type, pixels, gc->pc + 84, gc->pc + 4);
5706 (void) memcpy( gc->pc + 4, default_pixel_store_4D, default_pixel_store_4D_size );
5708 gc->pc += cmdlen;
5709 if (gc->pc > gc->limit) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5714 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
5715 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
5716 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
5717 (void) memcpy((void *)(pc + 44), (void *)(&target), 4);
5718 (void) memcpy((void *)(pc + 48), (void *)(&level), 4);
5719 (void) memcpy((void *)(pc + 52), (void *)(&internalformat), 4);
5720 (void) memcpy((void *)(pc + 56), (void *)(&width), 4);
5721 (void) memcpy((void *)(pc + 60), (void *)(&height), 4);
5722 (void) memcpy((void *)(pc + 64), (void *)(&depth), 4);
5723 (void) memcpy((void *)(pc + 68), (void *)(&extent), 4);
5724 (void) memcpy((void *)(pc + 72), (void *)(&border), 4);
5725 (void) memcpy((void *)(pc + 76), (void *)(&format), 4);
5726 (void) memcpy((void *)(pc + 80), (void *)(&type), 4);
5727 (void) memcpy((void *)(pc + 84), zero, 4);
5728 __glXSendLargeImage(gc, compsize, dim, width, height, depth, format, type, pixels, pc + 88, pc + 8);
5751 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
5752 (void) __glXFlushRenderBuffer(gc, gc->pc);
5754 emit_header(gc->pc, opcode, cmdlen);
5755 (void) memcpy((void *)(gc->pc + 40), (void *)(&target), 4);
5756 (void) memcpy((void *)(gc->pc + 44), (void *)(&level), 4);
5757 (void) memcpy((void *)(gc->pc + 48), (void *)(&xoffset), 4);
5758 (void) memcpy((void *)(gc->pc + 52), (void *)(&yoffset), 4);
5759 (void) memcpy((void *)(gc->pc + 56), (void *)(&zoffset), 4);
5760 (void) memcpy((void *)(gc->pc + 60), (void *)(&woffset), 4);
5761 (void) memcpy((void *)(gc->pc + 64), (void *)(&width), 4);
5762 (void) memcpy((void *)(gc->pc + 68), (void *)(&height), 4);
5763 (void) memcpy((void *)(gc->pc + 72), (void *)(&depth), 4);
5764 (void) memcpy((void *)(gc->pc + 76), (void *)(&extent), 4);
5765 (void) memcpy((void *)(gc->pc + 80), (void *)(&format), 4);
5766 (void) memcpy((void *)(gc->pc + 84), (void *)(&type), 4);
5767 (void) memset((void *)(gc->pc + 88), 0, 4);
5769 gc->fillImage(gc, dim, width, height, depth, format, type, pixels, gc->pc + 92, gc->pc + 4);
5771 (void) memcpy( gc->pc + 4, default_pixel_store_4D, default_pixel_store_4D_size );
5773 gc->pc += cmdlen;
5774 if (gc->pc > gc->limit) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5779 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
5780 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
5781 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
5782 (void) memcpy((void *)(pc + 44), (void *)(&target), 4);
5783 (void) memcpy((void *)(pc + 48), (void *)(&level), 4);
5784 (void) memcpy((void *)(pc + 52), (void *)(&xoffset), 4);
5785 (void) memcpy((void *)(pc + 56), (void *)(&yoffset), 4);
5786 (void) memcpy((void *)(pc + 60), (void *)(&zoffset), 4);
5787 (void) memcpy((void *)(pc + 64), (void *)(&woffset), 4);
5788 (void) memcpy((void *)(pc + 68), (void *)(&width), 4);
5789 (void) memcpy((void *)(pc + 72), (void *)(&height), 4);
5790 (void) memcpy((void *)(pc + 76), (void *)(&depth), 4);
5791 (void) memcpy((void *)(pc + 80), (void *)(&extent), 4);
5792 (void) memcpy((void *)(pc + 84), (void *)(&format), 4);
5793 (void) memcpy((void *)(pc + 88), (void *)(&type), 4);
5794 (void) memset((void *)(pc + 92), 0, 4);
5795 __glXSendLargeImage(gc, compsize, dim, width, height, depth, format, type, pixels, pc + 96, pc + 8);
5811 emit_header(gc->pc, X_GLrop_CopyTexSubImage3D, cmdlen);
5812 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5813 (void) memcpy((void *)(gc->pc + 8), (void *)(&level), 4);
5814 (void) memcpy((void *)(gc->pc + 12), (void *)(&xoffset), 4);
5815 (void) memcpy((void *)(gc->pc + 16), (void *)(&yoffset), 4);
5816 (void) memcpy((void *)(gc->pc + 20), (void *)(&zoffset), 4);
5817 (void) memcpy((void *)(gc->pc + 24), (void *)(&x), 4);
5818 (void) memcpy((void *)(gc->pc + 28), (void *)(&y), 4);
5819 (void) memcpy((void *)(gc->pc + 32), (void *)(&width), 4);
5820 (void) memcpy((void *)(gc->pc + 36), (void *)(&height), 4);
5821 gc->pc += cmdlen;
5822 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5830 emit_header(gc->pc, X_GLrop_ActiveTexture, cmdlen);
5831 (void) memcpy((void *)(gc->pc + 4), (void *)(&texture), 4);
5832 gc->pc += cmdlen;
5833 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5841 emit_header(gc->pc, X_GLrop_MultiTexCoord1dv, cmdlen);
5842 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 8);
5843 (void) memcpy((void *)(gc->pc + 12), (void *)(&target), 4);
5844 gc->pc += cmdlen;
5845 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5853 emit_header(gc->pc, X_GLrop_MultiTexCoord1dv, cmdlen);
5854 (void) memcpy((void *)(gc->pc + 4), (void *)(v), 8);
5855 (void) memcpy((void *)(gc->pc + 12), (void *)(&target), 4);
5856 gc->pc += cmdlen;
5857 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5865 emit_header(gc->pc, X_GLrop_MultiTexCoord1fvARB, cmdlen);
5866 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5867 (void) memcpy((void *)(gc->pc + 8), (void *)(&s), 4);
5868 gc->pc += cmdlen;
5869 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5877 emit_header(gc->pc, X_GLrop_MultiTexCoord1fvARB, cmdlen);
5878 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5879 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 4);
5880 gc->pc += cmdlen;
5881 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5889 emit_header(gc->pc, X_GLrop_MultiTexCoord1iv, cmdlen);
5890 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5891 (void) memcpy((void *)(gc->pc + 8), (void *)(&s), 4);
5892 gc->pc += cmdlen;
5893 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5901 emit_header(gc->pc, X_GLrop_MultiTexCoord1iv, cmdlen);
5902 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5903 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 4);
5904 gc->pc += cmdlen;
5905 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5913 emit_header(gc->pc, X_GLrop_MultiTexCoord1sv, cmdlen);
5914 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5915 (void) memcpy((void *)(gc->pc + 8), (void *)(&s), 2);
5916 gc->pc += cmdlen;
5917 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5925 emit_header(gc->pc, X_GLrop_MultiTexCoord1sv, cmdlen);
5926 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5927 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 2);
5928 gc->pc += cmdlen;
5929 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5937 emit_header(gc->pc, X_GLrop_MultiTexCoord2dv, cmdlen);
5938 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 8);
5939 (void) memcpy((void *)(gc->pc + 12), (void *)(&t), 8);
5940 (void) memcpy((void *)(gc->pc + 20), (void *)(&target), 4);
5941 gc->pc += cmdlen;
5942 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5950 emit_header(gc->pc, X_GLrop_MultiTexCoord2dv, cmdlen);
5951 (void) memcpy((void *)(gc->pc + 4), (void *)(v), 16);
5952 (void) memcpy((void *)(gc->pc + 20), (void *)(&target), 4);
5953 gc->pc += cmdlen;
5954 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5962 emit_header(gc->pc, X_GLrop_MultiTexCoord2fvARB, cmdlen);
5963 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5964 (void) memcpy((void *)(gc->pc + 8), (void *)(&s), 4);
5965 (void) memcpy((void *)(gc->pc + 12), (void *)(&t), 4);
5966 gc->pc += cmdlen;
5967 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5975 emit_header(gc->pc, X_GLrop_MultiTexCoord2fvARB, cmdlen);
5976 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5977 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 8);
5978 gc->pc += cmdlen;
5979 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
5987 emit_header(gc->pc, X_GLrop_MultiTexCoord2iv, cmdlen);
5988 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
5989 (void) memcpy((void *)(gc->pc + 8), (void *)(&s), 4);
5990 (void) memcpy((void *)(gc->pc + 12), (void *)(&t), 4);
5991 gc->pc += cmdlen;
5992 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6000 emit_header(gc->pc, X_GLrop_MultiTexCoord2iv, cmdlen);
6001 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6002 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 8);
6003 gc->pc += cmdlen;
6004 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6012 emit_header(gc->pc, X_GLrop_MultiTexCoord2sv, cmdlen);
6013 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6014 (void) memcpy((void *)(gc->pc + 8), (void *)(&s), 2);
6015 (void) memcpy((void *)(gc->pc + 10), (void *)(&t), 2);
6016 gc->pc += cmdlen;
6017 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6025 emit_header(gc->pc, X_GLrop_MultiTexCoord2sv, cmdlen);
6026 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6027 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 4);
6028 gc->pc += cmdlen;
6029 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6037 emit_header(gc->pc, X_GLrop_MultiTexCoord3dv, cmdlen);
6038 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 8);
6039 (void) memcpy((void *)(gc->pc + 12), (void *)(&t), 8);
6040 (void) memcpy((void *)(gc->pc + 20), (void *)(&r), 8);
6041 (void) memcpy((void *)(gc->pc + 28), (void *)(&target), 4);
6042 gc->pc += cmdlen;
6043 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6051 emit_header(gc->pc, X_GLrop_MultiTexCoord3dv, cmdlen);
6052 (void) memcpy((void *)(gc->pc + 4), (void *)(v), 24);
6053 (void) memcpy((void *)(gc->pc + 28), (void *)(&target), 4);
6054 gc->pc += cmdlen;
6055 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6063 emit_header(gc->pc, X_GLrop_MultiTexCoord3fvARB, cmdlen);
6064 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6065 (void) memcpy((void *)(gc->pc + 8), (void *)(&s), 4);
6066 (void) memcpy((void *)(gc->pc + 12), (void *)(&t), 4);
6067 (void) memcpy((void *)(gc->pc + 16), (void *)(&r), 4);
6068 gc->pc += cmdlen;
6069 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6077 emit_header(gc->pc, X_GLrop_MultiTexCoord3fvARB, cmdlen);
6078 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6079 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 12);
6080 gc->pc += cmdlen;
6081 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6089 emit_header(gc->pc, X_GLrop_MultiTexCoord3iv, cmdlen);
6090 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6091 (void) memcpy((void *)(gc->pc + 8), (void *)(&s), 4);
6092 (void) memcpy((void *)(gc->pc + 12), (void *)(&t), 4);
6093 (void) memcpy((void *)(gc->pc + 16), (void *)(&r), 4);
6094 gc->pc += cmdlen;
6095 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6103 emit_header(gc->pc, X_GLrop_MultiTexCoord3iv, cmdlen);
6104 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6105 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 12);
6106 gc->pc += cmdlen;
6107 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6115 emit_header(gc->pc, X_GLrop_MultiTexCoord3sv, cmdlen);
6116 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6117 (void) memcpy((void *)(gc->pc + 8), (void *)(&s), 2);
6118 (void) memcpy((void *)(gc->pc + 10), (void *)(&t), 2);
6119 (void) memcpy((void *)(gc->pc + 12), (void *)(&r), 2);
6120 gc->pc += cmdlen;
6121 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6129 emit_header(gc->pc, X_GLrop_MultiTexCoord3sv, cmdlen);
6130 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6131 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 6);
6132 gc->pc += cmdlen;
6133 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6141 emit_header(gc->pc, X_GLrop_MultiTexCoord4dv, cmdlen);
6142 (void) memcpy((void *)(gc->pc + 4), (void *)(&s), 8);
6143 (void) memcpy((void *)(gc->pc + 12), (void *)(&t), 8);
6144 (void) memcpy((void *)(gc->pc + 20), (void *)(&r), 8);
6145 (void) memcpy((void *)(gc->pc + 28), (void *)(&q), 8);
6146 (void) memcpy((void *)(gc->pc + 36), (void *)(&target), 4);
6147 gc->pc += cmdlen;
6148 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6156 emit_header(gc->pc, X_GLrop_MultiTexCoord4dv, cmdlen);
6157 (void) memcpy((void *)(gc->pc + 4), (void *)(v), 32);
6158 (void) memcpy((void *)(gc->pc + 36), (void *)(&target), 4);
6159 gc->pc += cmdlen;
6160 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6168 emit_header(gc->pc, X_GLrop_MultiTexCoord4fvARB, cmdlen);
6169 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6170 (void) memcpy((void *)(gc->pc + 8), (void *)(&s), 4);
6171 (void) memcpy((void *)(gc->pc + 12), (void *)(&t), 4);
6172 (void) memcpy((void *)(gc->pc + 16), (void *)(&r), 4);
6173 (void) memcpy((void *)(gc->pc + 20), (void *)(&q), 4);
6174 gc->pc += cmdlen;
6175 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6183 emit_header(gc->pc, X_GLrop_MultiTexCoord4fvARB, cmdlen);
6184 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6185 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 16);
6186 gc->pc += cmdlen;
6187 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6195 emit_header(gc->pc, X_GLrop_MultiTexCoord4iv, cmdlen);
6196 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6197 (void) memcpy((void *)(gc->pc + 8), (void *)(&s), 4);
6198 (void) memcpy((void *)(gc->pc + 12), (void *)(&t), 4);
6199 (void) memcpy((void *)(gc->pc + 16), (void *)(&r), 4);
6200 (void) memcpy((void *)(gc->pc + 20), (void *)(&q), 4);
6201 gc->pc += cmdlen;
6202 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6210 emit_header(gc->pc, X_GLrop_MultiTexCoord4iv, cmdlen);
6211 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6212 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 16);
6213 gc->pc += cmdlen;
6214 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6222 emit_header(gc->pc
6223 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6224 (void) memcpy((void *)(gc->pc + 8), (void *)(&s), 2);
6225 (void) memcpy((void *)(gc->pc + 10), (void *)(&t), 2);
6226 (void) memcpy((void *)(gc->pc + 12), (void *)(&r), 2);
6227 (void) memcpy((void *)(gc->pc + 14), (void *)(&q), 2);
6228 gc->pc += cmdlen;
6229 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6237 emit_header(gc->pc, X_GLrop_MultiTexCoord4sv, cmdlen);
6238 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6239 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 8);
6240 gc->pc += cmdlen;
6241 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6249 emit_header(gc->pc, X_GLrop_SampleCoverage, cmdlen);
6250 (void) memcpy((void *)(gc->pc + 4), (void *)(&value), 4);
6251 (void) memcpy((void *)(gc->pc + 8), (void *)(&invert), 1);
6252 gc->pc += cmdlen;
6253 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6261 emit_header(gc->pc, X_GLrop_BlendFuncSeparate, cmdlen);
6262 (void) memcpy((void *)(gc->pc + 4), (void *)(&sfactorRGB), 4);
6263 (void) memcpy((void *)(gc->pc + 8), (void *)(&dfactorRGB), 4);
6264 (void) memcpy((void *)(gc->pc + 12), (void *)(&sfactorAlpha), 4);
6265 (void) memcpy((void *)(gc->pc + 16), (void *)(&dfactorAlpha), 4);
6266 gc->pc += cmdlen;
6267 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6275 emit_header(gc->pc, X_GLrop_FogCoorddv, cmdlen);
6276 (void) memcpy((void *)(gc->pc + 4), (void *)(&coord), 8);
6277 gc->pc += cmdlen;
6278 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6292 emit_header(gc->pc, X_GLrop_PointParameterf, cmdlen);
6293 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
6294 (void) memcpy((void *)(gc->pc + 8), (void *)(&param), 4);
6295 gc->pc += cmdlen;
6296 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6309 emit_header(gc->pc, X_GLrop_PointParameterfv, cmdlen);
6310 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
6311 (void) memcpy((void *)(gc->pc + 8), (void *)(params), safe_mul(compsize, 4));
6312 gc->pc += cmdlen;
6313 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6321 emit_header(gc->pc, X_GLrop_PointParameteri, cmdlen);
6322 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
6323 (void) memcpy((void *)(gc->pc + 8), (void *)(&param), 4);
6324 gc->pc += cmdlen;
6325 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6338 emit_header(gc->pc, X_GLrop_PointParameteriv, cmdlen);
6339 (void) memcpy((void *)(gc->pc + 4), (void *)(&pname), 4);
6340 (void) memcpy((void *)(gc->pc + 8), (void *)(params), safe_mul(compsize, 4));
6341 gc->pc += cmdlen;
6342 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6350 emit_header(gc->pc, X_GLrop_SecondaryColor3bv, cmdlen);
6351 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 1);
6352 (void) memcpy((void *)(gc->pc + 5), (void *)(&green), 1);
6353 (void) memcpy((void *)(gc->pc + 6), (void *)(&blue), 1);
6354 gc->pc += cmdlen;
6355 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6369 emit_header(gc->pc, X_GLrop_SecondaryColor3dv, cmdlen);
6370 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 8);
6371 (void) memcpy((void *)(gc->pc + 12), (void *)(&green), 8);
6372 (void) memcpy((void *)(gc->pc + 20), (void *)(&blue), 8);
6373 gc->pc += cmdlen;
6374 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6388 emit_header(gc->pc, X_GLrop_SecondaryColor3iv, cmdlen);
6389 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 4);
6390 (void) memcpy((void *)(gc->pc + 8), (void *)(&green), 4);
6391 (void) memcpy((void *)(gc->pc + 12), (void *)(&blue), 4);
6392 gc->pc += cmdlen;
6393 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6407 emit_header(gc->pc, X_GLrop_SecondaryColor3sv, cmdlen);
6408 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 2);
6409 (void) memcpy((void *)(gc->pc + 6), (void *)(&green), 2);
6410 (void) memcpy((void *)(gc->pc + 8), (void *)(&blue), 2);
6411 gc->pc += cmdlen;
6412 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6426 emit_header(gc->pc, X_GLrop_SecondaryColor3ubv, cmdlen);
6427 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 1);
6428 (void) memcpy((void *)(gc->pc + 5), (void *)(&green), 1);
6429 (void) memcpy((void *)(gc->pc + 6), (void *)(&blue), 1);
6430 gc->pc += cmdlen;
6431 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6445 emit_header(gc->pc, X_GLrop_SecondaryColor3uiv, cmdlen);
6446 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 4);
6447 (void) memcpy((void *)(gc->pc + 8), (void *)(&green), 4);
6448 (void) memcpy((void *)(gc->pc + 12), (void *)(&blue), 4);
6449 gc->pc += cmdlen;
6450 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6464 emit_header(gc->pc, X_GLrop_SecondaryColor3usv, cmdlen);
6465 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 2);
6466 (void) memcpy((void *)(gc->pc + 6), (void *)(&green), 2);
6467 (void) memcpy((void *)(gc->pc + 8), (void *)(&blue), 2);
6468 gc->pc += cmdlen;
6469 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6483 emit_header(gc->pc, X_GLrop_WindowPos3fv, cmdlen);
6484 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 4);
6485 (void) memcpy((void *)(gc->pc + 8), (void *)(&y), 4);
6486 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 4);
6487 gc->pc += cmdlen;
6488 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6502 emit_header(gc->pc, X_GLrop_BeginQuery, cmdlen);
6503 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6504 (void) memcpy((void *)(gc->pc + 8), (void *)(&id), 4);
6505 gc->pc += cmdlen;
6506 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6528 (void) __glXFlushRenderBuffer(gc, gc->pc);
6531 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_DeleteQueries, cmdlen);
6532 (void) memcpy((void *)(pc + 0), (void *)(&n), 4);
6533 (void) memcpy((void *)(pc + 4), (void *)(ids), safe_mul(n, 4));
6545 emit_header(gc->pc, X_GLrop_EndQuery, cmdlen);
6546 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
6547 gc->pc += cmdlen;
6548 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6566 (void) __glXFlushRenderBuffer(gc, gc->pc);
6571 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GenQueries, cmdlen);
6572 (void) memcpy((void *)(pc + 0), (void *)(&n), 4);
6591 (void) __glXFlushRenderBuffer(gc, gc->pc);
6601 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetQueryObjectiv, cmdlen);
6602 (void) memcpy((void *)(pc + 0), (void *)(&id), 4);
6603 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
6622 (void) __glXFlushRenderBuffer(gc, gc->pc);
6632 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetQueryObjectuiv, cmdlen);
6633 (void) memcpy((void *)(pc + 0), (void *)(&id), 4);
6634 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
6653 (void) __glXFlushRenderBuffer(gc, gc->pc);
6663 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GetQueryiv, cmdlen);
6664 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
6665 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
6685 (void) __glXFlushRenderBuffer(gc, gc->pc);
6690 GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_IsQuery, cmdlen);
6691 (void) memcpy((void *)(pc + 0), (void *)(&id), 4);
6704 emit_header(gc->pc, X_GLrop_BlendEquationSeparate, cmdlen);
6705 (void) memcpy((void *)(gc->pc + 4), (void *)(&modeRGB), 4);
6706 (void) memcpy((void *)(gc->pc + 8), (void *)(&modeA), 4);
6707 gc->pc += cmdlen;
6708 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6726 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
6727 (void) __glXFlushRenderBuffer(gc, gc->pc);
6729 emit_header(gc->pc, X_GLrop_DrawBuffers, cmdlen);
6730 (void) memcpy((void *)(gc->pc + 4), (void *)(&n), 4);
6731 (void) memcpy((void *)(gc->pc + 8), (void *)(bufs), safe_mul(n, 4));
6732 gc->pc += cmdlen;
6733 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6738 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
6739 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
6740 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
6741 (void) memcpy((void *)(pc + 8), (void *)(&n), 4);
6742 __glXSendLargeCommand(gc, pc, 12, bufs, safe_mul(n, 4));
6752 emit_header(gc->pc, X_GLrop_VertexAttrib1dv, cmdlen);
6753 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6754 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 8);
6755 gc->pc += cmdlen;
6756 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6764 emit_header(gc->pc, X_GLrop_VertexAttrib1dv, cmdlen);
6765 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6766 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 8);
6767 gc->pc += cmdlen;
6768 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6776 emit_header(gc->pc, X_GLrop_VertexAttrib1sv, cmdlen);
6777 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6778 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 2);
6779 gc->pc += cmdlen;
6780 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6788 emit_header(gc->pc, X_GLrop_VertexAttrib1sv, cmdlen);
6789 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6790 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 2);
6791 gc->pc += cmdlen;
6792 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6800 emit_header(gc->pc, X_GLrop_VertexAttrib2dv, cmdlen);
6801 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6802 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 8);
6803 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 8);
6804 gc->pc += cmdlen;
6805 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6813 emit_header(gc->pc, X_GLrop_VertexAttrib2dv, cmdlen);
6814 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6815 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 16);
6816 gc->pc += cmdlen;
6817 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6825 emit_header(gc->pc, X_GLrop_VertexAttrib2sv, cmdlen);
6826 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6827 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 2);
6828 (void) memcpy((void *)(gc->pc + 10), (void *)(&y), 2);
6829 gc->pc += cmdlen;
6830 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6838 emit_header(gc->pc, X_GLrop_VertexAttrib2sv, cmdlen);
6839 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6840 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 4);
6841 gc->pc += cmdlen;
6842 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6850 emit_header(gc->pc, X_GLrop_VertexAttrib3dv, cmdlen);
6851 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6852 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 8);
6853 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 8);
6854 (void) memcpy((void *)(gc->pc + 24), (void *)(&z), 8);
6855 gc->pc += cmdlen;
6856 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6864 emit_header(gc->pc, X_GLrop_VertexAttrib3dv, cmdlen);
6865 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6866 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 24);
6867 gc->pc += cmdlen;
6868 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6876 emit_header(gc->pc, X_GLrop_VertexAttrib3sv, cmdlen);
6877 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6878 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 2);
6879 (void) memcpy((void *)(gc->pc + 10), (void *)(&y), 2);
6880 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 2);
6881 gc->pc += cmdlen;
6882 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6890 emit_header(gc->pc, X_GLrop_VertexAttrib3sv, cmdlen);
6891 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6892 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 6);
6893 gc->pc += cmdlen;
6894 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6902 emit_header(gc->pc, X_GLrop_VertexAttrib4Nbv, cmdlen);
6903 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6904 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 4);
6905 gc->pc += cmdlen;
6906 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6914 emit_header(gc->pc, X_GLrop_VertexAttrib4Niv, cmdlen);
6915 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6916 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 16);
6917 gc->pc += cmdlen;
6918 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6926 emit_header(gc->pc, X_GLrop_VertexAttrib4Nsv, cmdlen);
6927 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6928 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 8);
6929 gc->pc += cmdlen;
6930 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6938 emit_header(gc->pc, X_GLrop_VertexAttrib4Nubv, cmdlen);
6939 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6940 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 1);
6941 (void) memcpy((void *)(gc->pc + 9), (void *)(&y), 1);
6942 (void) memcpy((void *)(gc->pc + 10), (void *)(&z), 1);
6943 (void) memcpy((void *)(gc->pc + 11), (void *)(&w), 1);
6944 gc->pc += cmdlen;
6945 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6953 emit_header(gc->pc, X_GLrop_VertexAttrib4Nubv, cmdlen);
6954 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6955 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 4);
6956 gc->pc += cmdlen;
6957 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6965 emit_header(gc->pc, X_GLrop_VertexAttrib4Nuiv, cmdlen);
6966 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6967 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 16);
6968 gc->pc += cmdlen;
6969 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6977 emit_header(gc->pc, X_GLrop_VertexAttrib4Nusv, cmdlen);
6978 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6979 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 8);
6980 gc->pc += cmdlen;
6981 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
6989 emit_header(gc->pc, X_GLrop_VertexAttrib4bv, cmdlen);
6990 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
6991 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 4);
6992 gc->pc += cmdlen;
6993 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7001 emit_header(gc->pc, X_GLrop_VertexAttrib4dv, cmdlen);
7002 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7003 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 8);
7004 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 8);
7005 (void) memcpy((void *)(gc->pc + 24), (void *)(&z), 8);
7006 (void) memcpy((void *)(gc->pc + 32), (void *)(&w), 8);
7007 gc->pc += cmdlen;
7008 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7016 emit_header(gc->pc, X_GLrop_VertexAttrib4dv, cmdlen);
7017 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7018 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 32);
7019 gc->pc += cmdlen;
7020 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7028 emit_header(gc->pc, X_GLrop_VertexAttrib4iv, cmdlen);
7029 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7030 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 16);
7031 gc->pc += cmdlen;
7032 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7040 emit_header(gc->pc, X_GLrop_VertexAttrib4sv, cmdlen);
7041 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7042 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 2);
7043 (void) memcpy((void *)(gc->pc + 10), (void *)(&y), 2);
7044 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 2);
7045 (void) memcpy((void *)(gc->pc + 14), (void *)(&w), 2);
7046 gc->pc += cmdlen;
7047 if (__builtin_expect(gc->pcpc); }
7055 emit_header(gc->pc, X_GLrop_VertexAttrib4sv, cmdlen);
7056 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7057 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 8);
7058 gc->pc += cmdlen;
7059 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7067 emit_header(gc->pc, X_GLrop_VertexAttrib4ubv, cmdlen);
7068 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7069 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 4);
7070 gc->pc += cmdlen;
7071 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7079 emit_header(gc->pc, X_GLrop_VertexAttrib4uiv, cmdlen);
7080 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7081 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 16);
7082 gc->pc += cmdlen;
7083 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7091 emit_header(gc->pc, X_GLrop_VertexAttrib4usv, cmdlen);
7092 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7093 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 8);
7094 gc->pc += cmdlen;
7095 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7103 emit_header(gc->pc, X_GLrop_ClampColor, cmdlen);
7104 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7105 (void) memcpy((void *)(gc->pc + 8), (void *)(&clamp), 4);
7106 gc->pc += cmdlen;
7107 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7115 emit_header(gc->pc, X_GLrop_BindProgramARB, cmdlen);
7116 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7117 (void) memcpy((void *)(gc->pc + 8), (void *)(&program), 4);
7118 gc->pc += cmdlen;
7119 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7137 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivate, X_GLvop_DeleteProgramsARB, cmdlen);
7138 (void) memcpy((void *)(pc + 0), (void *)(&n), 4);
7139 (void) memcpy((void *)(pc + 4), (void *)(programs), safe_mul(n, 4));
7156 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GenProgramsARB, cmdlen);
7157 (void) memcpy((void *)(pc + 0), (void *)(&n), 4);
7171 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetProgramStringARB, cmdlen);
7172 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
7173 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
7187 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetProgramivARB, cmdlen);
7188 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
7189 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
7204 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_IsProgramARB, cmdlen);
7205 (void) memcpy((void *)(pc + 0), (void *)(&program), 4);
7217 emit_header(gc->pc, X_GLrop_ProgramEnvParameter4dvARB, cmdlen);
7218 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7219 (void) memcpy((void *)(gc->pc + 8), (void *)(&index), 4);
7220 (void) memcpy((void *)(gc->pc + 12), (void *)(&x), 8);
7221 (void) memcpy((void *)(gc->pc + 20), (void *)(&y), 8);
7222 (void) memcpy((void *)(gc->pc + 28), (void *)(&z), 8);
7223 (void) memcpy((void *)(gc->pc + 36), (void *)(&w), 8);
7224 gc->pc += cmdlen;
7225 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7233 emit_header(gc->pc, X_GLrop_ProgramEnvParameter4dvARB, cmdlen);
7234 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7235 (void) memcpy((void *)(gc->pc + 8), (void *)(&index), 4);
7236 (void) memcpy((void *)(gc->pc + 12), (void *)(params), 32);
7237 gc->pc += cmdlen;
7238 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7246 emit_header(gc->pc, X_GLrop_ProgramEnvParameter4fvARB, cmdlen);
7247 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7248 (void) memcpy((void *)(gc->pc + 8), (void *)(&index), 4);
7249 (void) memcpy((void *)(gc->pc + 12), (void *)(&x), 4);
7250 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 4);
7251 (void) memcpy((void *)(gc->pc + 20), (void *)(&z), 4);
7252 (void) memcpy((void *)(gc->pc + 24), (void *)(&w), 4);
7253 gc->pc += cmdlen;
7254 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7262 emit_header(gc->pc, X_GLrop_ProgramEnvParameter4fvARB, cmdlen);
7263 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7264 (void) memcpy((void *)(gc->pc + 8), (void *)(&index), 4);
7265 (void) memcpy((void *)(gc->pc + 12), (void *)(params), 16);
7266 gc->pc += cmdlen;
7267 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7275 emit_header(gc->pc, X_GLrop_ProgramLocalParameter4dvARB, cmdlen);
7276 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7277 (void) memcpy((void *)(gc->pc + 8), (void *)(&index), 4);
7278 (void) memcpy((void *)(gc->pc + 12), (void *)(&x), 8);
7279 (void) memcpy((void *)(gc->pc + 20), (void *)(&y), 8);
7280 (void) memcpy((void *)(gc->pc + 28), (void *)(&z), 8);
7281 (void) memcpy((void *)(gc->pc + 36), (void *)(&w), 8);
7282 gc->pc += cmdlen;
7283 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7291 emit_header(gc->pc, X_GLrop_ProgramLocalParameter4dvARB, cmdlen);
7292 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7293 (void) memcpy((void *)(gc->pc + 8), (void *)(&index), 4);
7294 (void) memcpy((void *)(gc->pc + 12), (void *)(params), 32);
7295 gc->pc += cmdlen;
7296 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7304 emit_header(gc->pc, X_GLrop_ProgramLocalParameter4fvARB, cmdlen);
7305 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7306 (void) memcpy((void *)(gc->pc + 8), (void *)(&index), 4);
7307 (void) memcpy((void *)(gc->pc + 12), (void *)(&x), 4);
7308 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 4);
7309 (void) memcpy((void *)(gc->pc + 20), (void *)(&z), 4);
7310 (void) memcpy((void *)(gc->pc + 24), (void *)(&w), 4);
7311 gc->pc += cmdlen;
7312 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7320 emit_header(gc->pc, X_GLrop_ProgramLocalParameter4fvARB, cmdlen);
7321 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7322 (void) memcpy((void *)(gc->pc + 8), (void *)(&index), 4);
7323 (void) memcpy((void *)(gc->pc + 12), (void *)(params), 16);
7324 gc->pc += cmdlen;
7325 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7343 if ( (gc->pc + cmdlen) > gc->bufEnd ) {
7344 (void) __glXFlushRenderBuffer(gc, gc->pc);
7346 emit_header(gc->pc, X_GLrop_ProgramStringARB, cmdlen);
7347 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7348 (void) memcpy((void *)(gc->pc + 8), (void *)(&format), 4);
7349 (void) memcpy((void *)(gc->pc + 12), (void *)(&len), 4);
7350 (void) memcpy((void *)(gc->pc + 16), (void *)(string), len);
7351 gc->pc += cmdlen;
7352 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7357 GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);
7358 (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);
7359 (void) memcpy((void *)(pc + 4), (void *)(&op), 4);
7360 (void) memcpy((void *)(pc + 8), (void *)(&target), 4);
7361 (void) memcpy((void *)(pc + 12), (void *)(&format), 4);
7362 (void) memcpy((void *)(pc + 16), (void *)(&len), 4);
7363 __glXSendLargeCommand(gc, pc, 20, string, len);
7373 emit_header(gc->pc, X_GLrop_VertexAttrib1fvARB, cmdlen);
7374 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7375 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 4);
7376 gc->pc += cmdlen;
7377 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7385 emit_header(gc->pc, X_GLrop_VertexAttrib1fvARB, cmdlen);
7386 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7387 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 4);
7388 gc->pc += cmdlen;
7389 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7397 emit_header(gc->pc, X_GLrop_VertexAttrib2fvARB, cmdlen);
7398 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7399 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 4);
7400 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 4);
7401 gc->pc += cmdlen;
7402 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7410 emit_header(gc->pc, X_GLrop_VertexAttrib2fvARB, cmdlen);
7411 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7412 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 8);
7413 gc->pc += cmdlen;
7414 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7422 emit_header(gc->pc, X_GLrop_VertexAttrib3fvARB, cmdlen);
7423 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7424 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 4);
7425 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 4);
7426 (void) memcpy((void *)(gc->pc + 16), (void *)(&z), 4);
7427 gc->pc += cmdlen;
7428 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7436 emit_header(gc->pc, X_GLrop_VertexAttrib3fvARB, cmdlen);
7437 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7438 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 12);
7439 gc->pc += cmdlen;
7440 if (__builtin_expect(gc->pcpc); }
7448 emit_header(gc->pc, X_GLrop_VertexAttrib4fvARB, cmdlen);
7449 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7450 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 4);
7451 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 4);
7452 (void) memcpy((void *)(gc->pc + 16), (void *)(&z), 4);
7453 (void) memcpy((void *)(gc->pc + 20), (void *)(&w), 4);
7454 gc->pc += cmdlen;
7455 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7463 emit_header(gc->pc, X_GLrop_VertexAttrib4fvARB, cmdlen);
7464 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
7465 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 16);
7466 gc->pc += cmdlen;
7467 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7475 emit_header(gc->pc, X_GLrop_BindFramebuffer, cmdlen);
7476 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7477 (void) memcpy((void *)(gc->pc + 8), (void *)(&framebuffer), 4);
7478 gc->pc += cmdlen;
7479 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7487 emit_header(gc->pc, X_GLrop_BindRenderbuffer, cmdlen);
7488 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7489 (void) memcpy((void *)(gc->pc + 8), (void *)(&renderbuffer), 4);
7490 gc->pc += cmdlen;
7491 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7499 emit_header(gc->pc, X_GLrop_BlitFramebuffer, cmdlen);
7500 (void) memcpy((void *)(gc->pc + 4), (void *)(&srcX0), 4);
7501 (void) memcpy((void *)(gc->pc + 8), (void *)(&srcY0), 4);
7502 (void) memcpy((void *)(gc->pc + 12), (void *)(&srcX1), 4);
7503 (void) memcpy((void *)(gc->pc + 16), (void *)(&srcY1), 4);
7504 (void) memcpy((void *)(gc->pc + 20), (void *)(&dstX0), 4);
7505 (void) memcpy((void *)(gc->pc + 24), (void *)(&dstY0), 4);
7506 (void) memcpy((void *)(gc->pc + 28), (void *)(&dstX1), 4);
7507 (void) memcpy((void *)(gc->pc + 32), (void *)(&dstY1), 4);
7508 (void) memcpy((void *)(gc->pc + 36), (void *)(&mask), 4);
7509 (void) memcpy((void *)(gc->pc + 40), (void *)(&filter), 4);
7510 gc->pc += cmdlen;
7511 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7522 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_CheckFramebufferStatus, cmdlen);
7523 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
7544 emit_header(gc->pc, X_GLrop_DeleteFramebuffers, cmdlen);
7545 (void) memcpy((void *)(gc->pc + 4), (void *)(&n), 4);
7546 (void) memcpy((void *)(gc->pc + 8), (void *)(framebuffers), safe_mul(n, 4));
7547 gc->pc += cmdlen;
7548 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7566 emit_header(gc->pc, X_GLrop_DeleteRenderbuffers, cmdlen);
7567 (void) memcpy((void *)(gc->pc + 4), (void *)(&n), 4);
7568 (void) memcpy((void *)(gc->pc + 8), (void *)(renderbuffers), safe_mul(n, 4));
7569 gc->pc += cmdlen;
7570 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7579 emit_header(gc->pc, X_GLrop_FramebufferRenderbuffer, cmdlen);
7580 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7581 (void) memcpy((void *)(gc->pc + 8), (void *)(&attachment), 4);
7582 (void) memcpy((void *)(gc->pc + 12), (void *)(&renderbuffertarget), 4);
7583 (void) memcpy((void *)(gc->pc + 16), (void *)(&renderbuffer), 4);
7584 gc->pc += cmdlen;
7585 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7593 emit_header(gc->pc, X_GLrop_FramebufferTexture1D, cmdlen);
7594 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7595 (void) memcpy((void *)(gc->pc + 8), (void *)(&attachment), 4);
7596 (void) memcpy((void *)(gc->pc + 12), (void *)(&textarget), 4);
7597 (void) memcpy((void *)(gc->pc + 16), (void *)(&texture), 4);
7598 (void) memcpy((void *)(gc->pc + 20), (void *)(&level), 4);
7599 gc->pc += cmdlen;
7600 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7608 emit_header(gc->pc, X_GLrop_FramebufferTexture2D, cmdlen);
7609 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7610 (void) memcpy((void *)(gc->pc + 8), (void *)(&attachment), 4);
7611 (void) memcpy((void *)(gc->pc + 12), (void *)(&textarget), 4);
7612 (void) memcpy((void *)(gc->pc + 16), (void *)(&texture), 4);
7613 (void) memcpy((void *)(gc->pc + 20), (void *)(&level), 4);
7614 gc->pc += cmdlen;
7615 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7623 emit_header(gc->pc, X_GLrop_FramebufferTexture3D, cmdlen);
7624 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7625 (void) memcpy((void *)(gc->pc + 8), (void *)(&attachment), 4);
7626 (void) memcpy((void *)(gc->pc + 12), (void *)(&textarget), 4);
7627 (void) memcpy((void *)(gc->pc + 16), (void *)(&texture), 4);
7628 (void) memcpy((void *)(gc->pc + 20), (void *)(&level), 4);
7629 (void) memcpy((void *)(gc->pc + 24), (void *)(&layer), 4);
7630 gc->pc += cmdlen;
7631 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7639 emit_header(gc->pc, X_GLrop_FramebufferTextureLayer, cmdlen);
7640 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7641 (void) memcpy((void *)(gc->pc + 8), (void *)(&attachment), 4);
7642 (void) memcpy((void *)(gc->pc + 12), (void *)(&texture), 4);
7643 (void) memcpy((void *)(gc->pc + 16), (void *)(&level), 4);
7644 (void) memcpy((void *)(gc->pc + 20), (void *)(&layer), 4);
7645 gc->pc += cmdlen;
7646 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7660 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GenFramebuffers, cmdlen);
7661 (void) memcpy((void *)(pc + 0), (void *)(&n), 4);
7679 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GenRenderbuffers, cmdlen);
7680 (void) memcpy((void *)(pc + 0), (void *)(&n), 4);
7692 emit_header(gc->pc, X_GLrop_GenerateMipmap, cmdlen);
7693 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7694 gc->pc += cmdlen;
7695 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7705 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetFramebufferAttachmentParameteriv, cmdlen);
7706 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
7707 (void) memcpy((void *)(pc + 4), (void *)(&attachment), 4);
7708 (void) memcpy((void *)(pc + 8), (void *)(&pname), 4);
7722 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetRenderbufferParameteriv, cmdlen);
7723 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
7724 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
7739 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_IsFramebuffer, cmdlen);
7740 (void) memcpy((void *)(pc + 0), (void *)(&framebuffer), 4);
7755 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_IsRenderbuffer, cmdlen);
7756 (void) memcpy((void *)(pc + 0), (void *)(&renderbuffer), 4);
7768 emit_header(gc->pc, X_GLrop_RenderbufferStorage, cmdlen);
7769 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7770 (void) memcpy((void *)(gc->pc + 8), (void *)(&internalformat), 4);
7771 (void) memcpy((void *)(gc->pc + 12), (void *)(&width), 4);
7772 (void) memcpy((void *)(gc->pc + 16), (void *)(&height), 4);
7773 gc->pc += cmdlen;
7774 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7782 emit_header(gc->pc, X_GLrop_RenderbufferStorageMultisample, cmdlen);
7783 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7784 (void) memcpy((void *)(gc->pc + 8), (void *)(&samples), 4);
7785 (void) memcpy((void *)(gc->pc + 12), (void *)(&internalformat), 4);
7786 (void) memcpy((void *)(gc->pc + 16), (void *)(&width), 4);
7787 (void) memcpy((void *)(gc->pc + 20), (void *)(&height), 4);
7788 gc->pc += cmdlen;
7789 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7797 emit_header(gc->pc, X_GLrop_SampleMaskSGIS, cmdlen);
7798 (void) memcpy((void *)(gc->pc + 4), (void *)(&value), 4);
7799 (void) memcpy((void *)(gc->pc + 8), (void *)(&invert), 1);
7800 gc->pc += cmdlen;
7801 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7809 emit_header(gc->pc, X_GLrop_SamplePatternSGIS, cmdlen);
7810 (void) memcpy((void *)(gc->pc + 4), (void *)(&pattern), 4);
7811 gc->pc += cmdlen;
7812 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7820 emit_header(gc->pc, X_GLrop_SecondaryColor3fvEXT, cmdlen);
7821 (void) memcpy((void *)(gc->pc + 4), (void *)(&red), 4);
7822 (void) memcpy((void *)(gc->pc + 8), (void *)(&green), 4);
7823 (void) memcpy((void *)(gc->pc + 12), (void *)(&blue), 4);
7824 pc += cmdlen;
7825 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7839 emit_header(gc->pc, X_GLrop_FogCoordfvEXT, cmdlen);
7840 (void) memcpy((void *)(gc->pc + 4), (void *)(&coord), 4);
7841 gc->pc += cmdlen;
7842 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7867 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_AreProgramsResidentNV, cmdlen);
7868 (void) memcpy((void *)(pc + 0), (void *)(&n), 4);
7869 (void) memcpy((void *)(pc + 4), (void *)(ids), safe_mul(n, 4));
7881 emit_header(gc->pc, X_GLrop_ExecuteProgramNV, cmdlen);
7882 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
7883 (void) memcpy((void *)(gc->pc + 8), (void *)(&id), 4);
7884 (void) memcpy((void *)(gc->pc + 12), (void *)(params), 16);
7885 gc->pc += cmdlen;
7886 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
7896 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetProgramParameterdvNV, cmdlen);
7897 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
7898 (void) memcpy((void *)(pc + 4), (void *)(&index), 4);
7899 (void) memcpy((void *)(pc + 8), (void *)(&pname), 4);
7913 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetProgramParameterfvNV, cmdlen);
7914 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
7915 (void) memcpy((void *)(pc + 4), (void *)(&index), 4);
7916 (void) memcpy((void *)(pc + 8), (void *)(&pname), 4);
7930 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetProgramStringNV, cmdlen);
7931 (void) memcpy((void *)(pc + 0), (void *)(&id), 4);
7932 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
7946 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetProgramivNV, cmdlen);
7947 (void) memcpy((void *)(pc + 0), (void *)(&id), 4);
7948 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
7962 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetTrackMatrixivNV, cmdlen);
7963 (void) memcpy((void *)(pc + 0), (void *)(&target), 4);
7964 (void) memcpy((void *)(pc + 4), (void *)(&address), 4);
7965 (void) memcpy((void *)(pc + 8), (void *)(&pname), 4);
7979 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetVertexAttribdvNV, cmdlen);
7980 (void) memcpy((void *)(pc + 0), (void *)(&index), 4);
7981 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
7995 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetVertexAttribfvNV, cmdlen);
7996 (void) memcpy((void *)(pc + 0), (void *)(&index), 4);
7997 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
8011 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetVertexAttribivNV, cmdlen);
8012 (void) memcpy((void *)(pc + 0), (void *)(&index), 4);
8013 (void) memcpy((void *)(pc + 4), (void *)(&pname), 4);
8034 emit_header(gc->pc, X_GLrop_LoadProgramNV, cmdlen);
8035 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
8036 (void) memcpy((void *)(gc->pc + 8), (void *)(&id), 4);
8037 (void) memcpy((void *)(gc->pc + 12), (void *)(&len), 4);
8038 (void) memcpy((void *)(gc->pc + 16), (void *)(program), len);
8039 gc->pc += cmdlen;
8040 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8058 emit_header(gc->pc, X_GLrop_ProgramParameters4dvNV, cmdlen);
8059 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
8060 (void) memcpy((void *)(gc->pc + 8), (void *)(&index), 4);
8061 (void) memcpy((void *)(gc->pc + 12), (void *)(&num), 4);
8062 (void) memcpy((void *)(gc->pc + 16), (void *)(params), safe_mul(num, 32));
8063 gc->pc += cmdlen;
8064 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8082 emit_header(gc->pc, X_GLrop_ProgramParameters4fvNV, cmdlen);
8083 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
8084 (void) memcpy((void *)(gc->pc + 8), (void *)(&index), 4);
8085 (void) memcpy((void *)(gc->pc + 12), (void *)(&num), 4);
8086 (void) memcpy((void *)(gc->pc + 16), (void *)(params), safe_mul(num, 16));
8087 gc->pc += cmdlen;
8088 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8106 emit_header(gc->pc, X_GLrop_RequestResidentProgramsNV, cmdlen);
8107 (void) memcpy((void *)(gc->pc + 4), (void *)(&n), 4);
8108 (void) memcpy((void *)(gc->pc + 8), (void *)(ids), safe_mul(n, 4));
8109 gc->pc += cmdlen;
8110 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8119 emit_header(gc->pc, X_GLrop_TrackMatrixNV, cmdlen);
8120 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
8121 (void) memcpy((void *)(gc->pc + 8), (void *)(&address), 4);
8122 (void) memcpy((void *)(gc->pc + 12), (void *)(&matrix), 4);
8123 (void) memcpy((void *)(gc->pc + 16), (void *)(&transform), 4);
8124 gc->pc += cmdlen;
8125 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8133 emit_header(gc->pc, X_GLrop_VertexAttrib1dvNV, cmdlen);
8134 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8135 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 8);
8136 gc->pc += cmdlen;
8137 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8145 emit_header(gc->pc, X_GLrop_VertexAttrib1dvNV, cmdlen);
8146 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8147 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 8);
8148 gc->pc += cmdlen;
8149 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8157 emit_header(gc->pc, X_GLrop_VertexAttrib1fvNV, cmdlen);
8158 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8159 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 4);
8160 gc->pc += cmdlen;
8161 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8169 emit_header(gc->pc, X_GLrop_VertexAttrib1fvNV, cmdlen);
8170 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8171 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 4);
8172 gc->pc += cmdlen;
8173 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8181 emit_header(gc->pc, X_GLrop_VertexAttrib1svNV, cmdlen);
8182 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8183 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 2);
8184 gc->pc += cmdlen;
8185 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8193 emit_header(gc->pc, X_GLrop_VertexAttrib1svNV, cmdlen);
8194 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8195 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 2);
8196 gc->pc += cmdlen;
8197 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8205 emit_header(gc->pc, X_GLrop_VertexAttrib2dvNV, cmdlen);
8206 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8207 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 8);
8208 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 8);
8209 gc->pc += cmdlen;
8210 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8218 emit_header(gc->pc, X_GLrop_VertexAttrib2dvNV, cmdlen);
8219 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8220 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 16);
8221 gc->pc += cmdlen;
8222 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8230 emit_header(gc->pc, X_GLrop_VertexAttrib2fvNV, cmdlen);
8231 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8232 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 4);
8233 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 4);
8234 gc->pc += cmdlen;
8235 if (__builtin_expect(gc->pcpc); }
8243 emit_header(gc->pc, X_GLrop_VertexAttrib2fvNV, cmdlen);
8244 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8245 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 8);
8246 gc->pc += cmdlen;
8247 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8255 emit_header(gc->pc, X_GLrop_VertexAttrib2svNV, cmdlen);
8256 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8257 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 2);
8258 (void) memcpy((void *)(gc->pc + 10), (void *)(&y), 2);
8259 gc->pc += cmdlen;
8260 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8268 emit_header(gc->pc, X_GLrop_VertexAttrib2svNV, cmdlen);
8269 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8270 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 4);
8271 gc->pc += cmdlen;
8272 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8280 emit_header(gc->pc, X_GLrop_VertexAttrib3dvNV, cmdlen);
8281 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8282 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 8);
8283 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 8);
8284 (void) memcpy((void *)(gc->pc + 24), (void *)(&z), 8);
8285 gc->pc += cmdlen;
8286 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8294 emit_header(gc->pc, X_GLrop_VertexAttrib3dvNV, cmdlen);
8295 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8296 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 24);
8297 gc->pc += cmdlen;
8298 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8306 emit_header(gc->pc, X_GLrop_VertexAttrib3fvNV, cmdlen);
8307 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8308 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 4);
8309 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 4);
8310 (void) memcpy((void *)(gc->pc + 16), (void *)(&z), 4);
8311 gc->pc += cmdlen;
8312 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8320 emit_header(gc->pc, X_GLrop_VertexAttrib3fvNV, cmdlen);
8321 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8322 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 12);
8323 gc->pc += cmdlen;
8324 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8332 emit_header(gc->pc, X_GLrop_VertexAttrib3svNV, cmdlen);
8333 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8334 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 2);
8335 (void) memcpy((void *)(gc->pc + 10), (void *)(&y), 2);
8336 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 2);
8337 gc->pc += cmdlen;
8338 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8346 emit_header(gc->pc, X_GLrop_VertexAttrib3svNV, cmdlen);
8347 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8348 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 6);
8349 gc->pc += cmdlen;
8350 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8358 emit_header(gc->pc, X_GLrop_VertexAttrib4dvNV, cmdlen);
8359 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8360 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 8);
8361 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 8);
8362 (void) memcpy((void *)(gc->pc + 24), (void *)(&z), 8);
8363 (void) memcpy((void *)(gc->pc + 32), (void *)(&w), 8);
8364 gc->pc += cmdlen;
8365 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8373 emit_header(gc->pc, X_GLrop_VertexAttrib4dvNV, cmdlen);
8374 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8375 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 32);
8376 gc->pc += cmdlen;
8377 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8385 emit_header(gc->pc, X_GLrop_VertexAttrib4fvNV, cmdlen);
8386 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8387 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 4);
8388 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 4);
8389 (void) memcpy((void *)(gc->pc + 16), (void *)(&z), 4);
8390 (void) memcpy((void *)(gc->pc + 20), (void *)(&w), 4);
8391 gc->pc += cmdlen;
8392 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8400 emit_header(gc->pc, X_GLrop_VertexAttrib4fvNV, cmdlen);
8401 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8402 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 16);
8403 gc->pc += cmdlen;
8404 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8412 emit_header(gc->pc, X_GLrop_VertexAttrib4svNV, cmdlen);
8413 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8414 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 2);
8415 (void) memcpy((void *)(gc->pc + 10), (void *)(&y), 2);
8416 (void) memcpy((void *)(gc->pc + 12), (void *)(&z), 2);
8417 (void) memcpy((void *)(gc->pc + 14), (void *)(&w), 2);
8418 gc->pc += cmdlen;
8419 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8427 emit_header(gc->pc, X_GLrop_VertexAttrib4svNV, cmdlen);
8428 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8429 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 8);
8430 gc->pc += cmdlen;
8431 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8439 emit_header(gc->pc, X_GLrop_VertexAttrib4ubvNV, cmdlen);
8440 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8441 (void) memcpy((void *)(gc->pc + 8), (void *)(&x), 1);
8442 (void) memcpy((void *)(gc->pc + 9), (void *)(&y), 1);
8443 (void) memcpy((void *)(gc->pc + 10), (void *)(&z), 1);
8444 (void) memcpy((void *)(gc->pc + 11), (void *)(&w), 1);
8445 gc->pc += cmdlen;
8446 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8454 emit_header(gc->pc, X_GLrop_VertexAttrib4ubvNV, cmdlen);
8455 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8456 (void) memcpy((void *)(gc->pc + 8), (void *)(v), 4);
8457 gc->pc += cmdlen;
8458 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8475 emit_header(gc->pc, X_GLrop_VertexAttribs1dvNV, cmdlen);
8476 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8477 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8478 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 8));
8479 gc->pc += cmdlen;
8480 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8498 emit_header(gc->pc, X_GLrop_VertexAttribs1fvNV, cmdlen);
8499 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8500 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8501 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 4));
8502 gc->pc += cmdlen;
8503 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8521 emit_header(gc->pc, X_GLrop_VertexAttribs1svNV, cmdlen);
8522 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8523 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8524 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 2));
8525 gc->pc += cmdlen;
8526 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8544 emit_header(gc->pc, X_GLrop_VertexAttribs2dvNV, cmdlen);
8545 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8546 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8547 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 16));
8548 gc->pc += cmdlen;
8549 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8567 emit_header(gc->pc, X_GLrop_VertexAttribs2fvNV, cmdlen);
8568 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8569 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8570 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 8));
8571 gc->pc += cmdlen;
8572 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8590 emit_header(gc->pc, X_GLrop_VertexAttribs2svNV, cmdlen);
8591 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8592 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8593 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 4));
8594 gc->pc += cmdlen;
8595 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8613 emit_header(gc->pc, X_GLrop_VertexAttribs3dvNV, cmdlen);
8614 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8615 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8616 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 24));
8617 gc->pc += cmdlen;
8618 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8636 emit_header(gc->pc, X_GLrop_VertexAttribs3fvNV, cmdlen);
8637 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8638 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8639 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 12));
8640 gc->pc += cmdlen;
8641 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8659 emit_header(gc->pc, X_GLrop_VertexAttribs3svNV, cmdlen);
8660 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8661 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8662 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 6));
8663 gc->pc += cmdlen;
8664 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8682 emit_header(gc->pc, X_GLrop_VertexAttribs4dvNV, cmdlen);
8683 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8684 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8685 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 32));
8686 gc->pc += cmdlen;
8687 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8705 emit_header(gc->pc, X_GLrop_VertexAttribs4fvNV, cmdlen);
8706 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8707 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8708 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 16));
8709 gc->pc += cmdlen;
8710 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8728 emit_header(gc->pc, X_GLrop_VertexAttribs4svNV, cmdlen);
8729 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8730 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8731 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 8));
8732 gc->pc += cmdlen;
8733 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8751 emit_header(gc->pc, X_GLrop_VertexAttribs4ubvNV, cmdlen);
8752 (void) memcpy((void *)(gc->pc + 4), (void *)(&index), 4);
8753 (void) memcpy((void *)(gc->pc + 8), (void *)(&n), 4);
8754 (void) memcpy((void *)(gc->pc + 12), (void *)(v), safe_mul(n, 4));
8755 gc->pc += cmdlen;
8756 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8765 emit_header(gc->pc, X_GLrop_ActiveStencilFaceEXT, cmdlen);
8766 (void) memcpy((void *)(gc->pc + 4), (void *)(&face), 4);
8767 gc->pc += cmdlen;
8768 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8786 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetProgramNamedParameterdvNV, cmdlen);
8787 (void) memcpy((void *)(pc + 0), (void *)(&id), 4);
8788 (void) memcpy((void *)(pc + 4), (void *)(&len), 4);
8789 (void) memcpy((void *)(pc + 8), (void *)(name), len);
8811 GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GetProgramNamedParameterfvNV, cmdlen);
8812 (void) memcpy((void *)(pc + 0), (void *)(&id), 4);
8813 (void) memcpy((void *)(pc + 4), (void *)(&len), 4);
8814 (void) memcpy((void *)(pc + 8), (void *)(name), len);
8835 emit_header(gc->pc, X_GLrop_ProgramNamedParameter4dvNV, cmdlen);
8836 (void) memcpy((void *)(gc->pc + 4), (void *)(&x), 8);
8837 (void) memcpy((void *)(gc->pc + 12), (void *)(&y), 8);
8838 (void) memcpy((void *)(gc->pc + 20), (void *)(&z), 8);
8839 (void) memcpy((void *)(gc->pc + 28), (void *)(&w), 8);
8840 (void) memcpy((void *)(gc->pc + 36), (void *)(&id), 4);
8841 (void) memcpy((void *)(gc->pc + 40), (void *)(&len), 4);
8842 (void) memcpy((void *)(gc->pc + 44), (void *)(name), len);
8843 gc->pc += cmdlen;
8844 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8862 emit_header(gc->pc, X_GLrop_ProgramNamedParameter4dvNV, cmdlen);
8863 (void) memcpy((void *)(gc->pc + 4), (void *)(v), 32);
8864 (void) memcpy((void *)(gc->pc + 36), (void *)(&id), 4);
8865 (void) memcpy((void *)(gc->pc + 40), (void *)(&len), 4);
8866 (void) memcpy((void *)(gc->pc + 44), (void *)(name), len);
8867 gc->pc += cmdlen;
8868 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8886 emit_header(gc->pc, X_GLrop_ProgramNamedParameter4fvNV, cmdlen);
8887 (void) memcpy((void *)(gc->pc + 4), (void *)(&id), 4);
8888 (void) memcpy((void *)(gc->pc + 8), (void *)(&len), 4);
8889 (void) memcpy((void *)(gc->pc + 12), (void *)(&x), 4);
8890 (void) memcpy((void *)(gc->pc + 16), (void *)(&y), 4);
8891 (void) memcpy((void *)(gc->pc + 20), (void *)(&z), 4);
8892 (void) memcpy((void *)(gc->pc + 24), (void *)(&w), 4);
8893 (void) memcpy((void *)(gc->pc + 28), (void *)(name), len);
8894 gc->pc += cmdlen;
8895 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8913 emit_header(gc->pc, X_GLrop_ProgramNamedParameter4fvNV, cmdlen);
8914 (void) memcpy((void *)(gc->pc + 4), (void *)(&id), 4);
8915 (void) memcpy((void *)(gc->pc + 8), (void *)(&len), 4);
8916 (void) memcpy((void *)(gc->pc + 12), (void *)(v), 16);
8917 (void) memcpy((void *)(gc->pc + 28), (void *)(name), len);
8918 gc->pc += cmdlen;
8919 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8928 emit_header(gc->pc, X_GLrop_BindFramebufferEXT, cmdlen);
8929 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
8930 (void) memcpy((void *)(gc->pc + 8), (void *)(&framebuffer), 4);
8931 gc->pc += cmdlen;
8932 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
8940 emit_header(gc->pc, X_GLrop_BindRenderbufferEXT, cmdlen);
8941 (void) memcpy((void *)(gc->pc + 4), (void *)(&target), 4);
8942 (void) memcpy((void *)(gc->pc + 8), (void *)(&renderbuffer), 4);
8943 gc->pc += cmdlen;
8944 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }