Looking for some advices

Alexandre Bique <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAP737o+zGXVJLmunpg5fedxnr5HR6K9nOSuqeRp8v1CapAQSqA@mail.gmail.com>
Hi,

I'm using cairo on Linux to render to screen.

First I'd like to know the pros/cons of cairo's backends (xlib, xcb, gl).

Then I would also like to know how to avoid flickering? Right now I'm doing:

  cairo_push_group(cairo_);
  // drawing operations here, including calls to cairo_clip()
  cairo_pop_group_to_source(cairo_);
  cairo_paint(cairo_);
  cairo_surface_flush(cairo_get_target(cairo_));

But I found that it is slow to render. What should I do there?

Thanks a lot!
-- 
Alexandre Bique
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
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.