XCB_GLX_GET_COLOR_TABLE_PARAMETERFV_DATA(3)
π xcb_glx_get_color_table_parameterfv β the vibe
ok so bestie, welcome to xcb_glx_get_color_table_parameterfv, a little number from the XCB Requests corner of the universe. No cap, the actual name is long enough to need its own zip code, but we're gonna get through it together. π«Ά
β¨ NAME β¨
xcb_glx_get_color_table_parameterfv β bestie it literally has no one-line description in the original, the NAME section is just... the name. Iconic behaviour honestly. π
πΈ SYNOPSIS πΈ
First things first, you gotta include the header, always:
#include <xcb/glx.h>
π Request function π
Here's your main character function, the one you actually call:
xcb_glx_get_color_table_parameterfv_cookie_t
xcb_glx_get_color_table_parameterfv(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t target,
uint32_t pname);
π¦ Reply datastructure π¦
This is the struct the server sends back at you, look at all these little fields:
typedef struct xcb_glx_get_color_table_parameterfv_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[4];
uint32_t n;
xcb_glx_float32_t datum;
uint8_t pad2[12];
} xcb_glx_get_color_table_parameterfv_reply_t;
π Reply function π
And this is how you go get that reply, given the cookie:
xcb_glx_get_color_table_parameterfv_reply_t
*xcb_glx_get_color_table_parameterfv_reply(xcb_connection_t *conn,
xcb_glx_get_color_table_parameterfv_cookie_t cookie,
xcb_generic_error_t **e);
β¨ Reply accessors β¨
Three lil helpers to peek inside the reply, they ate fr:
xcb_glx_float32_t *xcb_glx_get_color_table_parameterfv_data(const
xcb_glx_get_color_table_parameterfv_request_t *reply);
int xcb_glx_get_color_table_parameterfv_data_length(const
xcb_glx_get_color_table_parameterfv_reply_t *reply);
xcb_generic_iterator_t
xcb_glx_get_color_table_parameterfv_data_end(const
xcb_glx_get_color_table_parameterfv_reply_t *reply);
π REQUEST ARGUMENTS π
Everything you gotta hand over when you make the call:
connβ the XCB connection to X11. Your link to the server, your little phone line to the mothership. πcontext_tagβ TODO: NOT YET DOCUMENTED. Yeah bestie, the docs said "we'll get to it" and then simply did not. Not me pointing that out. πtargetβ TODO: NOT YET DOCUMENTED. Same situation, no notes, we just don't know.pnameβ TODO: NOT YET DOCUMENTED. Also a mystery, and I refuse to make something up because that would be lying and we don't do that here.
π«Ά Friendly reminder: those three are literally marked TODO in the source. I'm not gatekeeping anything from you β that's genuinely all there is.
π REPLY FIELDS π
Here's what comes back in the reply, field by field:
response_typeβ the type of this reply, and in this case it'sXCB_GLX_GET_COLOR_TABLE_PARAMETERFV. This field also shows up in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other when they're all vibing in the same queue.sequenceβ the sequence number of the last request the X11 server processed. It's like a little timestamp of progress, so you always know where you're at.lengthβ the length of the reply, in words. And heads up, a word is 4 bytes, so don't go measuring in regular words like a civilian. πnβ TODO: NOT YET DOCUMENTED. We're all in the dark together on this one, bestie.datumβ TODO: NOT YET DOCUMENTED. Yeah. That's it. That's the whole description.
β DESCRIPTION β
Nothing here. The section exists, it's just empty. We love a mysterious queen with no backstory. π
π₯ RETURN VALUE π₯
You get back an xcb_glx_get_color_table_parameterfv_cookie_t. Yes, a cookie. πͺ Errors? You gotta deal with those when you call the reply function, xcb_glx_get_color_table_parameterfv_reply.
If you'd rather catch your errors in the event loop instead β very valid, very main character β then use xcb_glx_get_color_table_parameterfv_unchecked. Want the full rundown? Go read xcb-requests(3), it explains everything.
π ERRORS π
This request does never generate any errors. Zero. Zilch. It's giving peaceful. ποΈ
π§ SEE ALSO π§
Nothing listed here. An empty SEE ALSO. It's a mood, honestly.
πΈ AUTHOR πΈ
Generated from glx.xml. If you spot something wrong and wanna help make it better, hit up xcb@lists.freedesktop.org for corrections and improvements. They're lovely, they take feedback. π
and that's the whole page, bestie!! π you read all of it, which is lowkey iconic of you. this was X Version 11, libxcb 1.17.0 energy from start to finish, and the title up top β xcb_glx_get_c...le_parameterfv(3), yes it's truncated like that, the man page really did that β is now officially your friend. go forth and query your color table parameters. slay. π
β¨π¦
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms