diff options
author | Marek Olšák <[email protected]> | 2020-03-05 15:57:46 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-20 00:00:22 +0000 |
commit | b00d219ec0da21c1bab89dc36aa20c9138b92226 (patch) | |
tree | 5095396b3f90a051f1d6e3a08aec10612edd1ee8 /src/mesa/main/marshal.c | |
parent | 951c6acb074b18da0e595825fe05c77a0fbee96d (diff) |
glthread: remove debug_print_marshal function
We don't need to print every function we execute.
Reviewed-by: Timothy Arceri <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4251>
Diffstat (limited to 'src/mesa/main/marshal.c')
-rw-r--r-- | src/mesa/main/marshal.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/marshal.c b/src/mesa/main/marshal.c index b2935f63753..ab6a7d6e290 100644 --- a/src/mesa/main/marshal.c +++ b/src/mesa/main/marshal.c @@ -248,7 +248,6 @@ _mesa_marshal_BufferData_merged(GLuint target_or_name, GLsizeiptr size, target_or_name == GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD; bool copy_data = data && !external_mem; int cmd_size = sizeof(struct marshal_cmd_BufferData) + (copy_data ? size : 0); - debug_print_marshal("BufferData"); if (unlikely(size < 0 || size > INT_MAX || cmd_size < 0 || cmd_size > MARSHAL_MAX_CMD_SIZE || @@ -362,7 +361,6 @@ _mesa_marshal_BufferSubData_merged(GLuint target_or_name, GLintptr offset, { GET_CURRENT_CONTEXT(ctx); size_t cmd_size = sizeof(struct marshal_cmd_BufferSubData) + size; - debug_print_marshal(func); if (unlikely(size < 0 || size > INT_MAX || cmd_size < 0 || cmd_size > MARSHAL_MAX_CMD_SIZE || !data || |