[Xcb] Region

Jamey Sharp jamey at minilop.net
Tue May 31 13:01:02 PDT 2005


On Tue, 2005-05-31 at 20:51 +0200, Vincent Torri wrote:
> Hello,

Hi Vincent!

> did anybody make (begin) the Region stuff of Xlib in xcb ?

That stuff is almost completely independent of the rest of Xlib. There's
an independent implementation in libpixman, which is in Cairo CVS. The
one real link is with the SetClipRectangles request, as I recall, where
Xlib's region code provided a convenience function to generate the
request using rectangles from a region object. I think that should be
easy to re-implement on XCB and libpixman.

I don't know if the semantics have drifted: does libpixman's region code
have subpixel precision now or something? Carl and Keith should know,
and both are on this list: maybe one will chime in here.

Unfortunately the Cairo folks merged the software implementation of
Render together with the region code into one library, so libpixman
still isn't a minimal region implementation. On the other hand, I
suppose people who want ecore also want Cairo, so they should have
libpixman installed anyway. :-)

--Jamey



More information about the xcb mailing list