Lines Matching refs:cmd
54 _mesa_unmarshal_BufferPageCommitmentARB(struct gl_context *ctx, const struct marshal_cmd_BufferPageCommitmentARB *cmd, const uint64_t *last)
56 GLenum target = cmd->target;
57 GLintptr offset = cmd->offset;
58 GLsizeiptr size = cmd->size;
59 GLboolean commit = cmd->commit;
62 assert (cmd_size == cmd->cmd_base.cmd_size);
70 struct marshal_cmd_BufferPageCommitmentARB *cmd;
71 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_BufferPageCommitmentARB, cmd_size);
72 cmd->target = target;
73 cmd->offset = offset;
74 cmd->size = size;
75 cmd->commit = commit;
89 _mesa_unmarshal_NamedBufferPageCommitmentEXT(struct gl_context *ctx, const struct marshal_cmd_NamedBufferPageCommitmentEXT *cmd, const uint64_t *last)
91 GLuint buffer = cmd->buffer;
92 GLintptr offset = cmd->offset;
93 GLsizeiptr size = cmd->size;
94 GLboolean commit = cmd->commit;
97 assert (cmd_size == cmd->cmd_base.cmd_size);
105 struct marshal_cmd_NamedBufferPageCommitmentEXT *cmd;
106 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_NamedBufferPageCommitmentEXT, cmd_size);
107 cmd->buffer = buffer;
108 cmd->offset = offset;
109 cmd->size = size;
110 cmd->commit = commit;
124 _mesa_unmarshal_NamedBufferPageCommitmentARB(struct gl_context *ctx, const struct marshal_cmd_NamedBufferPageCommitmentARB *cmd, const uint64_t *last)
126 GLuint buffer = cmd->buffer;
127 GLintptr offset = cmd->offset;
128 GLsizeiptr size = cmd->size;
129 GLboolean commit = cmd->commit;
132 assert (cmd_size == cmd->cmd_base.cmd_size);
140 struct marshal_cmd_NamedBufferPageCommitmentARB *cmd;
141 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_NamedBufferPageCommitmentARB, cmd_size);
142 cmd->buffer = buffer;
143 cmd->offset = offset;
144 cmd->size = size;
145 cmd->commit = commit;
163 _mesa_unmarshal_PrimitiveBoundingBox(struct gl_context *ctx, const struct marshal_cmd_PrimitiveBoundingBox *cmd, const uint64_t *last)
165 GLfloat minX = cmd->minX;
166 GLfloat minY = cmd->minY;
167 GLfloat minZ = cmd->minZ;
168 GLfloat minW = cmd->minW;
169 GLfloat maxX = cmd->maxX;
170 GLfloat maxY = cmd->maxY;
171 GLfloat maxZ = cmd->maxZ;
172 GLfloat maxW = cmd->maxW;
175 assert (cmd_size == cmd->cmd_base.cmd_size);
183 struct marshal_cmd_PrimitiveBoundingBox *cmd;
184 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_PrimitiveBoundingBox, cmd_size);
185 cmd->minX = minX;
186 cmd->minY = minY;
187 cmd->minZ = minZ;
188 cmd->minW = minW;
189 cmd->maxX = maxX;
190 cmd->maxY = maxY;
191 cmd->maxZ = maxZ;
192 cmd->maxW = maxW;
202 _mesa_unmarshal_BlendBarrier(struct gl_context *ctx, const struct marshal_cmd_BlendBarrier *cmd, const uint64_t *last)
206 assert (cmd_size == cmd->cmd_base.cmd_size);
214 struct marshal_cmd_BlendBarrier *cmd;
215 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_BlendBarrier, cmd_size);
216 (void) cmd;
228 _mesa_unmarshal_Uniform1i64ARB(struct gl_context *ctx, const struct marshal_cmd_Uniform1i64ARB *cmd, const uint64_t *last)
230 GLint location = cmd->location;
231 GLint64 x = cmd->x;
234 assert (cmd_size == cmd->cmd_base.cmd_size);
242 struct marshal_cmd_Uniform1i64ARB *cmd;
243 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform1i64ARB, cmd_size);
244 cmd->location = location;
245 cmd->x = x;
258 _mesa_unmarshal_Uniform2i64ARB(struct gl_context *ctx, const struct marshal_cmd_Uniform2i64ARB *cmd, const uint64_t *last)
260 GLint location = cmd->location;
261 GLint64 x = cmd->x;
262 GLint64 y = cmd->y;
265 assert (cmd_size == cmd->cmd_base.cmd_size);
273 struct marshal_cmd_Uniform2i64ARB *cmd;
274 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform2i64ARB, cmd_size);
275 cmd->location = location;
276 cmd->x = x;
277 cmd->y = y;
291 _mesa_unmarshal_Uniform3i64ARB(struct gl_context *ctx, const struct marshal_cmd_Uniform3i64ARB *cmd, const uint64_t *last)
293 GLint location = cmd->location;
294 GLint64 x = cmd->x;
295 GLint64 y = cmd->y;
296 GLint64 z = cmd->z;
299 assert (cmd_size == cmd->cmd_base.cmd_size);
307 struct marshal_cmd_Uniform3i64ARB *cmd;
308 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform3i64ARB, cmd_size);
309 cmd->location = location;
310 cmd->x = x;
311 cmd->y = y;
312 cmd->z = z;
327 _mesa_unmarshal_Uniform4i64ARB(struct gl_context *ctx, const struct marshal_cmd_Uniform4i64ARB *cmd, const uint64_t *last)
329 GLint location = cmd->location;
330 GLint64 x = cmd->x;
331 GLint64 y = cmd->y;
332 GLint64 z = cmd->z;
333 GLint64 w = cmd->w;
336 assert (cmd_size == cmd->cmd_base.cmd_size);
344 struct marshal_cmd_Uniform4i64ARB *cmd;
345 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform4i64ARB, cmd_size);
346 cmd->location = location;
347 cmd->x = x;
348 cmd->y = y;
349 cmd->z = z;
350 cmd->w = w;
363 _mesa_unmarshal_Uniform1i64vARB(struct gl_context *ctx, const struct marshal_cmd_Uniform1i64vARB *cmd, const uint64_t *last)
365 GLint location = cmd->location;
366 GLsizei count = cmd->count;
368 const char *variable_data = (const char *) (cmd + 1);
371 return cmd->cmd_base.cmd_size;
379 struct marshal_cmd_Uniform1i64vARB *cmd;
385 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform1i64vARB, cmd_size);
386 cmd->location = location;
387 cmd->count = count;
388 char *variable_data = (char *) (cmd + 1);
402 _mesa_unmarshal_Uniform2i64vARB(struct gl_context *ctx, const struct marshal_cmd_Uniform2i64vARB *cmd, const uint64_t *last)
404 GLint location = cmd->location;
405 GLsizei count = cmd->count;
407 const char *variable_data = (const char *) (cmd + 1);
410 return cmd->cmd_base.cmd_size;
418 struct marshal_cmd_Uniform2i64vARB *cmd;
424 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform2i64vARB, cmd_size);
425 cmd->location = location;
426 cmd->count = count;
427 char *variable_data = (char *) (cmd + 1);
441 _mesa_unmarshal_Uniform3i64vARB(struct gl_context *ctx, const struct marshal_cmd_Uniform3i64vARB *cmd, const uint64_t *last)
443 GLint location = cmd->location;
444 GLsizei count = cmd->count;
446 const char *variable_data = (const char *) (cmd + 1);
449 return cmd->cmd_base.cmd_size;
457 struct marshal_cmd_Uniform3i64vARB *cmd;
463 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform3i64vARB, cmd_size);
464 cmd->location = location;
465 cmd->count = count;
466 char *variable_data = (char *) (cmd + 1);
480 _mesa_unmarshal_Uniform4i64vARB(struct gl_context *ctx, const struct marshal_cmd_Uniform4i64vARB *cmd, const uint64_t *last)
482 GLint location = cmd->location;
483 GLsizei count = cmd->count;
485 const char *variable_data = (const char *) (cmd + 1);
488 return cmd->cmd_base.cmd_size;
496 struct marshal_cmd_Uniform4i64vARB *cmd;
502 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform4i64vARB, cmd_size);
503 cmd->location = location;
504 cmd->count = count;
505 char *variable_data = (char *) (cmd + 1);
518 _mesa_unmarshal_Uniform1ui64ARB(struct gl_context *ctx, const struct marshal_cmd_Uniform1ui64ARB *cmd, const uint64_t *last)
520 GLint location = cmd->location;
521 GLuint64 x = cmd->x;
524 assert (cmd_size == cmd->cmd_base.cmd_size);
532 struct marshal_cmd_Uniform1ui64ARB *cmd;
533 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform1ui64ARB, cmd_size);
534 cmd->location = location;
535 cmd->x = x;
548 _mesa_unmarshal_Uniform2ui64ARB(struct gl_context *ctx, const struct marshal_cmd_Uniform2ui64ARB *cmd, const uint64_t *last)
550 GLint location = cmd->location;
551 GLuint64 x = cmd->x;
552 GLuint64 y = cmd->y;
555 assert (cmd_size == cmd->cmd_base.cmd_size);
563 struct marshal_cmd_Uniform2ui64ARB *cmd;
564 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform2ui64ARB, cmd_size);
565 cmd->location = location;
566 cmd->x = x;
567 cmd->y = y;
581 _mesa_unmarshal_Uniform3ui64ARB(struct gl_context *ctx, const struct marshal_cmd_Uniform3ui64ARB *cmd, const uint64_t *last)
583 GLint location = cmd->location;
584 GLuint64 x = cmd->x;
585 GLuint64 y = cmd->y;
586 GLuint64 z = cmd->z;
589 assert (cmd_size == cmd->cmd_base.cmd_size);
597 struct marshal_cmd_Uniform3ui64ARB *cmd;
598 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform3ui64ARB, cmd_size);
599 cmd->location = location;
600 cmd->x = x;
601 cmd->y = y;
602 cmd->z = z;
617 _mesa_unmarshal_Uniform4ui64ARB(struct gl_context *ctx, const struct marshal_cmd_Uniform4ui64ARB *cmd, const uint64_t *last)
619 GLint location = cmd->location;
620 GLuint64 x = cmd->x;
621 GLuint64 y = cmd->y;
622 GLuint64 z = cmd->z;
623 GLuint64 w = cmd->w;
626 assert (cmd_size == cmd->cmd_base.cmd_size);
634 struct marshal_cmd_Uniform4ui64ARB *cmd;
635 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform4ui64ARB, cmd_size);
636 cmd->location = location;
637 cmd->x = x;
638 cmd->y = y;
639 cmd->z = z;
640 cmd->w = w;
653 _mesa_unmarshal_Uniform1ui64vARB(struct gl_context *ctx, const struct marshal_cmd_Uniform1ui64vARB *cmd, const uint64_t *last)
655 GLint location = cmd->location;
656 GLsizei count = cmd->count;
658 const char *variable_data = (const char *) (cmd + 1);
661 return cmd->cmd_base.cmd_size;
669 struct marshal_cmd_Uniform1ui64vARB *cmd;
675 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform1ui64vARB, cmd_size);
676 cmd->location = location;
677 cmd->count = count;
678 char *variable_data = (char *) (cmd + 1);
692 _mesa_unmarshal_Uniform2ui64vARB(struct gl_context *ctx, const struct marshal_cmd_Uniform2ui64vARB *cmd, const uint64_t *last)
694 GLint location = cmd->location;
695 GLsizei count = cmd->count;
697 const char *variable_data = (const char *) (cmd + 1);
700 return cmd->cmd_base.cmd_size;
708 struct marshal_cmd_Uniform2ui64vARB *cmd;
714 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform2ui64vARB, cmd_size);
715 cmd->location = location;
716 cmd->count = count;
717 char *variable_data = (char *) (cmd + 1);
731 _mesa_unmarshal_Uniform3ui64vARB(struct gl_context *ctx, const struct marshal_cmd_Uniform3ui64vARB *cmd, const uint64_t *last)
733 GLint location = cmd->location;
734 GLsizei count = cmd->count;
736 const char *variable_data = (const char *) (cmd + 1);
739 return cmd->cmd_base.cmd_size;
747 struct marshal_cmd_Uniform3ui64vARB *cmd;
753 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform3ui64vARB, cmd_size);
754 cmd->location = location;
755 cmd->count = count;
756 char *variable_data = (char *) (cmd + 1);
770 _mesa_unmarshal_Uniform4ui64vARB(struct gl_context *ctx, const struct marshal_cmd_Uniform4ui64vARB *cmd, const uint64_t *last)
772 GLint location = cmd->location;
773 GLsizei count = cmd->count;
775 const char *variable_data = (const char *) (cmd + 1);
778 return cmd->cmd_base.cmd_size;
786 struct marshal_cmd_Uniform4ui64vARB *cmd;
792 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_Uniform4ui64vARB, cmd_size);
793 cmd->location = location;
794 cmd->count = count;
795 char *variable_data = (char *) (cmd + 1);
849 _mesa_unmarshal_ProgramUniform1i64ARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform1i64ARB *cmd, const uint64_t *last)
851 GLuint program = cmd->program;
852 GLint location = cmd->location;
853 GLint64 x = cmd->x;
856 assert (cmd_size == cmd->cmd_base.cmd_size);
864 struct marshal_cmd_ProgramUniform1i64ARB *cmd;
865 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform1i64ARB, cmd_size);
866 cmd->program = program;
867 cmd->location = location;
868 cmd->x = x;
882 _mesa_unmarshal_ProgramUniform2i64ARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform2i64ARB *cmd, const uint64_t *last)
884 GLuint program = cmd->program;
885 GLint location = cmd->location;
886 GLint64 x = cmd->x;
887 GLint64 y = cmd->y;
890 assert (cmd_size == cmd->cmd_base.cmd_size);
898 struct marshal_cmd_ProgramUniform2i64ARB *cmd;
899 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform2i64ARB, cmd_size);
900 cmd->program = program;
901 cmd->location = location;
902 cmd->x = x;
903 cmd->y = y;
918 _mesa_unmarshal_ProgramUniform3i64ARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform3i64ARB *cmd, const uint64_t *last)
920 GLuint program = cmd->program;
921 GLint location = cmd->location;
922 GLint64 x = cmd->x;
923 GLint64 y = cmd->y;
924 GLint64 z = cmd->z;
927 assert (cmd_size == cmd->cmd_base.cmd_size);
935 struct marshal_cmd_ProgramUniform3i64ARB *cmd;
936 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform3i64ARB, cmd_size);
937 cmd->program = program;
938 cmd->location = location;
939 cmd->x = x;
940 cmd->y = y;
941 cmd->z = z;
957 _mesa_unmarshal_ProgramUniform4i64ARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform4i64ARB *cmd, const uint64_t *last)
959 GLuint program = cmd->program;
960 GLint location = cmd->location;
961 GLint64 x = cmd->x;
962 GLint64 y = cmd->y;
963 GLint64 z = cmd->z;
964 GLint64 w = cmd->w;
967 assert (cmd_size == cmd->cmd_base.cmd_size);
975 struct marshal_cmd_ProgramUniform4i64ARB *cmd;
976 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform4i64ARB, cmd_size);
977 cmd->program = program;
978 cmd->location = location;
979 cmd->x = x;
980 cmd->y = y;
981 cmd->z = z;
982 cmd->w = w;
996 _mesa_unmarshal_ProgramUniform1i64vARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform1i64vARB *cmd, const uint64_t *last)
998 GLuint program = cmd->program;
999 GLint location = cmd->location;
1000 GLsizei count = cmd->count;
1002 const char *variable_data = (const char *) (cmd + 1);
1005 return cmd->cmd_base.cmd_size;
1013 struct marshal_cmd_ProgramUniform1i64vARB *cmd;
1019 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform1i64vARB, cmd_size);
1020 cmd->program = program;
1021 cmd->location = location;
1022 cmd->count = count;
1023 char *variable_data = (char *) (cmd + 1);
1038 _mesa_unmarshal_ProgramUniform2i64vARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform2i64vARB *cmd, const uint64_t *last)
1040 GLuint program = cmd->program;
1041 GLint location = cmd->location;
1042 GLsizei count = cmd->count;
1044 const char *variable_data = (const char *) (cmd + 1);
1047 return cmd->cmd_base.cmd_size;
1055 struct marshal_cmd_ProgramUniform2i64vARB *cmd;
1061 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform2i64vARB, cmd_size);
1062 cmd->program = program;
1063 cmd->location = location;
1064 cmd->count = count;
1065 char *variable_data = (char *) (cmd + 1);
1080 _mesa_unmarshal_ProgramUniform3i64vARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform3i64vARB *cmd, const uint64_t *last)
1082 GLuint program = cmd->program;
1083 GLint location = cmd->location;
1084 GLsizei count = cmd->count;
1086 const char *variable_data = (const char *) (cmd + 1);
1089 return cmd->cmd_base.cmd_size;
1097 struct marshal_cmd_ProgramUniform3i64vARB *cmd;
1103 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform3i64vARB, cmd_size);
1104 cmd->program = program;
1105 cmd->location = location;
1106 cmd->count = count;
1107 char *variable_data = (char *) (cmd + 1);
1122 _mesa_unmarshal_ProgramUniform4i64vARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform4i64vARB *cmd, const uint64_t *last)
1124 GLuint program = cmd->program;
1125 GLint location = cmd->location;
1126 GLsizei count = cmd->count;
1128 const char *variable_data = (const char *) (cmd + 1);
1131 return cmd->cmd_base.cmd_size;
1139 struct marshal_cmd_ProgramUniform4i64vARB *cmd;
1145 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform4i64vARB, cmd_size);
1146 cmd->program = program;
1147 cmd->location = location;
1148 cmd->count = count;
1149 char *variable_data = (char *) (cmd + 1);
1163 _mesa_unmarshal_ProgramUniform1ui64ARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform1ui64ARB *cmd, const uint64_t *last)
1165 GLuint program = cmd->program;
1166 GLint location = cmd->location;
1167 GLuint64 x = cmd->x;
1170 assert (cmd_size == cmd->cmd_base.cmd_size);
1178 struct marshal_cmd_ProgramUniform1ui64ARB *cmd;
1179 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform1ui64ARB, cmd_size);
1180 cmd->program = program;
1181 cmd->location = location;
1182 cmd->x = x;
1196 _mesa_unmarshal_ProgramUniform2ui64ARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform2ui64ARB *cmd, const uint64_t *last)
1198 GLuint program = cmd->program;
1199 GLint location = cmd->location;
1200 GLuint64 x = cmd->x;
1201 GLuint64 y = cmd->y;
1204 assert (cmd_size == cmd->cmd_base.cmd_size);
1212 struct marshal_cmd_ProgramUniform2ui64ARB *cmd;
1213 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform2ui64ARB, cmd_size);
1214 cmd->program = program;
1215 cmd->location = location;
1216 cmd->x = x;
1217 cmd->y = y;
1232 _mesa_unmarshal_ProgramUniform3ui64ARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform3ui64ARB *cmd, const uint64_t *last)
1234 GLuint program = cmd->program;
1235 GLint location = cmd->location;
1236 GLuint64 x = cmd->x;
1237 GLuint64 y = cmd->y;
1238 GLuint64 z = cmd->z;
1241 assert (cmd_size == cmd->cmd_base.cmd_size);
1249 struct marshal_cmd_ProgramUniform3ui64ARB *cmd;
1250 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform3ui64ARB, cmd_size);
1251 cmd->program = program;
1252 cmd->location = location;
1253 cmd->x = x;
1254 cmd->y = y;
1255 cmd->z = z;
1271 _mesa_unmarshal_ProgramUniform4ui64ARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform4ui64ARB *cmd, const uint64_t *last)
1273 GLuint program = cmd->program;
1274 GLint location = cmd->location;
1275 GLuint64 x = cmd->x;
1276 GLuint64 y = cmd->y;
1277 GLuint64 z = cmd->z;
1278 GLuint64 w = cmd->w;
1281 assert (cmd_size == cmd->cmd_base.cmd_size);
1289 struct marshal_cmd_ProgramUniform4ui64ARB *cmd;
1290 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform4ui64ARB, cmd_size);
1291 cmd->program = program;
1292 cmd->location = location;
1293 cmd->x = x;
1294 cmd->y = y;
1295 cmd->z = z;
1296 cmd->w = w;
1310 _mesa_unmarshal_ProgramUniform1ui64vARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform1ui64vARB *cmd, const uint64_t *last)
1312 GLuint program = cmd->program;
1313 GLint location = cmd->location;
1314 GLsizei count = cmd->count;
1316 const char *variable_data = (const char *) (cmd + 1);
1319 return cmd->cmd_base.cmd_size;
1327 struct marshal_cmd_ProgramUniform1ui64vARB *cmd;
1333 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform1ui64vARB, cmd_size);
1334 cmd->program = program;
1335 cmd->location = location;
1336 cmd->count = count;
1337 char *variable_data = (char *) (cmd + 1);
1352 _mesa_unmarshal_ProgramUniform2ui64vARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform2ui64vARB *cmd, const uint64_t *last)
1354 GLuint program = cmd->program;
1355 GLint location = cmd->location;
1356 GLsizei count = cmd->count;
1358 const char *variable_data = (const char *) (cmd + 1);
1361 return cmd->cmd_base.cmd_size;
1369 struct marshal_cmd_ProgramUniform2ui64vARB *cmd;
1375 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform2ui64vARB, cmd_size);
1376 cmd->program = program;
1377 cmd->location = location;
1378 cmd->count = count;
1379 char *variable_data = (char *) (cmd + 1);
1394 _mesa_unmarshal_ProgramUniform3ui64vARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform3ui64vARB *cmd, const uint64_t *last)
1396 GLuint program = cmd->program;
1397 GLint location = cmd->location;
1398 GLsizei count = cmd->count;
1400 const char *variable_data = (const char *) (cmd + 1);
1403 return cmd->cmd_base.cmd_size;
1411 struct marshal_cmd_ProgramUniform3ui64vARB *cmd;
1417 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform3ui64vARB, cmd_size);
1418 cmd->program = program;
1419 cmd->location = location;
1420 cmd->count = count;
1421 char *variable_data = (char *) (cmd + 1);
1436 _mesa_unmarshal_ProgramUniform4ui64vARB(struct gl_context *ctx, const struct marshal_cmd_ProgramUniform4ui64vARB *cmd, const uint64_t *last)
1438 GLuint program = cmd->program;
1439 GLint location = cmd->location;
1440 GLsizei count = cmd->count;
1442 const char *variable_data = (const char *) (cmd + 1);
1445 return cmd->cmd_base.cmd_size;
1453 struct marshal_cmd_ProgramUniform4ui64vARB *cmd;
1459 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ProgramUniform4ui64vARB, cmd_size);
1460 cmd->program = program;
1461 cmd->location = location;
1462 cmd->count = count;
1463 char *variable_data = (char *) (cmd + 1);
1475 _mesa_unmarshal_MaxShaderCompilerThreadsKHR(struct gl_context *ctx, const struct marshal_cmd_MaxShaderCompilerThreadsKHR *cmd, const uint64_t *last)
1477 GLuint count = cmd->count;
1480 assert (cmd_size == cmd->cmd_base.cmd_size);
1488 struct marshal_cmd_MaxShaderCompilerThreadsKHR *cmd;
1489 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_MaxShaderCompilerThreadsKHR, cmd_size);
1490 cmd->count = count;
1505 _mesa_unmarshal_SpecializeShaderARB(struct gl_context *ctx, const struct marshal_cmd_SpecializeShaderARB *cmd, const uint64_t *last)
1507 GLuint shader = cmd->shader;
1508 GLuint numSpecializationConstants = cmd->numSpecializationConstants;
1512 const char *variable_data = (const char *) (cmd + 1);
1519 return cmd->cmd_base.cmd_size;
1529 struct marshal_cmd_SpecializeShaderARB *cmd;
1535 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_SpecializeShaderARB, cmd_size);
1536 cmd->shader = shader;
1537 cmd->numSpecializationConstants = numSpecializationConstants;
1538 char *variable_data = (char *) (cmd + 1);
1558 _mesa_unmarshal_ColorPointerEXT(struct gl_context *ctx, const struct marshal_cmd_ColorPointerEXT *cmd, const uint64_t *last)
1560 GLint size = cmd->size;
1561 GLenum type = cmd->type;
1562 GLsizei stride = cmd->stride;
1563 GLsizei count = cmd->count;
1564 const GLvoid * pointer = cmd->pointer;
1567 assert (cmd_size == cmd->cmd_base.cmd_size);
1575 struct marshal_cmd_ColorPointerEXT *cmd;
1576 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ColorPointerEXT, cmd_size);
1577 cmd->size = size;
1578 cmd->type = type;
1579 cmd->stride = stride;
1580 cmd->count = count;
1581 cmd->pointer = pointer;
1595 _mesa_unmarshal_EdgeFlagPointerEXT(struct gl_context *ctx, const struct marshal_cmd_EdgeFlagPointerEXT *cmd, const uint64_t *last)
1597 GLsizei stride = cmd->stride;
1598 GLsizei count = cmd->count;
1599 const GLboolean * pointer = cmd->pointer;
1602 assert (cmd_size == cmd->cmd_base.cmd_size);
1610 struct marshal_cmd_EdgeFlagPointerEXT *cmd;
1611 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_EdgeFlagPointerEXT, cmd_size);
1612 cmd->stride = stride;
1613 cmd->count = count;
1614 cmd->pointer = pointer;
1629 _mesa_unmarshal_IndexPointerEXT(struct gl_context *ctx, const struct marshal_cmd_IndexPointerEXT *cmd, const uint64_t *last)
1631 GLenum type = cmd->type;
1632 GLsizei stride = cmd->stride;
1633 GLsizei count = cmd->count;
1634 const GLvoid * pointer = cmd->pointer;
1637 assert (cmd_size == cmd->cmd_base.cmd_size);
1645 struct marshal_cmd_IndexPointerEXT *cmd;
1646 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_IndexPointerEXT, cmd_size);
1647 cmd->type = type;
1648 cmd->stride = stride;
1649 cmd->count = count;
1650 cmd->pointer = pointer;
1665 _mesa_unmarshal_NormalPointerEXT(struct gl_context *ctx, const struct marshal_cmd_NormalPointerEXT *cmd, const uint64_t *last)
1667 GLenum type = cmd->type;
1668 GLsizei stride = cmd->stride;
1669 GLsizei count = cmd->count;
1670 const GLvoid * pointer = cmd->pointer;
1673 assert (cmd_size == cmd->cmd_base.cmd_size);
1681 struct marshal_cmd_NormalPointerEXT *cmd;
1682 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_NormalPointerEXT, cmd_size);
1683 cmd->type = type;
1684 cmd->stride = stride;
1685 cmd->count = count;
1686 cmd->pointer = pointer;
1702 _mesa_unmarshal_TexCoordPointerEXT(struct gl_context *ctx, const struct marshal_cmd_TexCoordPointerEXT *cmd, const uint64_t *last)
1704 GLint size = cmd->size;
1705 GLenum type = cmd->type;
1706 GLsizei stride = cmd->stride;
1707 GLsizei count = cmd->count;
1708 const GLvoid * pointer = cmd->pointer;
1711 assert (cmd_size == cmd->cmd_base.cmd_size);
1719 struct marshal_cmd_TexCoordPointerEXT *cmd;
1720 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_TexCoordPointerEXT, cmd_size);
1721 cmd->size = size;
1722 cmd->type = type;
1723 cmd->stride = stride;
1724 cmd->count = count;
1725 cmd->pointer = pointer;
1741 _mesa_unmarshal_VertexPointerEXT(struct gl_context *ctx, const struct marshal_cmd_VertexPointerEXT *cmd, const uint64_t *last)
1743 GLint size = cmd->size;
1744 GLenum type = cmd->type;
1745 GLsizei stride = cmd->stride;
1746 GLsizei count = cmd->count;
1747 const GLvoid * pointer = cmd->pointer;
1750 assert (cmd_size == cmd->cmd_base.cmd_size);
1758 struct marshal_cmd_VertexPointerEXT *cmd;
1759 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_VertexPointerEXT, cmd_size);
1760 cmd->size = size;
1761 cmd->type = type;
1762 cmd->stride = stride;
1763 cmd->count = count;
1764 cmd->pointer = pointer;
1777 _mesa_unmarshal_LockArraysEXT(struct gl_context *ctx, const struct marshal_cmd_LockArraysEXT *cmd, const uint64_t *last)
1779 GLint first = cmd->first;
1780 GLsizei count = cmd->count;
1783 assert (cmd_size == cmd->cmd_base.cmd_size);
1791 struct marshal_cmd_LockArraysEXT *cmd;
1792 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_LockArraysEXT, cmd_size);
1793 cmd->first = first;
1794 cmd->count = count;
1804 _mesa_unmarshal_UnlockArraysEXT(struct gl_context *ctx, const struct marshal_cmd_UnlockArraysEXT *cmd, const uint64_t *last)
1808 assert (cmd_size == cmd->cmd_base.cmd_size);
1816 struct marshal_cmd_UnlockArraysEXT *cmd;
1817 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_UnlockArraysEXT, cmd_size);
1818 (void) cmd;
1831 _mesa_unmarshal_ViewportArrayv(struct gl_context *ctx, const struct marshal_cmd_ViewportArrayv *cmd, const uint64_t *last)
1833 GLuint first = cmd->first;
1834 GLsizei count = cmd->count;
1836 const char *variable_data = (const char *) (cmd + 1);
1839 return cmd->cmd_base.cmd_size;
1847 struct marshal_cmd_ViewportArrayv *cmd;
1853 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ViewportArrayv, cmd_size);
1854 cmd->first = first;
1855 cmd->count = count;
1856 char *variable_data = (char *) (cmd + 1);
1872 _mesa_unmarshal_ViewportIndexedf(struct gl_context *ctx, const struct marshal_cmd_ViewportIndexedf *cmd, const uint64_t *last)
1874 GLuint index = cmd->index;
1875 GLfloat x = cmd->x;
1876 GLfloat y = cmd->y;
1877 GLfloat w = cmd->w;
1878 GLfloat h = cmd->h;
1881 assert (cmd_size == cmd->cmd_base.cmd_size);
1889 struct marshal_cmd_ViewportIndexedf *cmd;
1890 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ViewportIndexedf, cmd_size);
1891 cmd->index = index;
1892 cmd->x = x;
1893 cmd->y = y;
1894 cmd->w = w;
1895 cmd->h = h;
1907 _mesa_unmarshal_ViewportIndexedfv(struct gl_context *ctx, const struct marshal_cmd_ViewportIndexedfv *cmd, const uint64_t *last)
1909 GLuint index = cmd->index;
1910 const GLfloat * v = cmd->v;
1913 assert (cmd_size == cmd->cmd_base.cmd_size);
1921 struct marshal_cmd_ViewportIndexedfv *cmd;
1922 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ViewportIndexedfv, cmd_size);
1923 cmd->index = index;
1924 memcpy(cmd->v, v, 4 * sizeof(GLfloat));
1937 _mesa_unmarshal_ScissorArrayv(struct gl_context *ctx, const struct marshal_cmd_ScissorArrayv *cmd, const uint64_t *last)
1939 GLuint first = cmd->first;
1940 GLsizei count = cmd->count;
1942 const char *variable_data = (const char *) (cmd + 1);
1945 return cmd->cmd_base.cmd_size;
1953 struct marshal_cmd_ScissorArrayv *cmd;
1959 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ScissorArrayv, cmd_size);
1960 cmd->first = first;
1961 cmd->count = count;
1962 char *variable_data = (char *) (cmd + 1);
1978 _mesa_unmarshal_ScissorIndexed(struct gl_context *ctx, const struct marshal_cmd_ScissorIndexed *cmd, const uint64_t *last)
1980 GLuint index = cmd->index;
1981 GLint left = cmd->left;
1982 GLint bottom = cmd->bottom;
1983 GLsizei width = cmd->width;
1984 GLsizei height = cmd->height;
1987 assert (cmd_size == cmd->cmd_base.cmd_size);
1995 struct marshal_cmd_ScissorIndexed *cmd;
1996 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ScissorIndexed, cmd_size);
1997 cmd->index = index;
1998 cmd->left = left;
1999 cmd->bottom = bottom;
2000 cmd->width = width;
2001 cmd->height = height;
2013 _mesa_unmarshal_ScissorIndexedv(struct gl_context *ctx, const struct marshal_cmd_ScissorIndexedv *cmd, const uint64_t *last)
2015 GLuint index = cmd->index;
2016 const GLint * v = cmd->v;
2019 assert (cmd_size == cmd->cmd_base.cmd_size);
2027 struct marshal_cmd_ScissorIndexedv *cmd;
2028 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_ScissorIndexedv, cmd_size);
2029 cmd->index = index;
2030 memcpy(cmd->v, v, 4 * sizeof(GLint));
2043 _mesa_unmarshal_DepthRangeArrayv(struct gl_context *ctx, const struct marshal_cmd_DepthRangeArrayv *cmd, const uint64_t *last)
2045 GLuint first = cmd->first;
2046 GLsizei count = cmd->count;
2048 const char *variable_data = (const char *) (cmd + 1);
2051 return cmd->cmd_base.cmd_size;
2059 struct marshal_cmd_DepthRangeArrayv *cmd;
2065 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_DepthRangeArrayv, cmd_size);
2066 cmd->first = first;
2067 cmd->count = count;
2068 char *variable_data = (char *) (cmd + 1);
2082 _mesa_unmarshal_DepthRangeIndexed(struct gl_context *ctx, const struct marshal_cmd_DepthRangeIndexed *cmd, const uint64_t *last)
2084 GLuint index = cmd->index;
2085 GLclampd n = cmd->n;
2086 GLclampd f = cmd->f;
2089 assert (cmd_size == cmd->cmd_base.cmd_size);
2097 struct marshal_cmd_DepthRangeIndexed *cmd;
2098 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_DepthRangeIndexed, cmd_size);
2099 cmd->index = index;
2100 cmd->n = n;
2101 cmd->f = f;
2135 _mesa_unmarshal_FramebufferSampleLocationsfvARB(struct gl_context *ctx, const struct marshal_cmd_FramebufferSampleLocationsfvARB *cmd, const uint64_t *last)
2137 GLenum target = cmd->target;
2138 GLuint start = cmd->start;
2139 GLsizei count = cmd->count;
2141 const char *variable_data = (const char *) (cmd + 1);
2144 return cmd->cmd_base.cmd_size;
2152 struct marshal_cmd_FramebufferSampleLocationsfvARB *cmd;
2158 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_FramebufferSampleLocationsfvARB, cmd_size);
2159 cmd->target = target;
2160 cmd->start = start;
2161 cmd->count = count;
2162 char *variable_data = (char *) (cmd + 1);
2177 _mesa_unmarshal_NamedFramebufferSampleLocationsfvARB(struct gl_context *ctx, const struct marshal_cmd_NamedFramebufferSampleLocationsfvARB *cmd, const uint64_t *last)
2179 GLuint framebuffer = cmd->framebuffer;
2180 GLuint start = cmd->start;
2181 GLsizei count = cmd->count;
2183 const char *variable_data = (const char *) (cmd + 1);
2186 return cmd->cmd_base.cmd_size;
2194 struct marshal_cmd_NamedFramebufferSampleLocationsfvARB *cmd;
2200 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_NamedFramebufferSampleLocationsfvARB, cmd_size);
2201 cmd->framebuffer = framebuffer;
2202 cmd->start = start;
2203 cmd->count = count;
2204 char *variable_data = (char *) (cmd + 1);
2215 _mesa_unmarshal_EvaluateDepthValuesARB(struct gl_context *ctx, const struct marshal_cmd_EvaluateDepthValuesARB *cmd, const uint64_t *last)
2219 assert (cmd_size == cmd->cmd_base.cmd_size);
2227 struct marshal_cmd_EvaluateDepthValuesARB *cmd;
2228 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_EvaluateDepthValuesARB, cmd_size);
2229 (void) cmd;
2243 _mesa_unmarshal_WindowPos4dMESA(struct gl_context *ctx, const struct marshal_cmd_WindowPos4dMESA *cmd, const uint64_t *last)
2245 GLdouble x = cmd->x;
2246 GLdouble y = cmd->y;
2247 GLdouble z = cmd->z;
2248 GLdouble w = cmd->w;
2251 assert (cmd_size == cmd->cmd_base.cmd_size);
2259 struct marshal_cmd_WindowPos4dMESA *cmd;
2260 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_WindowPos4dMESA, cmd_size);
2261 cmd->x = x;
2262 cmd->y = y;
2263 cmd->z = z;
2264 cmd->w = w;
2275 _mesa_unmarshal_WindowPos4dvMESA(struct gl_context *ctx, const struct marshal_cmd_WindowPos4dvMESA *cmd, const uint64_t *last)
2277 const GLdouble * v = cmd->v;
2280 assert (cmd_size == cmd->cmd_base.cmd_size);
2288 struct marshal_cmd_WindowPos4dvMESA *cmd;
2289 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_WindowPos4dvMESA, cmd_size);
2290 memcpy(cmd->v, v, 4 * sizeof(GLdouble));
2304 _mesa_unmarshal_WindowPos4fMESA(struct gl_context *ctx, const struct marshal_cmd_WindowPos4fMESA *cmd, const uint64_t *last)
2306 GLfloat x = cmd->x;
2307 GLfloat y = cmd->y;
2308 GLfloat z = cmd->z;
2309 GLfloat w = cmd->w;
2312 assert (cmd_size == cmd->cmd_base.cmd_size);
2320 struct marshal_cmd_WindowPos4fMESA *cmd;
2321 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_WindowPos4fMESA, cmd_size);
2322 cmd->x = x;
2323 cmd->y = y;
2324 cmd->z = z;
2325 cmd->w = w;
2336 _mesa_unmarshal_WindowPos4fvMESA(struct gl_context *ctx, const struct marshal_cmd_WindowPos4fvMESA *cmd, const uint64_t *last)
2338 const GLfloat * v = cmd->v;
2341 assert (cmd_size == cmd->cmd_base.cmd_size);
2349 struct marshal_cmd_WindowPos4fvMESA *cmd;
2350 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_WindowPos4fvMESA, cmd_size);
2351 memcpy(cmd->v, v, 4 * sizeof(GLfloat));
2365 _mesa_unmarshal_WindowPos4iMESA(struct gl_context *ctx, const struct marshal_cmd_WindowPos4iMESA *cmd, const uint64_t *last)
2367 GLint x = cmd->x;
2368 GLint y = cmd->y;
2369 GLint z = cmd->z;
2370 GLint w = cmd->w;
2373 assert (cmd_size == cmd->cmd_base.cmd_size);
2381 struct marshal_cmd_WindowPos4iMESA *cmd;
2382 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_WindowPos4iMESA, cmd_size);
2383 cmd->x = x;
2384 cmd->y = y;
2385 cmd->z = z;
2386 cmd->w = w;
2397 _mesa_unmarshal_WindowPos4ivMESA(struct gl_context *ctx, const struct marshal_cmd_WindowPos4ivMESA *cmd, const uint64_t *last)
2399 const GLint * v = cmd->v;
2402 assert (cmd_size == cmd->cmd_base.cmd_size);
2410 struct marshal_cmd_WindowPos4ivMESA *cmd;
2411 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_WindowPos4ivMESA, cmd_size);
2412 memcpy(cmd->v, v, 4 * sizeof(GLint));
2426 _mesa_unmarshal_WindowPos4sMESA(struct gl_context *ctx, const struct marshal_cmd_WindowPos4sMESA *cmd, const uint64_t *last)
2428 GLshort x = cmd->x;
2429 GLshort y = cmd->y;
2430 GLshort z = cmd->z;
2431 GLshort w = cmd->w;
2434 assert (cmd_size == cmd->cmd_base.cmd_size);
2442 struct marshal_cmd_WindowPos4sMESA *cmd;
2443 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_WindowPos4sMESA, cmd_size);
2444 cmd->x = x;
2445 cmd->y = y;
2446 cmd->z = z;
2447 cmd->w = w;
2458 _mesa_unmarshal_WindowPos4svMESA(struct gl_context *ctx, const struct marshal_cmd_WindowPos4svMESA *cmd, const uint64_t *last)
2460 const GLshort * v = cmd->v;
2463 assert (cmd_size == cmd->cmd_base.cmd_size);
2471 struct marshal_cmd_WindowPos4svMESA *cmd;
2472 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_WindowPos4svMESA, cmd_size);
2473 memcpy(cmd->v, v, 4 * sizeof(GLshort));
2488 _mesa_unmarshal_MultiModeDrawArraysIBM(struct gl_context *ctx, const struct marshal_cmd_MultiModeDrawArraysIBM *cmd, const uint64_t *last)
2490 GLsizei primcount = cmd->primcount;
2491 GLint modestride = cmd->modestride;
2492 const GLenum * mode = cmd->mode;
2493 const GLint * first = cmd->first;
2494 const GLsizei * count = cmd->count;
2497 assert (cmd_size == cmd->cmd_base.cmd_size);
2505 struct marshal_cmd_MultiModeDrawArraysIBM *cmd;
2511 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_MultiModeDrawArraysIBM, cmd_size);
2512 cmd->primcount = primcount;
2513 cmd->modestride = modestride;
2514 cmd->mode = mode;
2515 cmd->first = first;
2516 cmd->count = count;
2532 _mesa_unmarshal_MultiModeDrawElementsIBM(struct gl_context *ctx, const struct marshal_cmd_MultiModeDrawElementsIBM *cmd, const uint64_t *last)
2534 GLenum type = cmd->type;
2535 GLsizei primcount = cmd->primcount;
2536 GLint modestride = cmd->modestride;
2537 const GLenum * mode = cmd->mode;
2538 const GLsizei * count = cmd->count;
2539 const GLvoid * const * indices = cmd->indices;
2542 assert (cmd_size == cmd->cmd_base.cmd_size);
2550 struct marshal_cmd_MultiModeDrawElementsIBM *cmd;
2556 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_MultiModeDrawElementsIBM, cmd_size);
2557 cmd->type = type;
2558 cmd->primcount = primcount;
2559 cmd->modestride = modestride;
2560 cmd->mode = mode;
2561 cmd->count = count;
2562 cmd->indices = indices;