GLXQUERYEXTENSIONSSTRING(3gl)
π GLXQUERYEXTENSIONSSTRING π
okay bestie, gather round, because today we're talking about glXQueryExtensionsString β it's a GLX function, manual section 3G, and it is literally the "so what can this thing even do" girlie of the GLX world. no cap.
β¨ NAME β¨
glXQueryExtensionsString β return list of supported extensions π¦
β¨ C SPECIFICATION β¨
like, here's the exact shape of it, don't freestyle this:
const char * glXQueryExtensionsString( Display *dpy,
int screen )
delim $$
(yes that delim $$ line is really in there, it's a troff thing, we keep it, we respect it π
)
β¨ PARAMETERS β¨
dpyβ Specifies the connection to the X server. it's the link-up, the group chat you're pulling info from π«Άscreenβ Specifies the screen. which one tho. you gotta say which one.
β¨ DESCRIPTION β¨
so glXQueryExtensionsString hands you back a pointer to a string that describes which GLX extensions are supported on the connection. icon behaviour honestly.
that string is null-terminated and it's a space-separated list of extension names. the extension names themselves never contain spaces β not even once, not even for drama. so spaces = the dividers, always.
and if there are like... no extensions to GLX at all? you get the empty string. it's giving nothing because there IS nothing. π
β¨ NOTES β¨
heads up bestie:glXQueryExtensionsStringis available only if the GLX version is1.1or greater. check first or you're gonna have a bad time.
also, super important, don't get it twisted: glXQueryExtensionsString only returns info about GLX extensions. if you want the GL extensions list, you gotta call glGetString. different function, different vibe, different list. β¨
β¨ SEE ALSO β¨
glGetStringglXQueryVersionglXQueryServerStringglXGetClientString
and that's the whole page, bestie!! π this was the GLXQUERYEXTENSIONSSTRING manual page, hanging out in section 3G of your friendly neighbourhood Unix manuals β the header up top and the footer down bottom both say the same thing because it's that girl, and she said it twice for emphasis. ππ mwah, go query some extensions, you got this ππ¦
π¦ where this page comes from
- opensuse-leap 16.0: Mesa-libGL-devel 24.1.7-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms