[cairo] cairo_paint() with GPU Buffer
Abimathi Natarajan
abimathi08 at gmail.com
Tue Feb 5 06:16:13 UTC 2019
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20190205/a347a8c9/attachment.html>
More information about the cairo
mailing list