Re: Which X11 backend to use?
"Bernhard R. Fischer" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <2714776.NKkxGCjjRb@kerdohl> |
On Monday 27 October 2014 12:54:40 Alexandre Bique wrote: > On Mon, Oct 27, 2014 at 12:30 PM, Bernhard R. Fischer > > <[email protected]> wrote: > > Hi! > > Hi Bernhard, > > > I'd like to use libcairo for animated 2d graphics output in an X11 window. > > I'm not very familiar with X11 programming yet. > > There are 3 different types of X11 surfaces: Xlib, Xlib-Xrender, and XCB. > > > > Which one should I use? > > I'd advice to use cairo-xlib. As I understand, it is the most backward > compatible backend, if you intend to support pre-cairo-xcb > distributions. Also it checks if xrender is present and uses xrender. > And this backend is well tested. > > If xcb is present on your target, you can give a try to xcb. > > Cheers, Ok, thanks a lot. Regards, Bernhard -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo
signature.asc
(application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABAgAGBQJUTleMAAoJEB2of8NcX/1HC1QH/0uiY3epoJrozxZrOujaa/ll 4iPjWbiSLaybzkrnzboFKizuB+Mf76n6GoOkFQFKUx/+W4I9aCdfyDzFWKb/R8gf BdHvcLahgE1OMlIUapCFV6owMVK0UW16+iVivwinRQcY8GLzaLqAmp51zkcejPUQ C7SmGzVdljVZ8pLUZotqV27iDFlNiddStoG/ImZVihL+ANO1iIY9yVuY8LjcydtD B7yBkvvi366Hr3IIZ3viW3RE74J+gtdGtjcDqIBBaID6TJwt1u+SHN79dTebmtIn qT4p97Xv00yuujIEkzrO4myY+7+41MQEBD6nJX/PFzBIFmFqFW35eGlH04ElbGM= =Xinv -----END PGP SIGNATURE-----