egl: Add egl.def for win32 build.

Without the .def file, function names are decorated and cannot be
queried by GetProcAddress easily.
This commit is contained in:
Chia-I Wu
2010-08-20 12:41:46 +08:00
parent f508c0c097
commit ce2cae4130
2 changed files with 36 additions and 1 deletions

View File

@@ -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))

35
src/egl/main/egl.def Normal file
View File

@@ -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