mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
aux/trace: add pipe_context::fence_server_signal tracing
Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14539>
This commit is contained in:
parent
3e7f6c9aeb
commit
5f1ca03c45
1 changed files with 19 additions and 0 deletions
|
|
@ -1611,6 +1611,24 @@ trace_context_fence_server_sync(struct pipe_context *_pipe,
|
|||
}
|
||||
|
||||
|
||||
static void
|
||||
trace_context_fence_server_signal(struct pipe_context *_pipe,
|
||||
struct pipe_fence_handle *fence)
|
||||
{
|
||||
struct trace_context *tr_ctx = trace_context(_pipe);
|
||||
struct pipe_context *pipe = tr_ctx->pipe;
|
||||
|
||||
trace_dump_call_begin("pipe_context", "fence_server_signal");
|
||||
|
||||
trace_dump_arg(ptr, pipe);
|
||||
trace_dump_arg(ptr, fence);
|
||||
|
||||
pipe->fence_server_signal(pipe, fence);
|
||||
|
||||
trace_dump_call_end();
|
||||
}
|
||||
|
||||
|
||||
static inline bool
|
||||
trace_context_generate_mipmap(struct pipe_context *_pipe,
|
||||
struct pipe_resource *res,
|
||||
|
|
@ -2341,6 +2359,7 @@ trace_context_create(struct trace_screen *tr_scr,
|
|||
TR_CTX_INIT(flush);
|
||||
TR_CTX_INIT(create_fence_fd);
|
||||
TR_CTX_INIT(fence_server_sync);
|
||||
TR_CTX_INIT(fence_server_signal);
|
||||
TR_CTX_INIT(generate_mipmap);
|
||||
TR_CTX_INIT(texture_barrier);
|
||||
TR_CTX_INIT(memory_barrier);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue