summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-02-14 16:21:12 -0700
committerBrian Paul <[email protected]>2013-02-15 09:25:15 -0700
commit7b836a7d25294dc251aff91e4d6ed02ee6a5a579 (patch)
treea4d911bc7be3c01faceed38ecbaa762f499d7af3 /src/gallium/drivers
parent4be5a067527107a383596c28f14bd76492c1cb4b (diff)
trace: move struct tr_list to tr_texture.h
That's the only place it's used.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/trace/tr_screen.h5
-rw-r--r--src/gallium/drivers/trace/tr_texture.h8
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;