GLXQUERYEXTENSION(3gl)
β¨ glXQueryExtension β¨
okay bestie, welcome to section 3G of the manual β this is glXQueryExtension, and it's literally just one tiny question: does your X server speak GLX or not? π¦
π NAME π
glXQueryExtension β indicate whether the GLX extension is supported
fr fr, that's the whole job. one question, one answer, no drama. πΈ
π C SPECIFICATION π
Bool glXQueryExtension( Display *dpy,
int *errorBase,
int *eventBase )
delim $$
yes, delim $$ is in there too, we keep it exactly as it is, no cap. π
π PARAMETERS π
dpyβ Specifies the connection to the X server. this is your lil link to the server, the group chat you're sliding into. πerrorBaseβ Returns the base error code of the GLX server extension. it hands you back where GLX's error codes start.eventBaseβ Returns the base event code of the GLX server extension. same energy, but for events.
π DESCRIPTION π
so glXQueryExtension returns True if the X server of connection dpy supports the GLX extension, and False otherwise. that's it. that's the vibe check. π₯
if True is returned, then errorBase and eventBase return the error base and event base of the GLX extension. so you get the receipts. π§Ύβ¨
otherwise β like, if it's False β errorBase and eventBase are unchanged. not zeroed, not cleared, just... left alone. untouched. icon behavior honestly. π
also! errorBase and eventBase do not return values if they are specified as NULL. so if you pass NULL, nothing comes back, because there's nowhere for it to go. makes sense, periodt. π
π NOTES π
eventBase is included for future extensions. GLX does not currently define any events.
so yeah, eventBase is lowkey the friend who came along just in case β they're here for what's coming later, not for right now. π«Ά
π SEE ALSO π
glXQueryVersion
and that's the whole page bestie, you ate it. π
the footer of this lil manual page is just GLXQUERYEXTENSION(), all caps, no date, no version, just the name staring back at you like main character energy. slay. πβ¨
π¦ 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