Mesa (master): wgl: Match opengl32.dll export ordinals.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Feb 25 10:56:29 UTC 2021


Module: Mesa
Branch: master
Commit: d7184aa15b2c99ae3746322b5ae76981b39a4026
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7184aa15b2c99ae3746322b5ae76981b39a4026

Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Tue Apr 14 16:36:33 2020 +0100

wgl: Match opengl32.dll export ordinals.

Some apps import GL/WGL symbols by ordinal.  See
https://github.com/apitrace/apitrace/issues/652

This is not an issue when Mesa is used as an OpenGL ICD, but it might
create troubles when used as a drop-in opengl32.dll replacement.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7372>

---

 src/gallium/frontends/wgl/opengl32.def | 736 ++++++++++++++++-----------------
 1 file changed, 368 insertions(+), 368 deletions(-)

diff --git a/src/gallium/frontends/wgl/opengl32.def b/src/gallium/frontends/wgl/opengl32.def
index c35c23b55e1..d89f0bdb52a 100644
--- a/src/gallium/frontends/wgl/opengl32.def
+++ b/src/gallium/frontends/wgl/opengl32.def
@@ -1,372 +1,372 @@
 EXPORTS
-;	GlmfBeginGlsBlock
-;	GlmfCloseMetaFile
-;	GlmfEndGlsBlock
-;	GlmfEndPlayback
-;	GlmfInitPlayback
-;	GlmfPlayGlsRecord
-	glAccum
-	glAlphaFunc
-	glAreTexturesResident
-	glArrayElement
-	glBegin
-	glBindTexture
-	glBitmap
-	glBlendFunc
-	glCallList
-	glCallLists
-	glClear
-	glClearAccum
-	glClearColor
-	glClearDepth
-	glClearIndex
-	glClearStencil
-	glClipPlane
-	glColor3b
-	glColor3bv
-	glColor3d
-	glColor3dv
-	glColor3f
-	glColor3fv
-	glColor3i
-	glColor3iv
-	glColor3s
-	glColor3sv
-	glColor3ub
-	glColor3ubv
-	glColor3ui
-	glColor3uiv
-	glColor3us
-	glColor3usv
-	glColor4b
-	glColor4bv
-	glColor4d
-	glColor4dv
-	glColor4f
-	glColor4fv
-	glColor4i
-	glColor4iv
-	glColor4s
-	glColor4sv
-	glColor4ub
-	glColor4ubv
-	glColor4ui
-	glColor4uiv
-	glColor4us
-	glColor4usv
-	glColorMask
-	glColorMaterial
-	glColorPointer
-	glCopyPixels
-	glCopyTexImage1D
-	glCopyTexImage2D
-	glCopyTexSubImage1D
-	glCopyTexSubImage2D
-	glCullFace
-;	glDebugEntry
-	glDeleteLists
-	glDeleteTextures
-	glDepthFunc
-	glDepthMask
-	glDepthRange
-	glDisable
-	glDisableClientState
-	glDrawArrays
-	glDrawBuffer
-	glDrawElements
-	glDrawPixels
-	glEdgeFlag
-	glEdgeFlagPointer
-	glEdgeFlagv
-	glEnable
-	glEnableClientState
-	glEnd
-	glEndList
-	glEvalCoord1d
-	glEvalCoord1dv
-	glEvalCoord1f
-	glEvalCoord1fv
-	glEvalCoord2d
-	glEvalCoord2dv
-	glEvalCoord2f
-	glEvalCoord2fv
-	glEvalMesh1
-	glEvalMesh2
-	glEvalPoint1
-	glEvalPoint2
-	glFeedbackBuffer
-	glFinish
-	glFlush
-	glFogf
-	glFogfv
-	glFogi
-	glFogiv
-	glFrontFace
-	glFrustum
-	glGenLists
-	glGenTextures
-	glGetBooleanv
-	glGetClipPlane
-	glGetDoublev
-	glGetError
-	glGetFloatv
-	glGetIntegerv
-	glGetLightfv
-	glGetLightiv
-	glGetMapdv
-	glGetMapfv
-	glGetMapiv
-	glGetMaterialfv
-	glGetMaterialiv
-	glGetPixelMapfv
-	glGetPixelMapuiv
-	glGetPixelMapusv
-	glGetPointerv
-	glGetPolygonStipple
-	glGetString
-	glGetTexEnvfv
-	glGetTexEnviv
-	glGetTexGendv
-	glGetTexGenfv
-	glGetTexGeniv
-	glGetTexImage
-	glGetTexLevelParameterfv
-	glGetTexLevelParameteriv
-	glGetTexParameterfv
-	glGetTexParameteriv
-	glHint
-	glIndexMask
-	glIndexPointer
-	glIndexd
-	glIndexdv
-	glIndexf
-	glIndexfv
-	glIndexi
-	glIndexiv
-	glIndexs
-	glIndexsv
-	glIndexub
-	glIndexubv
-	glInitNames
-	glInterleavedArrays
-	glIsEnabled
-	glIsList
-	glIsTexture
-	glLightModelf
-	glLightModelfv
-	glLightModeli
-	glLightModeliv
-	glLightf
-	glLightfv
-	glLighti
-	glLightiv
-	glLineStipple
-	glLineWidth
-	glListBase
-	glLoadIdentity
-	glLoadMatrixd
-	glLoadMatrixf
-	glLoadName
-	glLogicOp
-	glMap1d
-	glMap1f
-	glMap2d
-	glMap2f
-	glMapGrid1d
-	glMapGrid1f
-	glMapGrid2d
-	glMapGrid2f
-	glMaterialf
-	glMaterialfv
-	glMateriali
-	glMaterialiv
-	glMatrixMode
-	glMultMatrixd
-	glMultMatrixf
-	glNewList
-	glNormal3b
-	glNormal3bv
-	glNormal3d
-	glNormal3dv
-	glNormal3f
-	glNormal3fv
-	glNormal3i
-	glNormal3iv
-	glNormal3s
-	glNormal3sv
-	glNormalPointer
-	glOrtho
-	glPassThrough
-	glPixelMapfv
-	glPixelMapuiv
-	glPixelMapusv
-	glPixelStoref
-	glPixelStorei
-	glPixelTransferf
-	glPixelTransferi
-	glPixelZoom
-	glPointSize
-	glPolygonMode
-	glPolygonOffset
-	glPolygonStipple
-	glPopAttrib
-	glPopClientAttrib
-	glPopMatrix
-	glPopName
-	glPrioritizeTextures
-	glPushAttrib
-	glPushClientAttrib
-	glPushMatrix
-	glPushName
-	glRasterPos2d
-	glRasterPos2dv
-	glRasterPos2f
-	glRasterPos2fv
-	glRasterPos2i
-	glRasterPos2iv
-	glRasterPos2s
-	glRasterPos2sv
-	glRasterPos3d
-	glRasterPos3dv
-	glRasterPos3f
-	glRasterPos3fv
-	glRasterPos3i
-	glRasterPos3iv
-	glRasterPos3s
-	glRasterPos3sv
-	glRasterPos4d
-	glRasterPos4dv
-	glRasterPos4f
-	glRasterPos4fv
-	glRasterPos4i
-	glRasterPos4iv
-	glRasterPos4s
-	glRasterPos4sv
-	glReadBuffer
-	glReadPixels
-	glRectd
-	glRectdv
-	glRectf
-	glRectfv
-	glRecti
-	glRectiv
-	glRects
-	glRectsv
-	glRenderMode
-	glRotated
-	glRotatef
-	glScaled
-	glScalef
-	glScissor
-	glSelectBuffer
-	glShadeModel
-	glStencilFunc
-	glStencilMask
-	glStencilOp
-	glTexCoord1d
-	glTexCoord1dv
-	glTexCoord1f
-	glTexCoord1fv
-	glTexCoord1i
-	glTexCoord1iv
-	glTexCoord1s
-	glTexCoord1sv
-	glTexCoord2d
-	glTexCoord2dv
-	glTexCoord2f
-	glTexCoord2fv
-	glTexCoord2i
-	glTexCoord2iv
-	glTexCoord2s
-	glTexCoord2sv
-	glTexCoord3d
-	glTexCoord3dv
-	glTexCoord3f
-	glTexCoord3fv
-	glTexCoord3i
-	glTexCoord3iv
-	glTexCoord3s
-	glTexCoord3sv
-	glTexCoord4d
-	glTexCoord4dv
-	glTexCoord4f
-	glTexCoord4fv
-	glTexCoord4i
-	glTexCoord4iv
-	glTexCoord4s
-	glTexCoord4sv
-	glTexCoordPointer
-	glTexEnvf
-	glTexEnvfv
-	glTexEnvi
-	glTexEnviv
-	glTexGend
-	glTexGendv
-	glTexGenf
-	glTexGenfv
-	glTexGeni
-	glTexGeniv
-	glTexImage1D
-	glTexImage2D
-	glTexParameterf
-	glTexParameterfv
-	glTexParameteri
-	glTexParameteriv
-	glTexSubImage1D
-	glTexSubImage2D
-	glTranslated
-	glTranslatef
-	glVertex2d
-	glVertex2dv
-	glVertex2f
-	glVertex2fv
-	glVertex2i
-	glVertex2iv
-	glVertex2s
-	glVertex2sv
-	glVertex3d
-	glVertex3dv
-	glVertex3f
-	glVertex3fv
-	glVertex3i
-	glVertex3iv
-	glVertex3s
-	glVertex3sv
-	glVertex4d
-	glVertex4dv
-	glVertex4f
-	glVertex4fv
-	glVertex4i
-	glVertex4iv
-	glVertex4s
-	glVertex4sv
-	glVertexPointer
-	glViewport
-	wglChoosePixelFormat
-	wglCopyContext
-	wglCreateContext
-	wglCreateLayerContext
-	wglDeleteContext
-	wglDescribeLayerPlane
-	wglDescribePixelFormat
-	wglGetCurrentContext
-	wglGetCurrentDC
-;	wglGetDefaultProcAddress
-	wglGetLayerPaletteEntries
-	wglGetPixelFormat
-	wglGetProcAddress
-	wglMakeCurrent
-	wglRealizeLayerPalette
-	wglSetLayerPaletteEntries
-	wglSetPixelFormat
-	wglShareLists
-	wglSwapBuffers
-	wglSwapLayerBuffers
-	wglSwapMultipleBuffers
-	wglUseFontBitmapsA
-	wglUseFontBitmapsW
-	wglUseFontOutlinesA
-	wglUseFontOutlinesW
+;	GlmfBeginGlsBlock                @1
+;	GlmfCloseMetaFile                @2
+;	GlmfEndGlsBlock                  @3
+;	GlmfEndPlayback                  @4
+;	GlmfInitPlayback                 @5
+;	GlmfPlayGlsRecord                @6
+	glAccum                          @7
+	glAlphaFunc                      @8
+	glAreTexturesResident            @9
+	glArrayElement                   @10
+	glBegin                          @11
+	glBindTexture                    @12
+	glBitmap                         @13
+	glBlendFunc                      @14
+	glCallList                       @15
+	glCallLists                      @16
+	glClear                          @17
+	glClearAccum                     @18
+	glClearColor                     @19
+	glClearDepth                     @20
+	glClearIndex                     @21
+	glClearStencil                   @22
+	glClipPlane                      @23
+	glColor3b                        @24
+	glColor3bv                       @25
+	glColor3d                        @26
+	glColor3dv                       @27
+	glColor3f                        @28
+	glColor3fv                       @29
+	glColor3i                        @30
+	glColor3iv                       @31
+	glColor3s                        @32
+	glColor3sv                       @33
+	glColor3ub                       @34
+	glColor3ubv                      @35
+	glColor3ui                       @36
+	glColor3uiv                      @37
+	glColor3us                       @38
+	glColor3usv                      @39
+	glColor4b                        @40
+	glColor4bv                       @41
+	glColor4d                        @42
+	glColor4dv                       @43
+	glColor4f                        @44
+	glColor4fv                       @45
+	glColor4i                        @46
+	glColor4iv                       @47
+	glColor4s                        @48
+	glColor4sv                       @49
+	glColor4ub                       @50
+	glColor4ubv                      @51
+	glColor4ui                       @52
+	glColor4uiv                      @53
+	glColor4us                       @54
+	glColor4usv                      @55
+	glColorMask                      @56
+	glColorMaterial                  @57
+	glColorPointer                   @58
+	glCopyPixels                     @59
+	glCopyTexImage1D                 @60
+	glCopyTexImage2D                 @61
+	glCopyTexSubImage1D              @62
+	glCopyTexSubImage2D              @63
+	glCullFace                       @64
+;	glDebugEntry                     @65
+	glDeleteLists                    @66
+	glDeleteTextures                 @67
+	glDepthFunc                      @68
+	glDepthMask                      @69
+	glDepthRange                     @70
+	glDisable                        @71
+	glDisableClientState             @72
+	glDrawArrays                     @73
+	glDrawBuffer                     @74
+	glDrawElements                   @75
+	glDrawPixels                     @76
+	glEdgeFlag                       @77
+	glEdgeFlagPointer                @78
+	glEdgeFlagv                      @79
+	glEnable                         @80
+	glEnableClientState              @81
+	glEnd                            @82
+	glEndList                        @83
+	glEvalCoord1d                    @84
+	glEvalCoord1dv                   @85
+	glEvalCoord1f                    @86
+	glEvalCoord1fv                   @87
+	glEvalCoord2d                    @88
+	glEvalCoord2dv                   @89
+	glEvalCoord2f                    @90
+	glEvalCoord2fv                   @91
+	glEvalMesh1                      @92
+	glEvalMesh2                      @93
+	glEvalPoint1                     @94
+	glEvalPoint2                     @95
+	glFeedbackBuffer                 @96
+	glFinish                         @97
+	glFlush                          @98
+	glFogf                           @99
+	glFogfv                          @100
+	glFogi                           @101
+	glFogiv                          @102
+	glFrontFace                      @103
+	glFrustum                        @104
+	glGenLists                       @105
+	glGenTextures                    @106
+	glGetBooleanv                    @107
+	glGetClipPlane                   @108
+	glGetDoublev                     @109
+	glGetError                       @110
+	glGetFloatv                      @111
+	glGetIntegerv                    @112
+	glGetLightfv                     @113
+	glGetLightiv                     @114
+	glGetMapdv                       @115
+	glGetMapfv                       @116
+	glGetMapiv                       @117
+	glGetMaterialfv                  @118
+	glGetMaterialiv                  @119
+	glGetPixelMapfv                  @120
+	glGetPixelMapuiv                 @121
+	glGetPixelMapusv                 @122
+	glGetPointerv                    @123
+	glGetPolygonStipple              @124
+	glGetString                      @125
+	glGetTexEnvfv                    @126
+	glGetTexEnviv                    @127
+	glGetTexGendv                    @128
+	glGetTexGenfv                    @129
+	glGetTexGeniv                    @130
+	glGetTexImage                    @131
+	glGetTexLevelParameterfv         @132
+	glGetTexLevelParameteriv         @133
+	glGetTexParameterfv              @134
+	glGetTexParameteriv              @135
+	glHint                           @136
+	glIndexMask                      @137
+	glIndexPointer                   @138
+	glIndexd                         @139
+	glIndexdv                        @140
+	glIndexf                         @141
+	glIndexfv                        @142
+	glIndexi                         @143
+	glIndexiv                        @144
+	glIndexs                         @145
+	glIndexsv                        @146
+	glIndexub                        @147
+	glIndexubv                       @148
+	glInitNames                      @149
+	glInterleavedArrays              @150
+	glIsEnabled                      @151
+	glIsList                         @152
+	glIsTexture                      @153
+	glLightModelf                    @154
+	glLightModelfv                   @155
+	glLightModeli                    @156
+	glLightModeliv                   @157
+	glLightf                         @158
+	glLightfv                        @159
+	glLighti                         @160
+	glLightiv                        @161
+	glLineStipple                    @162
+	glLineWidth                      @163
+	glListBase                       @164
+	glLoadIdentity                   @165
+	glLoadMatrixd                    @166
+	glLoadMatrixf                    @167
+	glLoadName                       @168
+	glLogicOp                        @169
+	glMap1d                          @170
+	glMap1f                          @171
+	glMap2d                          @172
+	glMap2f                          @173
+	glMapGrid1d                      @174
+	glMapGrid1f                      @175
+	glMapGrid2d                      @176
+	glMapGrid2f                      @177
+	glMaterialf                      @178
+	glMaterialfv                     @179
+	glMateriali                      @180
+	glMaterialiv                     @181
+	glMatrixMode                     @182
+	glMultMatrixd                    @183
+	glMultMatrixf                    @184
+	glNewList                        @185
+	glNormal3b                       @186
+	glNormal3bv                      @187
+	glNormal3d                       @188
+	glNormal3dv                      @189
+	glNormal3f                       @190
+	glNormal3fv                      @191
+	glNormal3i                       @192
+	glNormal3iv                      @193
+	glNormal3s                       @194
+	glNormal3sv                      @195
+	glNormalPointer                  @196
+	glOrtho                          @197
+	glPassThrough                    @198
+	glPixelMapfv                     @199
+	glPixelMapuiv                    @200
+	glPixelMapusv                    @201
+	glPixelStoref                    @202
+	glPixelStorei                    @203
+	glPixelTransferf                 @204
+	glPixelTransferi                 @205
+	glPixelZoom                      @206
+	glPointSize                      @207
+	glPolygonMode                    @208
+	glPolygonOffset                  @209
+	glPolygonStipple                 @210
+	glPopAttrib                      @211
+	glPopClientAttrib                @212
+	glPopMatrix                      @213
+	glPopName                        @214
+	glPrioritizeTextures             @215
+	glPushAttrib                     @216
+	glPushClientAttrib               @217
+	glPushMatrix                     @218
+	glPushName                       @219
+	glRasterPos2d                    @220
+	glRasterPos2dv                   @221
+	glRasterPos2f                    @222
+	glRasterPos2fv                   @223
+	glRasterPos2i                    @224
+	glRasterPos2iv                   @225
+	glRasterPos2s                    @226
+	glRasterPos2sv                   @227
+	glRasterPos3d                    @228
+	glRasterPos3dv                   @229
+	glRasterPos3f                    @230
+	glRasterPos3fv                   @231
+	glRasterPos3i                    @232
+	glRasterPos3iv                   @233
+	glRasterPos3s                    @234
+	glRasterPos3sv                   @235
+	glRasterPos4d                    @236
+	glRasterPos4dv                   @237
+	glRasterPos4f                    @238
+	glRasterPos4fv                   @239
+	glRasterPos4i                    @240
+	glRasterPos4iv                   @241
+	glRasterPos4s                    @242
+	glRasterPos4sv                   @243
+	glReadBuffer                     @244
+	glReadPixels                     @245
+	glRectd                          @246
+	glRectdv                         @247
+	glRectf                          @248
+	glRectfv                         @249
+	glRecti                          @250
+	glRectiv                         @251
+	glRects                          @252
+	glRectsv                         @253
+	glRenderMode                     @254
+	glRotated                        @255
+	glRotatef                        @256
+	glScaled                         @257
+	glScalef                         @258
+	glScissor                        @259
+	glSelectBuffer                   @260
+	glShadeModel                     @261
+	glStencilFunc                    @262
+	glStencilMask                    @263
+	glStencilOp                      @264
+	glTexCoord1d                     @265
+	glTexCoord1dv                    @266
+	glTexCoord1f                     @267
+	glTexCoord1fv                    @268
+	glTexCoord1i                     @269
+	glTexCoord1iv                    @270
+	glTexCoord1s                     @271
+	glTexCoord1sv                    @272
+	glTexCoord2d                     @273
+	glTexCoord2dv                    @274
+	glTexCoord2f                     @275
+	glTexCoord2fv                    @276
+	glTexCoord2i                     @277
+	glTexCoord2iv                    @278
+	glTexCoord2s                     @279
+	glTexCoord2sv                    @280
+	glTexCoord3d                     @281
+	glTexCoord3dv                    @282
+	glTexCoord3f                     @283
+	glTexCoord3fv                    @284
+	glTexCoord3i                     @285
+	glTexCoord3iv                    @286
+	glTexCoord3s                     @287
+	glTexCoord3sv                    @288
+	glTexCoord4d                     @289
+	glTexCoord4dv                    @290
+	glTexCoord4f                     @291
+	glTexCoord4fv                    @292
+	glTexCoord4i                     @293
+	glTexCoord4iv                    @294
+	glTexCoord4s                     @295
+	glTexCoord4sv                    @296
+	glTexCoordPointer                @297
+	glTexEnvf                        @298
+	glTexEnvfv                       @299
+	glTexEnvi                        @300
+	glTexEnviv                       @301
+	glTexGend                        @302
+	glTexGendv                       @303
+	glTexGenf                        @304
+	glTexGenfv                       @305
+	glTexGeni                        @306
+	glTexGeniv                       @307
+	glTexImage1D                     @308
+	glTexImage2D                     @309
+	glTexParameterf                  @310
+	glTexParameterfv                 @311
+	glTexParameteri                  @312
+	glTexParameteriv                 @313
+	glTexSubImage1D                  @314
+	glTexSubImage2D                  @315
+	glTranslated                     @316
+	glTranslatef                     @317
+	glVertex2d                       @318
+	glVertex2dv                      @319
+	glVertex2f                       @320
+	glVertex2fv                      @321
+	glVertex2i                       @322
+	glVertex2iv                      @323
+	glVertex2s                       @324
+	glVertex2sv                      @325
+	glVertex3d                       @326
+	glVertex3dv                      @327
+	glVertex3f                       @328
+	glVertex3fv                      @329
+	glVertex3i                       @330
+	glVertex3iv                      @331
+	glVertex3s                       @332
+	glVertex3sv                      @333
+	glVertex4d                       @334
+	glVertex4dv                      @335
+	glVertex4f                       @336
+	glVertex4fv                      @337
+	glVertex4i                       @338
+	glVertex4iv                      @339
+	glVertex4s                       @340
+	glVertex4sv                      @341
+	glVertexPointer                  @342
+	glViewport                       @343
+	wglChoosePixelFormat             @344
+	wglCopyContext                   @345
+	wglCreateContext                 @346
+	wglCreateLayerContext            @347
+	wglDeleteContext                 @348
+	wglDescribeLayerPlane            @349
+	wglDescribePixelFormat           @350
+	wglGetCurrentContext             @351
+	wglGetCurrentDC                  @352
+;	wglGetDefaultProcAddress         @353
+	wglGetLayerPaletteEntries        @354
+	wglGetPixelFormat                @355
+	wglGetProcAddress                @356
+	wglMakeCurrent                   @357
+	wglRealizeLayerPalette           @358
+	wglSetLayerPaletteEntries        @359
+	wglSetPixelFormat                @360
+	wglShareLists                    @361
+	wglSwapBuffers                   @362
+	wglSwapLayerBuffers              @363
+	wglSwapMultipleBuffers           @364
+	wglUseFontBitmapsA               @365
+	wglUseFontBitmapsW               @366
+	wglUseFontOutlinesA              @367
+	wglUseFontOutlinesW              @368
 	DrvCopyContext
 	DrvCreateContext
 	DrvCreateLayerContext



More information about the mesa-commit mailing list