Mesa (master): st/mesa: Clean up header file inclusion in st_context.h.

Vinson Lee vlee at kemper.freedesktop.org
Thu Aug 5 04:09:46 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Wed Aug  4 21:09:27 2010 -0700

st/mesa: Clean up header file inclusion in st_context.h.

---

 src/mesa/state_tracker/st_context.h |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index a147a02..60c25fb 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -1,3 +1,4 @@
+//struct dd_function_table;
 /**************************************************************************
  * 
  * Copyright 2003 Tungsten Graphics, Inc., Cedar Park, Texas.
@@ -29,21 +30,17 @@
 #define ST_CONTEXT_H
 
 #include "main/mtypes.h"
-#include "program/prog_cache.h"
 #include "pipe/p_state.h"
 #include "state_tracker/st_api.h"
 
-
-struct st_context;
-struct st_texture_object;
-struct st_fragment_program;
+struct bitmap_cache;
+struct blit_state;
+struct dd_function_table;
 struct draw_context;
 struct draw_stage;
-struct cso_cache;
-struct cso_blend;
 struct gen_mipmap_state;
-struct blit_state;
-struct bitmap_cache;
+struct st_context;
+struct st_fragment_program;
 
 
 #define ST_NEW_MESA                    0x1 /* Mesa state has changed */




More information about the mesa-commit mailing list