OSDN Git Service

xlib: rename xfonts.c to fakeglx_fonts.c
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 8 Jan 2009 15:46:39 +0000 (15:46 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 8 Jan 2009 15:47:32 +0000 (15:47 +0000)
src/gallium/state_trackers/xlib/Makefile
src/gallium/state_trackers/xlib/fakeglx.c
src/gallium/state_trackers/xlib/fakeglx.h [moved from src/gallium/state_trackers/xlib/xfonts.h with 91% similarity]
src/gallium/state_trackers/xlib/fakeglx_fonts.c [moved from src/gallium/state_trackers/xlib/xfonts.c with 99% similarity]
src/gallium/state_trackers/xlib/glxapi.c

index 55e0256..442d99d 100644 (file)
@@ -15,7 +15,7 @@ DRIVER_INCLUDES = \
 C_SOURCES = \
        glxapi.c        \
        fakeglx.c       \
-       xfonts.c        \
+       fakeglx_fonts.c \
        xm_api.c
 
 
index 7499d0f..04ba112 100644 (file)
@@ -49,7 +49,7 @@
 #include "imports.h"
 #include "mtypes.h"
 #include "version.h"
-#include "xfonts.h"
+#include "fakeglx.h"
 #include "xmesaP.h"
 #include "state_tracker/st_context.h"
 #include "state_tracker/st_public.h"
@@ -3025,9 +3025,6 @@ Fake_glXReleaseTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer)
 }
 
 
-/* silence warning */
-extern struct _glxapi_table *_mesa_GetGLXDispatchTable(void);
-
 
 /**
  * Create a new GLX API dispatch table with its function pointers
similarity index 91%
rename from src/gallium/state_trackers/xlib/xfonts.h
rename to src/gallium/state_trackers/xlib/fakeglx.h
index e36f42f..fc75daf 100644 (file)
@@ -24,8 +24,9 @@
  */
 
 
-#ifndef XFONTS_H
-#define XFONTS_H
+#ifndef FAKEGLX_H
+#define FAKEGLX_H
+
 
 #ifdef __VMS
 #include <GL/vms_x_fix.h>
@@ -33,6 +34,9 @@
 
 #include <X11/Xlib.h>
 
+struct _glxapi_table;
+
+extern struct _glxapi_table *_mesa_GetGLXDispatchTable(void);
 
 extern void Fake_glXUseXFont( Font font, int first, int count, int listbase );
 
similarity index 99%
rename from src/gallium/state_trackers/xlib/xfonts.c
rename to src/gallium/state_trackers/xlib/fakeglx_fonts.c
index d72c600..c7f6169 100644 (file)
@@ -35,7 +35,7 @@
 #include "glxheader.h"
 #include "context.h"
 #include "imports.h"
-#include "xfonts.h"
+#include "fakeglx.h"
 
 
 /* Some debugging info.  */
index 15b80cc..9336daa 100644 (file)
 #include "main/glheader.h"
 #include "glapi/glapi.h"
 #include "glxapi.h"
+#include "fakeglx.h"
 #include "pipe/p_thread.h"
 
 
-extern struct _glxapi_table *_mesa_GetGLXDispatchTable(void);
-
-
 struct display_dispatch {
    Display *Dpy;
    struct _glxapi_table *Table;