#include "marshal.h"
#include "dispatch.h"
-static inline void
-_mesa_post_marshal_hook(struct gl_context *ctx)
-{
- /* This can be enabled for debugging whether a failure is a synchronization
- * problem between the main thread and the worker thread, or a failure in
- * how we actually marshal.
- */
- if (false)
- _mesa_glthread_finish(ctx);
-}
-
-
struct marshal_cmd_ShaderSource
{
struct marshal_cmd_base cmd_base;
memcpy(cmd_strings, string[i], cmd_length[i]);
cmd_strings += cmd_length[i];
}
- _mesa_post_marshal_hook(ctx);
} else {
_mesa_glthread_finish(ctx);
CALL_ShaderSource(ctx->CurrentServerDispatch,
char *variable_data = (char *) (cmd + 1);
memcpy(variable_data, data, size);
}
- _mesa_post_marshal_hook(ctx);
}
void GLAPIENTRY
char *variable_data = (char *) (cmd + 1);
memcpy(variable_data, data, size);
- _mesa_post_marshal_hook(ctx);
}
void GLAPIENTRY