Mesa (master): trace: Move state dump functions to tr_dump_state.[c|h]

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Sat May 16 00:52:26 UTC 2009


Module: Mesa
Branch: master
Commit: c30f66118974f41f57e86d49f372b7c78f891223
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c30f66118974f41f57e86d49f372b7c78f891223

Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Fri May 15 04:17:00 2009 +0200

trace: Move state dump functions to tr_dump_state.[c|h]

---

 src/gallium/drivers/trace/Makefile                 |    2 +-
 src/gallium/drivers/trace/SConscript               |    2 +-
 src/gallium/drivers/trace/tr_context.c             |    2 +-
 .../drivers/trace/{tr_state.c => tr_dump_state.c}  |    2 +-
 .../drivers/trace/{tr_state.h => tr_dump_state.h}  |    4 ++--
 src/gallium/drivers/trace/tr_screen.c              |    2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/gallium/drivers/trace/Makefile b/src/gallium/drivers/trace/Makefile
index e087db1..188998d 100644
--- a/src/gallium/drivers/trace/Makefile
+++ b/src/gallium/drivers/trace/Makefile
@@ -7,8 +7,8 @@ C_SOURCES = \
 	tr_buffer.c \
 	tr_context.c \
 	tr_dump.c \
+	tr_dump_state.c \
 	tr_screen.c \
-	tr_state.c \
 	tr_texture.c
 
 include ../../Makefile.template
diff --git a/src/gallium/drivers/trace/SConscript b/src/gallium/drivers/trace/SConscript
index 4215215..4ab829a 100644
--- a/src/gallium/drivers/trace/SConscript
+++ b/src/gallium/drivers/trace/SConscript
@@ -8,8 +8,8 @@ trace = env.ConvenienceLibrary(
         'tr_buffer.c',
         'tr_context.c',
         'tr_dump.c',
+        'tr_dump_state.c',
         'tr_screen.c',
-        'tr_state.c',
         'tr_texture.c',
     ])
 
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c
index 4728045..6a19233 100644
--- a/src/gallium/drivers/trace/tr_context.c
+++ b/src/gallium/drivers/trace/tr_context.c
@@ -31,7 +31,7 @@
 #include "pipe/p_screen.h"
 
 #include "tr_dump.h"
-#include "tr_state.h"
+#include "tr_dump_state.h"
 #include "tr_buffer.h"
 #include "tr_screen.h"
 #include "tr_texture.h"
diff --git a/src/gallium/drivers/trace/tr_state.c b/src/gallium/drivers/trace/tr_dump_state.c
similarity index 99%
rename from src/gallium/drivers/trace/tr_state.c
rename to src/gallium/drivers/trace/tr_dump_state.c
index a9570c1..1b2b349 100644
--- a/src/gallium/drivers/trace/tr_state.c
+++ b/src/gallium/drivers/trace/tr_dump_state.c
@@ -31,7 +31,7 @@
 #include "tgsi/tgsi_dump.h"
 
 #include "tr_dump.h"
-#include "tr_state.h"
+#include "tr_dump_state.h"
 
 
 void trace_dump_format(enum pipe_format format)
diff --git a/src/gallium/drivers/trace/tr_state.h b/src/gallium/drivers/trace/tr_dump_state.h
similarity index 98%
rename from src/gallium/drivers/trace/tr_state.h
rename to src/gallium/drivers/trace/tr_dump_state.h
index 513ed0a..05b821a 100644
--- a/src/gallium/drivers/trace/tr_state.h
+++ b/src/gallium/drivers/trace/tr_dump_state.h
@@ -25,8 +25,8 @@
  *
  **************************************************************************/
 
-#ifndef TR_STATE_H
-#define TR_STATE_H
+#ifndef TR_DUMP_STATE_H_
+#define TR_DUMP_STATE_H_
 
 #include "pipe/p_format.h"
 #include "pipe/p_state.h"
diff --git a/src/gallium/drivers/trace/tr_screen.c b/src/gallium/drivers/trace/tr_screen.c
index 12a8535..e659416 100644
--- a/src/gallium/drivers/trace/tr_screen.c
+++ b/src/gallium/drivers/trace/tr_screen.c
@@ -30,7 +30,7 @@
 
 #include "tr_buffer.h"
 #include "tr_dump.h"
-#include "tr_state.h"
+#include "tr_dump_state.h"
 #include "tr_texture.h"
 #include "tr_screen.h"
 




More information about the mesa-commit mailing list