Skip to content

GL: Use a table to look up core GLX functions.

Created by: kbrenneman

This is based on the discussion and observations in #123.

Rather than just optimizing the existing __glXGLLoadGLXFunction code, this change adds a static table with all of the core GLX functions. The wrappers for those function in libGL.so just call through that table.

This removes the overhead of looking up each function by name when libGL.so gets initialized.

Merge request reports