Re: cairo_paint() with GPU Buffer

Behdad Esfahbod <[email protected]> Tue, 5 Feb 2019 07:33:27 -0800
Newsgroups gmane.comp.lib.cairo
Message-ID <CAF63+7Wiaj__ihpBgpdDyzi8+bF6rWTV_BvKvRSd6gvRANkSzQ@mail.gmail.com>
After you setting operator to SOURCE?

On Mon, Feb 4, 2019, 10:17 PM Abimathi Natarajan <[email protected]>
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
> [email protected]
> https://lists.cairographics.org/mailman/listinfo/cairo

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo