[cairo] filters/image processing

MenTaLguY mental at rydia.net
Fri Sep 1 10:07:15 PDT 2006

On Thu, 2006-08-31 at 22:35 -0700, Keith Packard wrote:
> I'm not sure the pipeline stuff is what we want; GL and DirectX expose a
> programming language for fragment shaders of this nature. I'd say cairo
> should either adopt something that matches GLSL or stick with the
> existing predefined pipeline. Inbetween compromises aren't all that
> interesting; for programmable hardware, they only lose features.

Would it be an in-between compromise, though?  I mean, the idea here is
to provide a basic API with composable filter primitives, but that
doesn't preclude later adding the ability to write custom primitives for
it as fragment shaders (and, in an ideal world, compiling the entire
pipeline to a fragment shader behind the scenes).

Even once we provided an API for writing fragment shaders "by hand", I
suspect many people would still prefer composing primitives with the
pipeline API for building simple shaders (or building larger shaders by
composing hand-written ones).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060901/b28f20ad/attachment-0001.pgp

More information about the cairo mailing list