[cairo] Cairo backend which utilizes GPU

kammal kamalneet at gmail.com
Wed Jul 2 17:59:18 PDT 2008


On Wed, Jul 2, 2008 at 12:04 PM, KwangYul Seo <kwangyul.seo at gmail.com>
wrote:

> Hi,
>
> I want to use cairo in embedded systems with OpenGL ES support. I know
> currently there are two cairo backends which uses GPU for graphics
> acceleration.
>
> 1) Glitz (OpenGL backend)
> 2) OpenVG (which is usually implemented in OpenGL)
>
> Can I use Glitz for this purpose? I am a bit worried because glitz seems to
> be out of date now. What is the minimum requirements of OpenGL to use glitz?
> Does it need specific GL extensions?


We found it difficult to port glitz to OpenGL ES 1.1. It is dependent on
some functions e.g. glMapBuffer, which are not present in OpenGL ES. The
code is not so simple, perhaps because it has to work with the diversity of
GL implementations on desktop. That is an amazing feat, but perhaps not the
best solution for embedded...
I don't remember exactly, but it should need either FBO, or pbuffers with
bind-to-texture support (otherwise rendering trapezoids should be very
slow). Don't know how well it works with egl's pbuffers..

OpenVG is a very good choice, *if* we have hardware+drivers that run OpenVG
fast. And having a full OpenVG on top of OpenGL ES 1.1 is not very
interesting.


> What is the current status of OpenVG backend? Is it an officially supported
> backend? I found AmanithVG implements OpenVG with OpenGL ES 1.1 and 2.0.


>
> Are there other options to use cairo in embedded systems with accleration?


If you use X, you can add Render acceleration in xserver, and just use the
xrender backend.

~kammal

>
>
> Regards,
> Kwang Yul Seo
>
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080703/81a399e7/attachment.html 


More information about the cairo mailing list