Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
OpenGL Extension Caching #1597
This caches OpenGL extensions that are not part of the core profile. It uses a struct of Boolean values to avoid function call overhead as @rextimmy suggestion. Extensions that run during initalization are not cached, as there really is no reason to as of now. It is fairly easy to add more extensions to the cache as needed.
This PR also removes the old extensions that are no longer needed.
Finally, it replaces a call of glGenMipmapEXT to glGenMipmap, as we are in the core profile now!