[cairo] glitz

David Reveman davidr at novell.com
Mon Dec 18 06:34:38 PST 2006

On Sat, 2006-12-16 at 14:19 +0000, Ignas B. wrote:
> Hello,
> is there a way of tweaking OpenGL parameters with glitz. Like turning
> on/off the depth testing or lights and so on.
> If there is a way, could you give an example. Basically, i just need
> to know how to implement  
> glEnable(SOME_PROPERTY) in glitz.

No, glitz requires full control over each context it uses for rendering.
If you would be able to modify the context state that would make it very
unreliable. If you need to do your own GL rendering, then create your
own context. By using the glitz_context_t related functions for this you
can do it in window-system independent way and glitz_surfaces_t used for
glitz/cairo rendering can the also be used as textures.


More information about the cairo mailing list