GLX Prototypes

Initialization

Determine whether the GLX extension is defined on the X server:

Bool glXQueryExtension(Display *dpy, int *errorBase,                         int *eventBase);

Query version and extension information for client and server:

Bool glXQueryVersion(Display *dpy, int *major, int *minor);

const char* glXGetClientString(Display *dpy, int name);

const char* glXQueryServerString(Display *dpy, int screen,                         int name);

const char* glXQueryExtensionsString(Display *dpy, int screen);

Obtain available GLX framebuffer configurations:

GLXFBConfig * glXGetFBConfigs(Display *dpy, int screen,                         int *nelements);

GLXFBConfig * glXChooseFBConfig(Display *dpy, int screen,                         const ...

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.