From 425671f616cc85899535cb84abd7406a9380565e Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Fri, 24 Mar 2017 17:46:20 +1100 Subject: mesa/glthread: add custom marshalling for ClearBufferfv() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is one of the main causes of syncs in Civ6. Reviewed-by: Nicolai Hähnle --- src/mesa/main/marshal.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/mesa/main/marshal.h') diff --git a/src/mesa/main/marshal.h b/src/mesa/main/marshal.h index 4e9a6653b4e..52339aa1db2 100644 --- a/src/mesa/main/marshal.h +++ b/src/mesa/main/marshal.h @@ -189,6 +189,7 @@ struct marshal_cmd_Flush; struct marshal_cmd_BindBuffer; struct marshal_cmd_BufferData; struct marshal_cmd_BufferSubData; +struct marshal_cmd_ClearBufferfv; void GLAPIENTRY _mesa_marshal_ShaderSource(GLuint shader, GLsizei count, @@ -228,4 +229,12 @@ void GLAPIENTRY _mesa_marshal_BufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data); +void +_mesa_unmarshal_ClearBufferfv(struct gl_context *ctx, + const struct marshal_cmd_ClearBufferfv *cmd); + +void GLAPIENTRY +_mesa_marshal_ClearBufferfv(GLenum buffer, GLint drawbuffer, + const GLfloat *value); + #endif /* MARSHAL_H */ -- cgit v1.2.3