|
From: | Matteo Muratori |
Subject: | Re: [Gnash-dev] embedded graphics & Gnash |
Date: | Thu, 24 Jun 2010 16:10:06 +0200 |
User-agent: | Thunderbird 2.0.0.24 (Windows/20100228) |
Using cairo+OpenVG backend is quite inefficient for two main reasons:- all persistent objects of OpenVG (paths, paints, fonts, images, ...) are not used in the right way they have been thought for (i.e. reuse); for example cairo openvg backend creates / paints / destroy path every time they appear. OpenVG handles have been thought to be created once and used multiple times
- adding intermediate layers between application and rendering API could make the application slower than using the rendering API directly
This has been proved vividly by cairo people themself: http://people.freedesktop.org/~joonas/amanithvg-tiger-demo The famous postscript tiger example runs 2.5x faster on OpenVG (sw rasterization) respsect to cairo sw rendering backend.
Flash, due to its nature, is the nicest candidate to be accelerated by OpenVG.
[Prev in Thread] | Current Thread | [Next in Thread] |