Lines Matching defs:glthread
33 #include "main/glthread.h"
59 struct glthread_state *glthread = &ctx->GLThread;
64 if (unlikely(glthread->used + num_elements > MARSHAL_MAX_CMD_SIZE / 8))
67 struct glthread_batch *next = glthread->next_batch;
69 (struct marshal_cmd_base *)&next->buffer[glthread->used];
70 glthread->used += num_elements;
95 const struct glthread_state *glthread = &ctx->GLThread;
96 struct glthread_vao *vao = glthread->CurrentVAO;
106 const struct glthread_state *glthread = &ctx->GLThread;
107 const struct glthread_vao *vao = glthread->CurrentVAO;
116 const struct glthread_state *glthread = &ctx->GLThread;
117 const struct glthread_vao *vao = glthread->CurrentVAO;
120 (glthread->CurrentDrawIndirectBufferName == 0 ||
127 const struct glthread_state *glthread = &ctx->GLThread;
128 struct glthread_vao *vao = glthread->CurrentVAO;
131 (glthread->CurrentDrawIndirectBufferName == 0 ||