From 91d2905f438072ac63bbc01000369aa0b5795cc8 Mon Sep 17 00:00:00 2001
From: Oliver Wolff <oliver.wolff@qt.io>
Date: Mon, 3 Jun 2019 08:34:15 +0200
Subject: ANGLE: Decorate symbol names in MinGW .def files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

In order to be able to link against the created ANGLE libraries, MinGW
needs decorated symbol names inside the .def files.

Task-number: QTBUG-76087
Change-Id: I090dbfb8fd468e2ea18de3785e2b694294f4b63a
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
---
 src/3rdparty/angle/src/libEGL/libEGLd_mingw32.def | 142 +++++++++++-----------
 1 file changed, 71 insertions(+), 71 deletions(-)

(limited to 'src/3rdparty/angle/src/libEGL/libEGLd_mingw32.def')

diff --git a/src/3rdparty/angle/src/libEGL/libEGLd_mingw32.def b/src/3rdparty/angle/src/libEGL/libEGLd_mingw32.def
index e68d27295e..14eb331b3a 100644
--- a/src/3rdparty/angle/src/libEGL/libEGLd_mingw32.def
+++ b/src/3rdparty/angle/src/libEGL/libEGLd_mingw32.def
@@ -1,77 +1,77 @@
 LIBRARY libEGL
 EXPORTS
-    eglBindAPI                                  @14
-    eglBindTexImage                             @20
-    eglChooseConfig                             @7
-    eglCopyBuffers                              @33
-    eglCreateContext                            @23
-    eglCreatePbufferFromClientBuffer            @18
-    eglCreatePbufferSurface                     @10
-    eglCreatePixmapSurface                      @11
-    eglCreateWindowSurface                      @9
-    eglDestroyContext                           @24
-    eglDestroySurface                           @12
-    eglGetConfigAttrib                          @8
-    eglGetConfigs                               @6
-    eglGetCurrentContext                        @26
-    eglGetCurrentDisplay                        @28
-    eglGetCurrentSurface                        @27
-    eglGetDisplay                               @2
-    eglGetError                                 @1
-    eglGetProcAddress                           @34
-    eglInitialize                               @3
-    eglMakeCurrent                              @25
-    eglQueryAPI                                 @15
-    eglQueryContext                             @29
-    eglQueryString                              @5
-    eglQuerySurface                             @13
-    eglReleaseTexImage                          @21
-    eglReleaseThread                            @17
-    eglSurfaceAttrib                            @19
-    eglSwapBuffers                              @32
-    eglSwapInterval                             @22
-    eglTerminate                                @4
-    eglWaitClient                               @16
-    eglWaitGL                                   @30
-    eglWaitNative                               @31
+    eglBindAPI@4                                    @14
+    eglBindTexImage@12                              @20
+    eglChooseConfig@20                              @7
+    eglCopyBuffers@12                               @33
+    eglCreateContext@16                             @23
+    eglCreatePbufferFromClientBuffer@20             @18
+    eglCreatePbufferSurface@12                      @10
+    eglCreatePixmapSurface@16                       @11
+    eglCreateWindowSurface@16                       @9
+    eglDestroyContext@8                             @24
+    eglDestroySurface@8                             @12
+    eglGetConfigAttrib@16                           @8
+    eglGetConfigs@16                                @6
+    eglGetCurrentContext@0                          @26
+    eglGetCurrentDisplay@0                          @28
+    eglGetCurrentSurface@4                          @27
+    eglGetDisplay@4                                 @2
+    eglGetError@0                                   @1
+    eglGetProcAddress@4                             @34
+    eglInitialize@12                                @3
+    eglMakeCurrent@16                               @25
+    eglQueryAPI@0                                   @15
+    eglQueryContext@16                              @29
+    eglQueryString@8                                @5
+    eglQuerySurface@16                              @13
+    eglReleaseTexImage@12                           @21
+    eglReleaseThread@0                              @17
+    eglSurfaceAttrib@16                             @19
+    eglSwapBuffers@8                                @32
+    eglSwapInterval@8                               @22
+    eglTerminate@4                                  @4
+    eglWaitClient@0                                 @16
+    eglWaitGL@0                                     @30
+    eglWaitNative@4                                 @31
 
     ; Extensions
