diff options
author | Paul Berry <[email protected]> | 2012-11-14 10:40:22 -0800 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-16 14:14:18 +1100 |
commit | 154a4f267959f6975647720237a28bae1ae86c8d (patch) | |
tree | 8c6d542e16a956d530aa1d8475e0bdd3985e61a6 /src/mesa/main/marshal.h | |
parent | efd63e234a805edc8b1c9962610d70d3a62f7c18 (diff) |
mesa: Custom thread marshalling for ShaderSource.
Acked-by: Timothy Arceri <[email protected]>
Acked-by: Marek Olšák <[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Tested-by: Mike Lothian <[email protected]>
Diffstat (limited to 'src/mesa/main/marshal.h')
-rw-r--r-- | src/mesa/main/marshal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/main/marshal.h b/src/mesa/main/marshal.h index ad32b6b3f4d..0b69d66d9af 100644 --- a/src/mesa/main/marshal.h +++ b/src/mesa/main/marshal.h @@ -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 */ |