[cairo] Cairo with OpenVG backend

Luca Barbato lu_zero at gentoo.org
Wed Mar 16 09:24:12 PDT 2011

On 3/2/11 7:56 PM, Guru Das wrote:
> Hi,
> I am new to the cairo and looking at using cairo with OpenVG/EGL as the
> backend, and integrate the same with a GPU supporting OpenVG.
> I have seen some posts mentioning that cairo supports OpenVG as the backend.
> I am using the latest cairo release 1.10.2 and found that cairo-vg-surface.c
> actually provides support for creating an EGL surface. However, I am unable
> to locate any code where OpenVG calls are being made to draw for e.g.
> vgImagesubData, vgReadPixels etc which would be needed in order to
> accelerate OpenVG calls.
> Can someone please point to the code that I should be looking at? Has
> someone already successfully tried cairo with OpenVG as the backend? if so
> any samples and pointers would be of great help.

I sent some patches to make cairo-vg build and run on mesa 
implementation and provide a small example for usage, you should be able 
to find them in the ml

If you have interest in improving the current code probably a good start 
might be fix the regression tests.


More information about the cairo mailing list