From: George Sapountzis Date: Thu, 5 Apr 2007 15:59:42 +0000 (+0300) Subject: Move glcontextmodes.c to glx. X-Git-Tag: 062012170305~19655 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=885111518eeb60664b2ac708512dc8b599060280;p=profile%2Fivi%2Fmesa.git Move glcontextmodes.c to glx. It is no longer linked with DRI drivers, libGL passes function pointers through the DRI interface. --- diff --git a/src/glx/mini/Makefile b/src/glx/mini/Makefile index 217b8a7..7294310 100644 --- a/src/glx/mini/Makefile +++ b/src/glx/mini/Makefile @@ -11,7 +11,7 @@ C_SOURCES = \ $(TOP)/src/mesa/main/dispatch.c \ $(TOP)/src/mesa/glapi/glapi.c \ $(TOP)/src/mesa/glapi/glthread.c \ - $(TOP)/src/mesa/drivers/dri/common/glcontextmodes.c \ + $(TOP)/src/glx/x11/glcontextmodes.c \ miniglx.c \ miniglx_events.c @@ -27,10 +27,7 @@ INCLUDE_DIRS = \ -I$(TOP)/src/mesa \ -I$(TOP)/src/mesa/main \ -I$(TOP)/src/mesa/glapi \ - -I$(TOP)/src/mesa/math \ - -I$(TOP)/src/mesa/transform \ - -I$(TOP)/src/mesa/swrast \ - -I$(TOP)/src/mesa/swrast_setup \ + -I$(TOP)/src/glx/x11 \ -I$(TOP)/src/mesa/drivers/dri/common \ `pkg-config --cflags libdrm` diff --git a/src/glx/x11/Makefile b/src/glx/x11/Makefile index c509d4e..fd83c6f 100644 --- a/src/glx/x11/Makefile +++ b/src/glx/x11/Makefile @@ -46,7 +46,6 @@ INCLUDES = -I. \ -I$(TOP)/include/GL/internal \ -I$(TOP)/src/mesa/main \ -I$(TOP)/src/mesa/glapi \ - -I$(TOP)/src/mesa/drivers/dri/common \ $(LIBDRM_CFLAGS) \ $(X11_INCLUDES) @@ -63,9 +62,6 @@ INCLUDES = -I. \ default: depend $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) -glcontextmodes.c: - ln -s $(TOP)/src/mesa/drivers/dri/common/glcontextmodes.c . - # Make libGL $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(OBJECTS) Makefile $(TOP)/bin/mklib -o $(GL_LIB) -linker '$(CC)' \ diff --git a/src/mesa/drivers/dri/common/glcontextmodes.c b/src/glx/x11/glcontextmodes.c similarity index 100% rename from src/mesa/drivers/dri/common/glcontextmodes.c rename to src/glx/x11/glcontextmodes.c diff --git a/src/mesa/drivers/dri/common/glcontextmodes.h b/src/glx/x11/glcontextmodes.h similarity index 100% rename from src/mesa/drivers/dri/common/glcontextmodes.h rename to src/glx/x11/glcontextmodes.h