Lines Matching defs:glthread
33 #include "main/glthread.h"
59 struct glthread_state *glthread = &ctx->GLThread;
62 if (unlikely(glthread->used + num_elements > MARSHAL_MAX_CMD_SIZE / 8))
65 struct glthread_batch *next = glthread->next_batch;
67 (struct marshal_cmd_base *)&next->buffer[glthread->used];
68 glthread->used += num_elements;
93 const struct glthread_state *glthread = &ctx->GLThread;
94 struct glthread_vao *vao = glthread->CurrentVAO;
104 const struct glthread_state *glthread = &ctx->GLThread;
105 const struct glthread_vao *vao = glthread->CurrentVAO;
114 const struct glthread_state *glthread = &ctx->GLThread;
115 const struct glthread_vao *vao = glthread->CurrentVAO;
118 (glthread->CurrentDrawIndirectBufferName == 0 ||
125 const struct glthread_state *glthread = &ctx->GLThread;
126 struct glthread_vao *vao = glthread->CurrentVAO;
129 (glthread->CurrentDrawIndirectBufferName == 0 ||