summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/marshal.h
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-11-16 11:43:08 -0800
committerTimothy Arceri <[email protected]>2017-03-16 14:14:18 +1100
commita4a5de6f18feba0a3dd439163f3505f2ba20fa0c (patch)
tree28e9fac5b8e81fbeb8f46bdc40e3ab0f3011acc9 /src/mesa/main/marshal.h
parent154a4f267959f6975647720237a28bae1ae86c8d (diff)
mesa: Custom thread marshalling for Flush.
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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/marshal.h b/src/mesa/main/marshal.h
index 0b69d66d9af..0e0e9b280c6 100644
--- a/src/mesa/main/marshal.h
+++ b/src/mesa/main/marshal.h
@@ -110,6 +110,7 @@ _mesa_post_marshal_hook(struct gl_context *ctx)
}
struct marshal_cmd_ShaderSource;
+struct marshal_cmd_Flush;
void GLAPIENTRY
_mesa_marshal_ShaderSource(GLuint shader, GLsizei count,
@@ -119,4 +120,11 @@ void
_mesa_unmarshal_ShaderSource(struct gl_context *ctx,
const struct marshal_cmd_ShaderSource *cmd);
+void GLAPIENTRY
+_mesa_marshal_Flush(void);
+
+void
+_mesa_unmarshal_Flush(struct gl_context *ctx,
+ const struct marshal_cmd_Flush *cmd);
+
#endif /* MARSHAL_H */