Re: Xrender extension docs anywhere?

Owen Taylor <[email protected]>
Newsgroups gmane.comp.xfree86.forum
Message-ID <[email protected]>
On Tue, 2003-07-08 at 04:04, David Jeske wrote:
> I'm interested in knowing what extensions have tried to address
> improving the performance and visuals for drag operations, such as
> those commonly used by graphical file managers. 

Recent versions of Render support full color cursors with an 
alpha channel which it should be possible to use to these to draw many
drag icons.

I'm planning to do this for GTK+, though I haven't gotten around
to it.

The easiest way of using such cursors is through the Xcursor
library.

> (i.e. currently dragging a filemanager icon around is a heavyweight
> window which causes lots of expose events, can lag behind the cursor
> if the machine gets instantaneously busy, and isn't drawn perfectly at
> all times because of delays in the shape extension's filling in of the
> regions around the icon.)

I just did a lot of work this weekend in improving GTK+'s drag
icon handling over a remote display. It's the kind of thing where
the exact way you handle motion notify events, expose events, how
you get your position, etc, can make a lot of difference.

So, cursors aren't the only way of improving things here, but they
should help a lot in making the icon window smoothly track the
mouse.

> Some stuff I found implied that XRender might do something about this,
> or at least might help. However, all the links I can find to XRender
> are either dead, or lead to pages where all the links are dead. 
> 
> Can someone (Keith?) point me to an up-to-date site?

Basically all the relevant docs are in the X distribution 
 
 xc/doc/specs/Render
 xc/lib/Xcursor/Xcursor.man

Regards,
					Owen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.