[Mesa-dev] [PATCH mesa 5/9] eglapi: sort entrypoints list

Eric Engestrom eric at engestrom.ch
Tue Feb 21 23:56:48 UTC 2017


Let's make that comment true.
If will also be necessary in a couple commits (using bsearch).

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
 src/egl/main/eglapi.c | 74 +++++++++++++++++++++++++--------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
index 6c90333998..4597e10821 100644
--- a/src/egl/main/eglapi.c
+++ b/src/egl/main/eglapi.c
@@ -2364,15 +2364,38 @@ eglGetProcAddress(const char *procname)
       /* alphabetical order */
       EGL_ENTRYPOINT(eglBindAPI)
       EGL_ENTRYPOINT(eglBindTexImage)
+      EGL_ENTRYPOINT(eglBindWaylandDisplayWL)
       EGL_ENTRYPOINT(eglChooseConfig)
+      EGL_ENTRYPOINT(eglClientWaitSync)
+      EGL_ENTRYPOINT(eglClientWaitSyncKHR)
       EGL_ENTRYPOINT(eglCopyBuffers)
       EGL_ENTRYPOINT(eglCreateContext)
+      EGL_ENTRYPOINT(eglCreateDRMImageMESA)
+      EGL_ENTRYPOINT(eglCreateImage)
+      EGL_ENTRYPOINT(eglCreateImageKHR)
       EGL_ENTRYPOINT(eglCreatePbufferFromClientBuffer)
       EGL_ENTRYPOINT(eglCreatePbufferSurface)
       EGL_ENTRYPOINT(eglCreatePixmapSurface)
+      EGL_ENTRYPOINT(eglCreatePlatformPixmapSurface)
+      EGL_ENTRYPOINT(eglCreatePlatformPixmapSurfaceEXT)
+      EGL_ENTRYPOINT(eglCreatePlatformWindowSurface)
+      EGL_ENTRYPOINT(eglCreatePlatformWindowSurfaceEXT)
+      EGL_ENTRYPOINT(eglCreateSync)
+      EGL_ENTRYPOINT(eglCreateSync64KHR)
+      EGL_ENTRYPOINT(eglCreateSyncKHR)
+      EGL_ENTRYPOINT(eglCreateWaylandBufferFromImageWL)
       EGL_ENTRYPOINT(eglCreateWindowSurface)
+      EGL_ENTRYPOINT(eglDebugMessageControlKHR)
       EGL_ENTRYPOINT(eglDestroyContext)
+      EGL_ENTRYPOINT(eglDestroyImage)
+      EGL_ENTRYPOINT(eglDestroyImageKHR)
       EGL_ENTRYPOINT(eglDestroySurface)
+      EGL_ENTRYPOINT(eglDestroySync)
+      EGL_ENTRYPOINT(eglDestroySyncKHR)
+      EGL_ENTRYPOINT(eglDupNativeFenceFDANDROID)
+      EGL_ENTRYPOINT(eglExportDMABUFImageMESA)
+      EGL_ENTRYPOINT(eglExportDMABUFImageQueryMESA)
+      EGL_ENTRYPOINT(eglExportDRMImageMESA)
       EGL_ENTRYPOINT(eglGetConfigAttrib)
       EGL_ENTRYPOINT(eglGetConfigs)
       EGL_ENTRYPOINT(eglGetCurrentContext)
@@ -2380,61 +2403,38 @@ eglGetProcAddress(const char *procname)
       EGL_ENTRYPOINT(eglGetCurrentSurface)
       EGL_ENTRYPOINT(eglGetDisplay)
       EGL_ENTRYPOINT(eglGetError)
+      EGL_ENTRYPOINT(eglGetPlatformDisplay)
+      EGL_ENTRYPOINT(eglGetPlatformDisplayEXT)
       EGL_ENTRYPOINT(eglGetProcAddress)
+      EGL_ENTRYPOINT(eglGetSyncAttrib)
+      EGL_ENTRYPOINT(eglGetSyncAttribKHR)
+      EGL_ENTRYPOINT(eglGetSyncValuesCHROMIUM)
       EGL_ENTRYPOINT(eglInitialize)
+      EGL_ENTRYPOINT(eglLabelObjectKHR)
       EGL_ENTRYPOINT(eglMakeCurrent)
+      EGL_ENTRYPOINT(eglPostSubBufferNV)
       EGL_ENTRYPOINT(eglQueryAPI)
       EGL_ENTRYPOINT(eglQueryContext)
