From 7b836a7d25294dc251aff91e4d6ed02ee6a5a579 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 14 Feb 2013 16:21:12 -0700 Subject: [PATCH] trace: move struct tr_list to tr_texture.h That's the only place it's used. --- src/gallium/drivers/trace/tr_screen.h | 5 ----- src/gallium/drivers/trace/tr_texture.h | 8 ++++++++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/trace/tr_screen.h b/src/gallium/drivers/trace/tr_screen.h index 3598ceaa20f..b9e0b81b965 100644 --- a/src/gallium/drivers/trace/tr_screen.h +++ b/src/gallium/drivers/trace/tr_screen.h @@ -38,11 +38,6 @@ extern "C" { #endif -struct tr_list { - struct tr_list *next; - struct tr_list *prev; -}; - /** * It often happens that new data is written directly to the user buffers * without mapping/unmapping. This flag marks user buffers, so that their diff --git a/src/gallium/drivers/trace/tr_texture.h b/src/gallium/drivers/trace/tr_texture.h index bf3c16e8cd2..596978a1ffd 100644 --- a/src/gallium/drivers/trace/tr_texture.h +++ b/src/gallium/drivers/trace/tr_texture.h @@ -36,6 +36,14 @@ struct trace_context; + +struct tr_list +{ + struct tr_list *next; + struct tr_list *prev; +}; + + struct trace_resource { struct pipe_resource base; -- 2.30.2