Stéphane Ducasse wrote:
Hi 

I discuss with an graphics expert and he asked me why we went to use cairo vs opengl
And I could not answer. 

Stef

  
Interesting question, so I went looking.  Found a few things...

[1] Slide 4 compares 3D Rendering vs 2D Path Rendering

[2] & [3] say of OpenVG ....
* includes glyph rendering for accelerated text, improved anti-aliasing
*  hardware acceleration on devices ranging from wrist watches to full microprocessor-based desktop
* Designed to accelerate existing formats (e.g. Flash, SVG, PDF, Postscript, Vector fonts, etc.)
* Cairo can use OpenVG as a backend

[4] says "Unlike OpenGL, which uses triangles to simulate lines, OpenVG uses the more efficient native vector-based rendering. OpenVG uses effects such as dithering and blending that enhances its curves with anti-aliasing. OpenVG can also implement complex effects such as Gaussian blur. Font rendering is similar to OpenGL, but instead of rendering a series of triangles for the font shape, OpenVG uses the curve information to draw the fonts"

cheers -ben

[1] http://es.slideshare.net/Mark_Kilgard/an-introduction-to-nvpathrendering
[2] http://stackoverflow.com/questions/5337466/should-we-use-opengl-for-2d-graphics
[3] http://www.khronos.org/openvg/
[4] http://www.freescale.com/files/dsp/doc/app_note/AN3975.pdf



Reply via email to