-    eglGetPlatformDisplayEXT                    @35
-    eglQuerySurfacePointerANGLE                 @36
-    eglPostSubBufferNV                          @37
-    eglQueryDisplayAttribEXT                    @48
-    eglQueryDeviceAttribEXT                     @49
-    eglQueryDeviceStringEXT                     @50
-    eglCreateImageKHR                           @51
-    eglDestroyImageKHR                          @52
-    eglCreateDeviceANGLE                        @53
-    eglReleaseDeviceANGLE                       @54
-    eglCreateStreamKHR                          @55
-    eglDestroyStreamKHR                         @56
-    eglStreamAttribKHR                          @57
-    eglQueryStreamKHR                           @58
-    eglQueryStreamu64KHR                        @59
-    eglStreamConsumerGLTextureExternalKHR       @60
-    eglStreamConsumerAcquireKHR                 @61
-    eglStreamConsumerReleaseKHR                 @62
-    eglStreamConsumerGLTextureExternalAttribsNV @63
-    eglCreateStreamProducerD3DTextureNV12ANGLE  @64
-    eglStreamPostD3DTextureNV12ANGLE            @65
-    eglGetSyncValuesCHROMIUM                    @66
-    eglSwapBuffersWithDamageEXT                 @67
-    eglProgramCacheGetAttribANGLE               @68
-    eglProgramCachePopulateANGLE                @69
-    eglProgramCacheQueryANGLE                   @70
-    eglProgramCacheResizeANGLE                  @71
+    eglGetPlatformDisplayEXT@12                     @35
+    eglQuerySurfacePointerANGLE@16                  @36
+    eglPostSubBufferNV@24                           @37
+    eglQueryDisplayAttribEXT@12                     @48
+    eglQueryDeviceAttribEXT@12                      @49
+    eglQueryDeviceStringEXT@8                       @50
+    eglCreateImageKHR@20                            @51
+    eglDestroyImageKHR@8                            @52
+    eglCreateDeviceANGLE@12                         @53
+    eglReleaseDeviceANGLE@4                         @54
+    eglCreateStreamKHR@8                            @55
+    eglDestroyStreamKHR@8                           @56
+    eglStreamAttribKHR@16                           @57
+    eglQueryStreamKHR@16                            @58
+    eglQueryStreamu64KHR@16                         @59
+    eglStreamConsumerGLTextureExternalKHR@8         @60
+    eglStreamConsumerAcquireKHR@8                   @61
+    eglStreamConsumerReleaseKHR@8                   @62
+    eglStreamConsumerGLTextureExternalAttribsNV@12  @63
+    eglCreateStreamProducerD3DTextureNV12ANGLE@12   @64
+    eglStreamPostD3DTextureNV12ANGLE@16             @65
+    eglGetSyncValuesCHROMIUM@20                     @66
+    eglSwapBuffersWithDamageEXT@16                  @67
+    eglProgramCacheGetAttribANGLE@8                 @68
+    eglProgramCachePopulateANGLE@20                 @69
+    eglProgramCacheQueryANGLE@24                    @70
+    eglProgramCacheResizeANGLE@12                   @71
 
     ; 1.5 entry points
-    eglCreateSync                               @38
-    eglDestroySync                              @39
-    eglClientWaitSync                           @40
-    eglGetSyncAttrib                            @41
-    eglCreateImage                              @42
-    eglDestroyImage                             @43
-    eglGetPlatformDisplay                       @44
-    eglCreatePlatformWindowSurface              @45
-    eglCreatePlatformPixmapSurface              @46
-    eglWaitSync                                 @47
+    eglCreateSync@12                                @38
+    eglDestroySync@8                                @39
+    eglClientWaitSync@20                            @40
+    eglGetSyncAttrib@16                             @41
+    eglCreateImage@20                               @42
+    eglDestroyImage@8                               @43
+    eglGetPlatformDisplay@12                        @44
+    eglCreatePlatformWindowSurface@16               @45
+    eglCreatePlatformPixmapSurface@16               @46
+    eglWaitSync@12                                  @47
-- 
cgit v1.2.3

