[Spice-devel] [PATCH 00/30] Convert cairo canvas to use pixman
Izik Eidus
ieidus at redhat.com
Sat Feb 20 00:51:27 PST 2010
On Thu, 18 Feb 2010 21:58:26 +0100
Alexander Larsson <alexl at redhat.com> wrote:
> This series converts the software based canvas "cairo_canvas" to use
> pixman for rendering instead of cairo. It uses the upstream pixman
> (the latest version, 0.7.16 is needed) thus dropping the dependencies
> on qcairo and qpixman (and additionally cairo is not linked into the
> server at all).
>
> After the whole series is applied its possible to build spice with
> upstream cairo and pixman 0.7.16. However, if you want to compile and
> run intermediate steps (for instance when bisecting) you need to do
> some extra work:
>
> Apply this patch to pixman 0.7.16:
> http://people.gnome.org/~alexl/pixman-rops.patch
>
> Apply this patch to qcairo to use the patchef pixman from above
> instead of qpixman:
> http://people.gnome.org/~alexl/qcairo-noqpixman.patch
>
> There are a few features missing from this implementation:
>
> * Wide paths are not supported (including joins and caps)
> This is not a problem because no driver generates them atm
>
> * Clip paths (i.e. not rect-lists) are not supported
> The win32 driver can theoretically produce these, but i've never
> seen it do so. We should remove that from the win32 driver.
>
> * Bezier paths are not yet working
> This just needs some work to subdivide them, but i'm not sure we
> actually want to send beziers. It would probably be better to
> subdivide them in the driver so that we get the same subdivision
> as GDI does, if some paths use software fallback and some not.
>
> In addition to the pixman facilities (compositing, regions, blending,
> scaling, etc) this code adds a bunch of helpers for doing raster
> operations (ROPs), tiling, etc.
>
> Also, the line drawing is done using the X11 (mi) line rasterizer
> which has been imported and converted for our use.
>
Hi, before we commit this, another thing we should do is get pixman dll
for windows, without this the whole windows build will be broken.
Soren any experience in building pixman on windows?
Thanks.
More information about the Spice-devel
mailing list