Linked by Kroc Camen on Mon 24th Aug 2009 13:09 UTC
Podcasts

Linux user Tess Flynn joins us to follow up on the feedback from last week's episode about Xorg.

Download .mp3 | Subscribe in iTunes | Subscribe RSS

Thread beginning with comment 380506
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Comment by ideasman42
by ideasman42 on Tue 25th Aug 2009 11:45 UTC in reply to "RE: Comment by ideasman42"
ideasman42
Member since:
2007-07-20

Thanks for looking into this,
For Blender3D we use X11 directly but only to setup the OpenGL context, pass on events & copy/paste, there are about ~2000 lines of xlib code in total.
We also have some crazy guys that still support Irix (and solaris but at least thats not EOL'd yet), not sure if this is supported without static linking, would need to look into that too.

While using Xlib is a total PITA to work with, its rare that it needs updating so theres not much incentive to switch.

The only thing that would make me interested in doing this, is if it was faster or somehow gave a better user experience.

Reply Parent Score: 1

RE[3]: Comment by ideasman42
by jabjoe on Tue 25th Aug 2009 15:05 in reply to "RE[2]: Comment by ideasman42"
jabjoe Member since:
2009-05-06

After reading:

http://xcb.freedesktop.org/opengl/

It does sound like there isn't much point for you. Bar the nicer API. Maybe I'm missing some win about XCB events, but I'm not seeing it.

Reply Parent Score: 1

RE[4]: Comment by ideasman42
by siride on Tue 25th Aug 2009 15:37 in reply to "RE[3]: Comment by ideasman42"
siride Member since:
2006-01-02

The point of XCB is that it doesn't do all sorts of behind-the-scenes caching and round-tripping that Xlib does. It gives you something that is a bit more on the raw side as far as accessing the underlying protocol. This can be used to reduce latency and unnecessary round-trips. The API isn't needlessly complex and it is not intended to be a application-writer's API. Rather, it is intended to be used by toolkits and other mid-level libraries and frameworks which will then present a nice API to application developers.

Reply Parent Score: 2