diff options
Diffstat (limited to 'src/mesa/drivers/common')
| -rw-r--r-- | src/mesa/drivers/common/descrip.mms | 41 | ||||
| -rw-r--r-- | src/mesa/drivers/common/driverfuncs.c | 45 | ||||
| -rw-r--r-- | src/mesa/drivers/common/sources | 2 | 
3 files changed, 65 insertions, 23 deletions
| diff --git a/src/mesa/drivers/common/descrip.mms b/src/mesa/drivers/common/descrip.mms new file mode 100644 index 0000000000..99a2ae6c37 --- /dev/null +++ b/src/mesa/drivers/common/descrip.mms @@ -0,0 +1,41 @@ +# Makefile for core library for VMS +# contributed by Jouk Jansen  joukj@hrem.nano.tudelft.nl +# Last revision : 3 October 2007 + +.first +	define gl [----.include.gl] +	define math [--.math] +	define tnl [--.tnl] +	define swrast [--.swrast] +	define glapi [--.glapi] +	define shader [--.shader] +	define main [--.main] + +.include [----]mms-config. + +##### MACROS ##### + +VPATH = RCS + +INCDIR = [----.include],[--.main],[--.glapi],[--.shader] +LIBDIR = [----.lib] +CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short)/float=ieee/ieee=denorm + +SOURCES = driverfuncs.c + +OBJECTS =driverfuncs.obj + +##### RULES ##### + +VERSION=Mesa V3.4 + +##### TARGETS ##### +# Make the library +$(LIBDIR)$(GL_LIB) : $(OBJECTS) +  @ library $(LIBDIR)$(GL_LIB) $(OBJECTS) + +clean : +	purge +	delete *.obj;* + +driverfuncs.obj : driverfuncs.c diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c index b5b383b4e4..986f751bdc 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -23,35 +23,36 @@   */ -#include "glheader.h" -#include "imports.h" -#include "buffers.h" -#include "context.h" -#include "framebuffer.h" -#include "mipmap.h" -#include "program.h" -#include "prog_execute.h" -#include "queryobj.h" -#include "renderbuffer.h" -#include "texcompress.h" -#include "texformat.h" -#include "teximage.h" -#include "texobj.h" -#include "texstore.h" +#include "main/glheader.h" +#include "main/imports.h" +#include "main/arrayobj.h" +#include "main/buffers.h" +#include "main/context.h" +#include "main/framebuffer.h" +#include "main/mipmap.h" +#include "main/queryobj.h" +#include "main/renderbuffer.h" +#include "main/texcompress.h" +#include "main/texformat.h" +#include "main/teximage.h" +#include "main/texobj.h" +#include "main/texstore.h"  #if FEATURE_ARB_vertex_buffer_object -#include "bufferobj.h" +#include "main/bufferobj.h"  #endif  #if FEATURE_EXT_framebuffer_object -#include "fbobject.h" -#include "texrender.h" +#include "main/fbobject.h" +#include "main/texrender.h"  #endif -#include "shader_api.h" -#include "arrayobj.h" -#include "driverfuncs.h" +#include "shader/program.h" +#include "shader/prog_execute.h" +#include "shader/shader_api.h"  #include "tnl/tnl.h"  #include "swrast/swrast.h" +#include "driverfuncs.h" +  /** @@ -115,6 +116,8 @@ _mesa_init_driver_functions(struct dd_function_table *driver)     driver->DeleteTexture = _mesa_delete_texture_object;     driver->NewTextureImage = _mesa_new_texture_image;     driver->FreeTexImageData = _mesa_free_texture_image_data;  +   driver->MapTexture = NULL; +   driver->UnmapTexture = NULL;     driver->TextureMemCpy = _mesa_memcpy;      driver->IsTextureResident = NULL;     driver->PrioritizeTexture = NULL; diff --git a/src/mesa/drivers/common/sources b/src/mesa/drivers/common/sources deleted file mode 100644 index 90e29d78d3..0000000000 --- a/src/mesa/drivers/common/sources +++ /dev/null @@ -1,2 +0,0 @@ -MESA_DRIVER_COMMON_SOURCES = \ -driverfuncs.c | 
