Lines Matching refs:entrypoints
11 # These entrypoints should *not* be in the GLVND entrypoints
20 def check_entrypoint_sorted(entrypoints):
21 print('Checking that EGL API entrypoints are sorted...')
23 for i, _ in enumerate(entrypoints):
27 if entrypoints[i - 1] > entrypoints[i]:
28 print('ERROR: ' + entrypoints[i] + ' should come before ' + entrypoints[i - 1])
35 print('Checking the GLVND entrypoints against the plain EGL ones...')
42 print('ERROR: ' + egl_entrypoint + ' is missing from the GLVND entrypoints (src/egl/generate/eglFunctionList.py)')
47 print('ERROR: ' + glvnd_entrypoint + ' is missing from the plain EGL entrypoints (src/egl/main/eglentrypoint.h)')
52 print('ERROR: ' + glvnd_entrypoint + ' is should *not* be in the GLVND entrypoints (src/egl/generate/eglFunctionList.py)')
69 entrypoints = []
74 entrypoints.append(line[len(PREFIX):-len(SUFFIX)])
76 check_entrypoint_sorted(entrypoints)
80 check_glvnd_entrypoints(entrypoints, glvnd_entrypoints)