Do not include glapi/dispatch.h outside Mesa core.
authorChia-I Wu <olvaffe@gmail.com>
Thu, 21 Jan 2010 09:13:42 +0000 (17:13 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 21 Jan 2010 09:48:38 +0000 (17:48 +0800)
Include the glapi*.h directly instead.  glapi/dispatch.h became a Mesa
core header since 22884db174b9fb0736cec1c6a192f8b9a97500c1.

src/gallium/winsys/xlib/xlib.c
src/glx/x11/indirect.c
src/glx/x11/single2.c
src/glx/x11/singlepix.c
src/mesa/drivers/x11/glxapi.c
src/mesa/glapi/Makefile

index 541ea7ae352d5d90186eecebb3c4dcd97d4b632a..67617a470d632dbce7827a8941c897d19c4ed9e3 100644 (file)
@@ -116,7 +116,8 @@ extern void (*linker_foo(const unsigned char *procName))()
 #define GL_GLEXT_PROTOTYPES
 #include "GL/gl.h"
 #include "glapi/glapi.h"
-#include "glapi/dispatch.h"
+#include "glapi/glapitable.h"
+#include "glapi/glapidispatch.h"
 
 #if defined(USE_MGL_NAMESPACE)
 #define NAME(func)  mgl##func
index 262637a9473399786527367da13e8be33008ac55..48bae1478f4b4e92528bee6ec96bba68c82a9e71 100644 (file)
@@ -30,7 +30,8 @@
 #include "indirect.h"
 #include "glxclient.h"
 #include "indirect_size.h"
-#include "dispatch.h"
+#include "glapitable.h"
+#include "glapidispatch.h"
 #include "glapi.h"
 #include "glthread.h"
 #include <GL/glxproto.h>
index d128ba20537b237fd031fedf8789fec7afe10127..9ecf589ffffa47d658d42aeee39e9549988eb1a1 100644 (file)
@@ -35,7 +35,8 @@
 #include "glxextensions.h"
 #include "indirect.h"
 #include "indirect_vertex_array.h"
-#include "dispatch.h"
+#include "glapitable.h"
+#include "glapidispatch.h"
 #include "glapi.h"
 #ifdef USE_XCB
 #include <xcb/xcb.h>
index fa12ac3bbcb71b13fefb6beacfe0a5e2ea918f42..f5ebf4dfdbf7124337f5bf6ce342c7212038fc4b 100644 (file)
@@ -30,7 +30,8 @@
 
 #include "packsingle.h"
 #include "indirect.h"
-#include "dispatch.h"
+#include "glapitable.h"
+#include "glapidispatch.h"
 #include "glapi.h"
 #include "glthread.h"
 #include "glapioffsets.h"
index 5c7e8eb90cd460c935f01319e09ee1bb8da15ae4..e11aff1a849beb82cb655c76596d93b07205b59a 100644 (file)
@@ -57,7 +57,8 @@ struct display_dispatch {
  */
 #ifdef GLX_INDIRECT_RENDERING
 
-#include "glapi/dispatch.h"
+#include "glapi/glapitable.h"
+#include "glapi/glapidispatch.h"
 
 #define KEYWORD1 PUBLIC
 
index 4db0ff1425e9079c86eceacb808fb223246787a7..846c041cde1798cad9b8d183cffd93136b1356d4 100644 (file)
@@ -43,7 +43,6 @@ SERVER_OUTPUTS = \
        $(GLX_DIR)/glapioffsets.h \
        $(GLX_DIR)/glapidispatch.h \
        $(GLX_DIR)/glprocs.h \
-       $(GLX_DIR)/dispatch.h \
        $(SERVER_GLAPI_FILES)
 
 API_XML = gl_API.xml \