From d17b8d08a3e51df7ff218adf54600b34fa015a4f Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 22 Feb 2017 23:40:53 +0100 Subject: trace: remove pipe_resource wrapping Not needed. ddebug does the same thing. The limitation is that drivers can only use pipe_resource::screen through pipe_resource_reference. This unbreaks trace, because pipe_context uploaders aren't wrapped, so trace doesn't understand buffers returned by them. Reviewed-by: Brian Paul --- src/gallium/drivers/trace/tr_dump.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gallium/drivers/trace/tr_dump.h') diff --git a/src/gallium/drivers/trace/tr_dump.h b/src/gallium/drivers/trace/tr_dump.h index c03660a3446..7a268e31c46 100644 --- a/src/gallium/drivers/trace/tr_dump.h +++ b/src/gallium/drivers/trace/tr_dump.h @@ -105,7 +105,6 @@ void trace_dump_member_end(void); void trace_dump_null(void); void trace_dump_ptr(const void *value); /* will turn a wrapped object into the real one and dump ptr */ -void trace_dump_resource_ptr(struct pipe_resource *_texture); void trace_dump_surface_ptr(struct pipe_surface *_surface); void trace_dump_transfer_ptr(struct pipe_transfer *_transfer); -- cgit v1.2.3