Mesa (master): tnl: Reduce header file inclusion in t_context.h.

Vinson Lee vlee at kemper.freedesktop.org
Sun Aug 8 05:57:47 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Aug  7 22:56:35 2010 -0700

tnl: Reduce header file inclusion in t_context.h.

t_context.h
Remove m_matrix.h and m_xform.h.

t_vb_program.c
Include m_xform.h.

t_vb_render.c
Include m_xform.h.

---

 src/mesa/tnl/t_context.h    |    2 --
 src/mesa/tnl/t_vb_program.c |    1 +
 src/mesa/tnl/t_vb_render.c  |    1 +
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h
index ebaae63..258906f 100644
--- a/src/mesa/tnl/t_context.h
+++ b/src/mesa/tnl/t_context.h
@@ -53,9 +53,7 @@
 #include "main/bitset.h"
 #include "main/mtypes.h"
 
-#include "math/m_matrix.h"
 #include "math/m_vector.h"
-#include "math/m_xform.h"
 
 #include "vbo/vbo.h"
 
diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c
index 3973df9..f3a338e 100644
--- a/src/mesa/tnl/t_vb_program.c
+++ b/src/mesa/tnl/t_vb_program.c
@@ -35,6 +35,7 @@
 #include "main/colormac.h"
 #include "main/macros.h"
 #include "main/imports.h"
+#include "math/m_xform.h"
 #include "program/prog_instruction.h"
 #include "program/prog_statevars.h"
 #include "program/prog_execute.h"
diff --git a/src/mesa/tnl/t_vb_render.c b/src/mesa/tnl/t_vb_render.c
index c1bebc9..7d99100 100644
--- a/src/mesa/tnl/t_vb_render.c
+++ b/src/mesa/tnl/t_vb_render.c
@@ -44,6 +44,7 @@
 #include "main/macros.h"
 #include "main/imports.h"
 #include "main/mtypes.h"
+#include "math/m_xform.h"
 
 #include "t_pipeline.h"
 




More information about the mesa-commit mailing list