[cairo] acceleration

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 2 04:16:33 PDT 2012


On Tue, 2 Oct 2012 15:35:38 +1000 (EST), "Patrick Shirkey" <pshirkey at boosthardware.com> wrote:
> Hi,
> 
> Is there a simple test to know if cairo is using acceleration or is it
> just a matter of running a desktop with glx?

Cairo dodges the complicated question of how to setup the rendering
pipeline leaving that to the application/toolkit. So in order for cairo
to use GL, the application must create a set of output Windows
compatible with GL and pass those and the context to cairo to use. The
degree of acceleration then depends upon the quality of the driver and
the style of rendering. In short, do not expect to switching to cairo-gl
to be an easy task to get fast rendering.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list