Hi,

On Wed, 2008-09-10 at 16:27 +0300, Karoliina Salminen wrote: 
> I have had some issues with clipping in a clutter app - the
> clutter_actor_set_clip does not work. This works on my laptop
> perfectly (it is nVidia, which has no problems as usual) but not with
> one another hw (using the gl-es backend), clipping has no effect (and
> the chip is supposed to support clipping and it is supposed to work in
> the driver).

> So, how clutter is doing the clipping on the OpenGL Es level?

In 0.8, clipping is implemented either by using the clipping planes or
the stencil buffer. If you have a parent actor with a clip set and then
also clip the children it will use the clipping planes for the first
clip and then the stencil buffer for the inner clips. In 0.6 it always
uses the stencil buffer and only supports a single level of clipping.

On some GL ES implementations (such as MBX) there is no stencil buffer
so you can only have one level of clipping (or in 0.6 it won't work at
all).

Could that be the problem? You can check if you have a stencil buffer by
running a clutter app with --clutter-debug=backend and checking if any
EGLConfigs say S:8 

- Neil

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to