summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2003-07-25 14:44:57 +0000
committerKarl Schultz <kschultz@freedesktop.org>2003-07-25 14:44:57 +0000
commit00d7f16dbd8c4dd1407fbc19001126164018e2a9 (patch)
tree8c204f48a367bbe1d6ea212dfc4c8934f81ae300
parentc2aee04666078f7c80e2b4b59f5fabc5d38848fc (diff)
cleanup - add comments and sort names.
-rw-r--r--src/mesa/drivers/windows/gdi/mesa.def206
1 files changed, 118 insertions, 88 deletions
diff --git a/src/mesa/drivers/windows/gdi/mesa.def b/src/mesa/drivers/windows/gdi/mesa.def
index 117c65ad41..200e12486a 100644
--- a/src/mesa/drivers/windows/gdi/mesa.def
+++ b/src/mesa/drivers/windows/gdi/mesa.def
@@ -1,5 +1,33 @@
DESCRIPTION 'Mesa (OpenGL work-alike) for Win32'
-VERSION 4.1
+VERSION 5.1
+;
+; Module definition file for Mesa (OPENGL32.DLL)
+;
+; Note: The OpenGL functions use the STDCALL
+; function calling convention. Microsoft's
+; OPENGL32 uses this convention and so must the
+; Mesa OPENGL32 so that the Mesa DLL can be used
+; as a drop-in replacement.
+;
+; The linker exports STDCALL entry points with
+; 'decorated' names; e.g., _glBegin@0, where the
+; trailing number is the number of bytes of
+; parameter data pushed onto the stack. The
+; callee is responsible for popping this data
+; off the stack, usually via a RETF n instruction.
+;
+; However, the Microsoft OPENGL32.DLL does not export
+; the decorated names, even though the calling convention
+; is STDCALL. So, this module definition file is
+; needed to force the Mesa OPENGL32.DLL to export the
+; symbols in the same manner as the Microsoft DLL.
+; Were it not for this problem, this file would not
+; be needed (for the gl* functions) since the entry
+; points are compiled with dllexport declspec.
+;
+; However, this file is still needed to export "internal"
+; Mesa symbols for the benefit of the OSMESA32.DLL.
+;
EXPORTS
glAccum
@@ -392,104 +420,106 @@ EXPORTS
glWindowPos4ivMESA
glWindowPos4sMESA
glWindowPos4svMESA
- _swsetup_Wakeup
- _swsetup_CreateContext
- _tnl_CreateContext
+; WGL API
+ wglChoosePixelFormat
+ wglCopyContext
+ wglCreateContext
+ wglCreateLayerContext
+ wglDeleteContext
+ wglDescribeLayerPlane
+ wglDescribePixelFormat
+ wglGetCurrentContext
+ wglGetCurrentDC
+ wglGetLayerPaletteEntries
+ wglGetPixelFormat
+ wglGetProcAddress
+ wglMakeCurrent
+ wglRealizeLayerPalette
+ wglSetLayerPaletteEntries
+ wglSetPixelFormat
+ wglShareLists
+ wglSwapBuffers
+ wglSwapLayerBuffers
+ wglUseFontBitmapsA
+ wglUseFontBitmapsW
+ wglUseFontOutlinesA
+ wglUseFontOutlinesW
+; Mesa internals - mostly for OSMESA
_ac_CreateContext
- _swrast_CreateContext
- _mesa_free_context_data
+ _ac_DestroyContext
+ _ac_InvalidateState
+ _glapi_get_context
+ _glapi_get_proc_address
+ _mesa_base_compressed_texformat
+ _mesa_bzero
+ _mesa_calloc
+ _mesa_choose_tex_format
+ _mesa_compressed_texture_size
_mesa_create_framebuffer
+ _mesa_create_visual
+ _mesa_delete_texture_object
+ _mesa_destroy_framebuffer
+ _mesa_destroy_visual
_mesa_enable_1_3_extensions
_mesa_enable_1_4_extensions
_mesa_enable_sw_extensions
- _mesa_destroy_visual
+ _mesa_error
+ _mesa_free
+ _mesa_free_context_data
+ _mesa_get_current_context
+ _mesa_init_default_imports
_mesa_initialize_context
- _mesa_create_visual
- _mesa_destroy_framebuffer
- _mesa_delete_texture_object
+ _mesa_make_current
+ _mesa_memcpy
+ _mesa_memset
_mesa_new_texture_object
- _swrast_zbuffer_address
- _swrast_DestroyContext
- _ac_DestroyContext
- _tnl_DestroyContext
- _swsetup_DestroyContext
+ _mesa_problem
+ _mesa_ResizeBuffersMESA
+ _mesa_store_compressed_teximage1d
+ _mesa_store_compressed_teximage2d
+ _mesa_store_compressed_teximage3d
+ _mesa_store_compressed_texsubimage1d
+ _mesa_store_compressed_texsubimage2d
+ _mesa_store_compressed_texsubimage3d
+ _mesa_store_teximage1d
+ _mesa_store_teximage2d
+ _mesa_store_teximage3d
+ _mesa_store_texsubimage1d
+ _mesa_store_texsubimage2d
+ _mesa_store_texsubimage3d
+ _mesa_strcmp
+ _mesa_test_proxy_teximage
_mesa_Viewport
- _mesa_make_current
- _mesa_get_current_context
- _mesa_error
- _swrast_choose_triangle
+ _swrast_Accum
+ _swrast_alloc_buffers
+ _swrast_Bitmap
+ _swrast_CopyPixels
+ _swrast_DrawBuffer
+ _swrast_DrawPixels
+ _swrast_GetDeviceDriverReference
+ _swrast_Clear
_swrast_choose_line
- _tnl_InvalidateState
- _ac_InvalidateState
- _swsetup_InvalidateState
- _swrast_InvalidateState
- _tnl_run_pipeline
- _swrast_CopyConvolutionFilter2D
- _swrast_CopyConvolutionFilter1D
+ _swrast_choose_triangle
_swrast_CopyColorSubTable
_swrast_CopyColorTable
- _swrast_copy_texsubimage3d
- _swrast_copy_texsubimage2d
- _swrast_copy_texsubimage1d
- _swrast_copy_teximage2d
+ _swrast_CopyConvolutionFilter1D
+ _swrast_CopyConvolutionFilter2D
_swrast_copy_teximage1d
- _mesa_test_proxy_teximage
- _mesa_store_texsubimage3d
- _mesa_store_texsubimage2d
- _mesa_store_texsubimage1d
- _mesa_store_teximage3d
- _mesa_store_teximage2d
- _mesa_store_teximage1d
- _mesa_store_compressed_texsubimage3d
- _mesa_store_compressed_texsubimage2d
- _mesa_store_compressed_texsubimage1d
- _mesa_store_compressed_teximage3d
- _mesa_store_compressed_teximage2d
- _mesa_store_compressed_teximage1d
- _mesa_choose_tex_format
- _mesa_base_compressed_texformat
- _mesa_compressed_texture_size
+ _swrast_copy_teximage2d
+ _swrast_copy_texsubimage1d
+ _swrast_copy_texsubimage2d
+ _swrast_copy_texsubimage3d
+ _swrast_CreateContext
+ _swrast_DestroyContext
+ _swrast_InvalidateState
_swrast_ReadPixels
- _swrast_DrawPixels
- _swrast_CopyPixels
- _swrast_Bitmap
- _swrast_Accum
- _swrast_alloc_buffers
- _swrast_GetDeviceDriverReference
- _swrast_Clear
- _glapi_get_context
- _mesa_ResizeBuffersMESA
- _glapi_get_proc_address
- _mesa_init_default_imports
+ _swrast_zbuffer_address
+ _swsetup_Wakeup
+ _swsetup_CreateContext
+ _swsetup_DestroyContext
+ _swsetup_InvalidateState
+ _tnl_CreateContext
+ _tnl_DestroyContext
+ _tnl_InvalidateState
_tnl_MakeCurrent
- _swrast_DrawBuffer
- _mesa_free
- _mesa_calloc
- _mesa_strcmp
- _mesa_bzero
- _mesa_memset
- _mesa_memcpy
- _mesa_problem
- wglCopyContext
- wglCreateContext
- wglDeleteContext
- wglCreateLayerContext
- wglGetCurrentContext
- wglGetCurrentDC
- wglMakeCurrent
- wglShareLists
- wglUseFontBitmapsA
- wglUseFontBitmapsW
- wglUseFontOutlinesA
- wglUseFontOutlinesW
- wglDescribeLayerPlane
- wglSetLayerPaletteEntries
- wglGetLayerPaletteEntries
- wglRealizeLayerPalette
- wglSwapLayerBuffers
- wglChoosePixelFormat
- wglDescribePixelFormat
- wglGetProcAddress
- wglGetPixelFormat
- wglSetPixelFormat
- wglSwapBuffers
+ _tnl_run_pipeline