Rename swrastg_dri to swrast_dri

I prefer it this way and it has been suggested earlier by others too.
Opinions?
This commit is contained in:
Marek Olšák 2011-06-27 03:25:30 +02:00
parent b82db9a3c0
commit 5fe54df58f
4 changed files with 4 additions and 12 deletions

View File

@ -416,11 +416,6 @@ dri2_load_driver_swrast(_EGLDisplay *disp)
dri2_dpy->driver_name = "swrast";
extensions = dri2_open_driver(disp);
if (!extensions) {
/* try again with swrastg */
dri2_dpy->driver_name = "swrastg";
extensions = dri2_open_driver(disp);
}
if (!extensions)
return EGL_FALSE;

View File

@ -1,7 +1,7 @@
TOP = ../../../..
include $(TOP)/configs/current
LIBNAME = swrastg_dri.so
LIBNAME = swrast_dri.so
DRIVER_DEFINES = \
-D__NOT_HAVE_DRM_H -DGALLIUM_SOFTPIPE \

View File

@ -29,13 +29,13 @@ if env['llvm']:
env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
env.Prepend(LIBS = [llvmpipe])
swrastg_sources = [
swrast_sources = [
'swrast_drm_api.c'
]
module = env.LoadableModule(
target ='swrastg_dri.so',
source = swrastg_sources,
target ='swrast_dri.so',
source = swrast_sources,
SHLIBPREFIX = '',
)

View File

@ -425,9 +425,6 @@ driOpenSwrast(void)
if (driver == NULL)
driver = driOpenDriver("swrast");
if (driver == NULL)
driver = driOpenDriver("swrastg");
return driver;
}