[cairo] Cairo + GTK animation - high Xorg load

David J. Herzfeld herzfeldd at gmail.com
Sat Oct 29 12:37:07 UTC 2016


On Oct 28 2016, at 4:45 pm, Chris Wilson <chris at chris-wilson.co.uk> wrote:  

> By keeping the previous frame in a pixmap, you keep the rasterisation from
the last pass and only need to rasterise the new content.

  

This is all starting to make a great deal more sense to me. Thanks for the all
of the helpful explanations everyone.

  

Perhaps one more question: given a cairo surface created via
cairo_surface_create_similar, is it possible to go though the X process of
rasterization without displaying? So that the process of cairo_paint() simply
hands off the already rasterized pixmap to X?

  

Perhaps this is the purpose of cairo_flush_surface()?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20161029/673815ef/attachment.html>


More information about the cairo mailing list