[cairo] Re: GL backend progress report

David Reveman c99drn at cs.umu.se
Fri Dec 5 10:22:13 PST 2003


On Fri, 2003-12-05 at 17:31, Jeff Kowalczyk wrote:
> I'm a bit out of my depth with this question but is the cairo GL backend
> expected to someday be functional without X? (or at least without X
> running)

It should be possible to write a DirectFBGL backend for libglc and a
cairo_fbgl_surface.c (which can share most code with
cairo_glx_surface.c) for cairo. A WGL backend for use in Windows
shouldn't be to hard to create if someone finds that useful.

> I do realize that vendor drivers may require X to even install, but I've
> been wondering what the current capabilities of rendering to offscreen
> video memory was these days, and whether cairo could support it on a
> server which did not have X.

Not today, as far as I know.

> Along the same lines as interest in the without-X PNG rendering backend,
> I'd very much like to someday use hardware accelerated OpenGL to do
> server-side rendering of SVG with complex gradients and shading effects.
> Complicated effects might only take a fraction of the time they do with
> software rendering.
> 
> Presuming some scheme to queue multiprocess access to a hardware device
> context, dumping an OpenGL memory buffer as JPG or PNG to the web server's
> output stream would be very appealing.

DirectFBGL with pbuffer support would allow for this.

-- 
David Reveman ( c99drn at cs.umu.se )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20031205/1a56e657/attachment.pgp


More information about the cairo mailing list