From: Brian Paul Date: Thu, 14 Feb 2013 23:21:12 +0000 (-0700) Subject: trace: move struct tr_list to tr_texture.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b836a7d25294dc251aff91e4d6ed02ee6a5a579;p=mesa.git trace: move struct tr_list to tr_texture.h That's the only place it's used. --- 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;