cairo_paint() with GPU Buffer
Abimathi Natarajan <[email protected]> Tue, 5 Feb 2019 11:46:13 +0530
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAPxWy4hYYPMsBWJPr1ub23q3PDuzGF7OxPoUzUR+3yy1X6qm7A@mail.gmail.com> |
Hi, I'm implementing a sample program with Weston to render video (decoded using ffmpeg VAAPI) frames using Cairo graphics. Each frame is of 4k size I'm passing GPU buffer directly to cairo_image_surface_create_for_data() to create a cairo_surface for each frame. When I render the buffer using cairo_paint() , the API is taking approximately 400 ms for each buffer. Can you suggest an alternative to render Hardware buffer directly using Cairo without much time consumption? I'm using Cairo with Weston (ias backend) in Ubuntu 16.04LTS , 4.13.45 kernel version. I'm using 1.14.12 Cairo version. Thanks. -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo