glapi: clarify the meaning of static_data.functions

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33634>
This commit is contained in:
Marek Olšák 2025-01-25 12:56:28 -05:00 committed by Marge Bot
parent 6c39cc1cc3
commit a8b18dce82
2 changed files with 3 additions and 2 deletions

View file

@ -619,7 +619,7 @@ class gl_function( gl_item ):
assert not alias or not element.get('marshal_call_after')
assert not alias or not element.get('deprecated')
if name in static_data.functions:
if name in static_data.libgl_public_functions:
self.static_entry_points.append(name)
self.entry_points.append( name )

View file

@ -1707,7 +1707,8 @@ offsets = {
"FramebufferTextureMultisampleMultiviewOVR": 1677,
}
functions = [
# Exported from libGL.so and libGLX_mesa.so (libEGL_mesa.so doesn't export any)
libgl_public_functions = [
"Accum",
"ActiveShaderProgram",
"ActiveTexture",