+      EGL_ENTRYPOINT(eglQueryDebugKHR)
       EGL_ENTRYPOINT(eglQueryString)
       EGL_ENTRYPOINT(eglQuerySurface)
+      EGL_ENTRYPOINT(eglQueryWaylandBufferWL)
       EGL_ENTRYPOINT(eglReleaseTexImage)
       EGL_ENTRYPOINT(eglReleaseThread)
+      EGL_ENTRYPOINT(eglSignalSyncKHR)
       EGL_ENTRYPOINT(eglSurfaceAttrib)
       EGL_ENTRYPOINT(eglSwapBuffers)
+      EGL_ENTRYPOINT(eglSwapBuffersRegionNOK)
+      EGL_ENTRYPOINT(eglSwapBuffersWithDamageEXT)
+      EGL_ENTRYPOINT(eglSwapBuffersWithDamageKHR)
       EGL_ENTRYPOINT(eglSwapInterval)
       EGL_ENTRYPOINT(eglTerminate)
+      EGL_ENTRYPOINT(eglUnbindWaylandDisplayWL)
       EGL_ENTRYPOINT(eglWaitClient)
       EGL_ENTRYPOINT(eglWaitGL)
       EGL_ENTRYPOINT(eglWaitNative)
-      EGL_ENTRYPOINT(eglCreateSync)
-      EGL_ENTRYPOINT(eglDestroySync)
-      EGL_ENTRYPOINT(eglClientWaitSync)
-      EGL_ENTRYPOINT(eglGetSyncAttrib)
       EGL_ENTRYPOINT(eglWaitSync)
-      EGL_ENTRYPOINT(eglCreateImage)
-      EGL_ENTRYPOINT(eglDestroyImage)
-      EGL_ENTRYPOINT(eglGetPlatformDisplay)
-      EGL_ENTRYPOINT(eglCreatePlatformWindowSurface)
-      EGL_ENTRYPOINT(eglCreatePlatformPixmapSurface)
-      EGL_ENTRYPOINT(eglCreateImageKHR)
-      EGL_ENTRYPOINT(eglDestroyImageKHR)
-      EGL_ENTRYPOINT(eglCreateSyncKHR)
-      EGL_ENTRYPOINT(eglCreateSync64KHR)
-      EGL_ENTRYPOINT(eglDestroySyncKHR)
-      EGL_ENTRYPOINT(eglClientWaitSyncKHR)
       EGL_ENTRYPOINT(eglWaitSyncKHR)
-      EGL_ENTRYPOINT(eglSignalSyncKHR)
-      EGL_ENTRYPOINT(eglGetSyncAttribKHR)
-      EGL_ENTRYPOINT(eglSwapBuffersRegionNOK)
-      EGL_ENTRYPOINT(eglCreateDRMImageMESA)
-      EGL_ENTRYPOINT(eglExportDRMImageMESA)
-      EGL_ENTRYPOINT(eglBindWaylandDisplayWL)
-      EGL_ENTRYPOINT(eglUnbindWaylandDisplayWL)
-      EGL_ENTRYPOINT(eglQueryWaylandBufferWL)
-      EGL_ENTRYPOINT(eglCreateWaylandBufferFromImageWL)
-      EGL_ENTRYPOINT(eglPostSubBufferNV)
-      EGL_ENTRYPOINT(eglSwapBuffersWithDamageEXT)
-      EGL_ENTRYPOINT(eglSwapBuffersWithDamageKHR)
-      EGL_ENTRYPOINT(eglGetPlatformDisplayEXT)
-      EGL_ENTRYPOINT(eglCreatePlatformWindowSurfaceEXT)
-      EGL_ENTRYPOINT(eglCreatePlatformPixmapSurfaceEXT)
-      EGL_ENTRYPOINT(eglGetSyncValuesCHROMIUM)
-      EGL_ENTRYPOINT(eglExportDMABUFImageQueryMESA)
-      EGL_ENTRYPOINT(eglExportDMABUFImageMESA)
-      EGL_ENTRYPOINT(eglLabelObjectKHR)
-      EGL_ENTRYPOINT(eglDebugMessageControlKHR)
-      EGL_ENTRYPOINT(eglQueryDebugKHR)
-      EGL_ENTRYPOINT(eglDupNativeFenceFDANDROID)
 #undef EGL_ENTRYPOINT
    };
    EGLint i;
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list