trace: move struct tr_list to tr_texture.h
authorBrian Paul <brianp@vmware.com>
Thu, 14 Feb 2013 23:21:12 +0000 (16:21 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 15 Feb 2013 16:25:15 +0000 (09:25 -0700)
That's the only place it's used.

src/gallium/drivers/trace/tr_screen.h
src/gallium/drivers/trace/tr_texture.h

index 3598ceaa20f9bedb6cff004605827b211ba7060c..b9e0b81b965b511077ab587c9e99de544b55ae0b 100644 (file)
@@ -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
index bf3c16e8cd21f2d20a6207905b8786e55dd56652..596978a1ffd3b29445d968709aa2dc2642a0ea05 100644 (file)
 
 struct trace_context;
 
+
+struct tr_list
+{
+   struct tr_list *next;
+   struct tr_list *prev;
+};
+
+
 struct trace_resource
 {
    struct pipe_resource base;