[cairo] cairo_paint() with GPU Buffer
abimathi08 at gmail.com
Tue Feb 5 06:16:13 UTC 2019
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
I'm using 1.14.12 Cairo version.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo