[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs as a desktop environment

From: Julien Danjou
Subject: Re: Emacs as a desktop environment
Date: Mon, 30 May 2011 10:34:48 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

On Sat, May 28 2011, David De La Harpe Golden wrote:

> AFAIUI the main thing really stalling wholesale movement to xcb and
> retirement of xlib in general is the absence of an xlib-free replacement for
> GLX. Right now, if an x11 app/toolkit/canvas ever wants to use accelerated
> opengl rendering (and "everyone" wants those fancy 3d effects these
> days...), it /must/ link to xlib (even if xlib itself is sitting on top of
> xcb) - see writeup here:
> http://xcb.freedesktop.org/opengl/
> (note as the link explains xcb-glx is not sufficient, it's only part of the
> puzzle).  Work on removing the xlib dependency for opengl apps seems to
> proceed in fits and starts, typically coincidental with GSoC projects...

This is less true :-) if you can rely on the Xlib version you'll use
being XCB-enabled.
Then you can use Xlib to connect to the display and call
XGetXCBConnection(3) to get the connection to the display in its XCB

This allows to fake the usage of Xlib while still doing real things with

I ported startup-notification to XCB (which does not uses OpenGL but
provides an Xlib API) this way last year.

Julien Danjou
❱ http://julien.danjou.info

Attachment: pgpL3CEnNiAzl.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]