summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-08-20 12:41:46 +0800
committerChia-I Wu <[email protected]>2010-08-20 19:22:50 +0800
commitce2cae4130548872a0205097b0b5dbe0f4f57d5f (patch)
tree655333529fef82c3df2a26aa05688898655a4e36 /src
parentf508c0c09702a5ea53dcb58721f3674605594c6e (diff)
egl: Add egl.def for win32 build.
Without the .def file, function names are decorated and cannot be queried by GetProcAddress easily.
Diffstat (limited to 'src')
-rw-r--r--src/egl/main/SConscript2
-rw-r--r--src/egl/main/egl.def35
2 files changed, 36 insertions, 1 deletions
diff --git a/src/egl/main/SConscript b/src/egl/main/SConscript
index 1e4d4f39de1..06846475baf 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 00000000000..0cfe920e0ee
--- /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