[cairo] cairo_paint() with GPU Buffer

Behdad Esfahbod behdad at behdad.org
Tue Feb 5 15:33:27 UTC 2019


After you setting operator to SOURCE?

On Mon, Feb 4, 2019, 10:17 PM Abimathi Natarajan <abimathi08 at gmail.com>
wrote:

> 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
> cairo at cairographics.org
> https://lists.cairographics.org/mailman/listinfo/cairo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20190205/694809ea/attachment.html>


More information about the cairo mailing list