Initialization

Use glXQueryExtension() and glXQueryVersion() to determine whether the GLX extension is defined for an X server and, if so, which version is present. glXQueryExtensionsString() returns extension information about the client-server connection. glXGetClientString() returns information about the client library, including extensions and version number. glXQueryServerString() returns similar information about the server.

glXChooseFBConfig() returns a pointer to an array of GLXFBConfig structures describing all GLX framebuffer configurations that meet the client’s specified attributes. You may use glXGetFBConfigAttrib() to query a framebuffer configuration about its support of a particular GLX attribute. You may also call glXGetVisualFromFBConfig() ...

Get OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.