Mesa (master): egl: Add egl.def for win32 build.
Chia-I Wu
olv at kemper.freedesktop.org
Fri Aug 20 11:30:01 UTC 2010
Module: Mesa
Branch: master
Commit: ce2cae4130548872a0205097b0b5dbe0f4f57d5f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce2cae4130548872a0205097b0b5dbe0f4f57d5f
Author: Chia-I Wu <olv at lunarg.com>
Date: Fri Aug 20 12:41:46 2010 +0800
egl: Add egl.def for win32 build.
Without the .def file, function names are decorated and cannot be
queried by GetProcAddress easily.
---
src/egl/main/SConscript | 2 +-
src/egl/main/egl.def | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+), 1 deletions(-)
diff --git a/src/egl/main/SConscript b/src/egl/main/SConscript
index 1e4d4f3..0684647 100644
--- a/src/egl/main/SConscript
+++ b/src/egl/main/SConscript
@@ -42,7 +42,7 @@ if env['platform'] != 'winddk':
egl = env.SharedLibrary(
target = 'libEGL',
- source = egl_sources,
+ source = egl_sources + ['egl.def'],
)
env.InstallSharedLibrary(egl, version=(1, 4, 0))
diff --git a/src/egl/main/egl.def b/src/egl/main/egl.def
new file mode 100644
index 0000000..0cfe920
--- /dev/null
+++ b/src/egl/main/egl.def
@@ -0,0 +1,35 @@
+EXPORTS
+ eglBindAPI
+ eglBindTexImage
+ eglChooseConfig
+ eglCopyBuffers
+ eglCreateContext
+ eglCreatePbufferFromClientBuffer
+ eglCreatePbufferSurface
+ eglCreatePixmapSurface
+ eglCreateWindowSurface
+ eglDestroyContext
+ eglDestroySurface
+ eglGetConfigAttrib
+ eglGetConfigs
+ eglGetCurrentContext
+ eglGetCurrentDisplay
+ eglGetCurrentSurface
+ eglGetDisplay
+ eglGetError
+ eglGetProcAddress
+ eglInitialize
+ eglMakeCurrent
+ eglQueryAPI
+ eglQueryContext
+ eglQueryString
+ eglQuerySurface
+ eglReleaseTexImage
+ eglReleaseThread
+ eglSurfaceAttrib
+ eglSwapBuffers
+ eglSwapInterval
+ eglTerminate
+ eglWaitClient
+ eglWaitGL
+ eglWaitNative
More information about the mesa-commit
mailing list