Re: [clutter] implement clipping instead of using stencil buffer

2009-09-01 Thread Neil Roberts
On Tue, 2009-09-01 at 01:01 +, jiangwei zhou wrote: we know that at present the clutter's clipping is implemented in clip plane/stencil buffer/Scissor. using stencil buffer, we can implement arbitrarily ploygonous clipping. it is one very common way to do the clipping in

Re: [clutter] Manual spinning of the main loop.

2009-09-01 Thread Neil Roberts
On Mon, 2009-08-31 at 02:36 +0400, Samium Gromoff wrote: Good day folks, Are there plans to extend the API with main loop single-stepping, similar in style to gtk_main_iteration_do()? The need for that stems from desire to use Clutter as a backend for a higher-level UI substrate[1]. I

Re: [clutter] implement clipping instead of using stencil buffer

2009-09-01 Thread JiangWei Zhou
On Tue, Sep 1, 2009 at 8:22 PM, Robert Bragg b...@o-hand.com wrote: On Tue, 2009-09-01 at 12:18 +0100, Neil Roberts wrote: On Tue, 2009-09-01 at 01:01 +, jiangwei zhou wrote: we know that at present the clutter's clipping is implemented in clip plane/stencil buffer/Scissor.

[clutter] Clutter on ARM without X

2009-09-01 Thread Ian Walberg
Folks, Should clutter run on the beagleboard without X? I tried yesterday on a console only image and after installing what I believe to be the required libs I still get this. Gles1test and gles2test work ok. Thanks Ian (./main:1946): ClutterEGL-CRITICAL **: eglGetConfigs failed

Re: [clutter] implement clipping instead of using stencil buffer

2009-09-01 Thread JiangWei Zhou
hi, Neil, i once tried clip plane,but i cannot see the correct result, maybe because of my wrong understanding . because we build our clutter based on gles2.0. in gles2.0, glClipPlane is not supported yet. so i first consider to use user-clip-plane to emulate the glClipPlane. the following is

Re: [clutter] implement clipping instead of using stencil buffer

2009-09-01 Thread Emmanuele Bassi
On Tue, 2009-09-01 at 18:14 +0100, Neil Roberts wrote: It might also be worth looking in to ways of avoiding clipping altogether in your application if at all possible. The only thing in Clutter core that I can think of that requires clipping would be an editable ClutterText. It is possible

Re: [clutter] implement clipping instead of using stencil buffer

2009-09-01 Thread Neil Roberts
On Tue, 2009-09-01 at 18:22 +0100, Emmanuele Bassi wrote: On Tue, 2009-09-01 at 18:14 +0100, Neil Roberts wrote: It might also be worth looking in to ways of avoiding clipping altogether in your application if at all possible. The only thing in Clutter core that I can think of that

Re: [clutter] implement clipping instead of using stencil buffer

2009-09-01 Thread Emmanuele Bassi
On Tue, 2009-09-01 at 18:34 +0100, Neil Roberts wrote: not only simpler: it would also clip each editable Text to the entire leftmost (or rightmost, for RTL locales) glyph, instead of showing only parts of glyphs. also, it could only show entire lines and columns for a scrollable

[clutter] rectangles and text

2009-09-01 Thread Peter Keller
Hello, My name is Peter Keller and I'm very new to clutter and have a question about how to implement something. (I've started initially learning clutter 1.0). I would like to have a rectangle, possibly with a texture on it and subject to lighting effects, that I could scale, rotate, translate

Re: [clutter] Clutter on ARM without X

2009-09-01 Thread Amit Pundir
On Tue, Sep 1, 2009 at 9:09 PM, Ian Walbergian.walb...@airborne.aero wrote: Folks, Should clutter run on the beagleboard without X? I once ran clutter on OMAP3 with DirectFB backend using eglnative flavor. Regards, Amit Pundir I tried yesterday on a console only image and after installing