mesa: Custom thread marshalling for ShaderSource.
[mesa.git] / src / mesa / main / marshal.h
index ad32b6b3f4df68fa8e0f8a704cc49101a8954a62..0b69d66d9af34c799f126bc46c4acb89f0ea7243 100644 (file)
@@ -109,4 +109,14 @@ _mesa_post_marshal_hook(struct gl_context *ctx)
       _mesa_glthread_finish(ctx);
 }
 
+struct marshal_cmd_ShaderSource;
+
+void GLAPIENTRY
+_mesa_marshal_ShaderSource(GLuint shader, GLsizei count,
+                           const GLchar * const *string, const GLint *length);
+
+void
+_mesa_unmarshal_ShaderSource(struct gl_context *ctx,
+                             const struct marshal_cmd_ShaderSource *cmd);
+
 #endif /* MARSHAL_H */