Thanks for the answer. I see the line you are referring to. I will make
some tests and keep you posted,

Grégoire

On Tue, 2008-12-23 at 15:45 +0530, Mustafizur wrote:
> Hi,
> 
> Check your gtk_clutter_embed_init().Check the value of priv->stage
> being assigned there.I had modified the code as per below in my code
> base. though i don't know the reason exactly.
> 
> As from your error message, it seems it is not allowing to create more
> than one stage, so try to see whether the code below solves your first
> problem.The CLUTTER_ACTOR problem might be related to this, so please
> let me know your result after the modification i suggested.
> 
>   //priv->stage = clutter_stage_new ();
>   priv->stage=clutter_stage_get_default();
> 
> I can't help you regarding the backend story/roadmap. I also faced lot
> of problem with clutter-eglx, and some of the problems you are facing
> seems familiar to me, so just trying to remember & help you as much as
> i can.
> 
> Regs,
> Rahaman
> 
> 
> 
> 
> -----Original Message-----
> From: Gregoire Gentil <[email protected]>
> Reply-To: [email protected]
> To: [email protected], clutter <[email protected]>
> Subject: Re: [clutter] Confused by eglx backend
> Date: Tue, 23 Dec 2008 01:37:25 -0800
> 
> On Tue, 2008-12-23 at 14:28 +0530, Mustafizur wrote:
> > Hi,
> > 
> > How are you using your clutter-eglx backend?
> [G2]. I'm developing on OMAP35xx (Beagleboard-like). I have the PowerVR
> OpenGL ES 2.0 from Imagination Technologies Ltd ('IMGTEC').
> 
> 
> >  Does your OpenGL library support eglx?
> [G2]. Yes.
> 
> 
> > What window is you are passing when you are creating your egl surface?
> > 
> > In your gtk_container_add(), what is the type of "c"?
> [G2]. http://pastebin.com/m479a3f1
> 
> thanks for your help,
> 
> Grégoire
> 
> 
> 
> > 
> > Regs,
> > Rahaman
> > 
> > 
> > 
> > -----Original Message-----
> > From: Gregoire Gentil <[email protected]>
> > Reply-To: [email protected]
> > To: clutter <[email protected]>
> > Subject: [clutter] Confused by eglx backend
> > Date: Tue, 23 Dec 2008 00:38:16 -0800
> > 
> > Hello,
> > 
> > I'm compiling clutter-0.8.4 with the following "--with-flavour=eglx
> > --with-gles=2.0". I'm also compiling clutter-gtk-0.8.2 with the
> > following "--with-flavour=x11 --with-gles=2.0"
> > 
> > My ultimate goal is to use something like:
> > 
> > gtk_clutter_init(&argc, &argv);
> > GtkWidget *clutter_widget = NULL;
> > clutter_widget = (GtkWidget *)gtk_clutter_embed_new();
> > gtk_container_add(GTK_CONTAINER(c), clutter_widget);
> > stage = (ClutterActor *)gtk_clutter_embed_get_stage(clutter_widget);
> > 
> > I get the following warning/errors:
> > Clutter-WARNING **: Unable to create a new stage: the eglx backend does
> > not support multiple stages.
> > Clutter-CRITICAL **: clutter_actor_realize: assertion 'CLUTTER_IS_ACTOR
> > (self)' failed
> > ClutterX11-CRITICAL **: clutter_x11_get_stage_visual: assertion
> > 'CLUTTER_IS_STAGE (stage)' failed
> > 
> > 
> > I'm obviously confused by what clutter can do with eglx backend and how
> > I should do it. Can anyone clarify to me at least the following points:
> > 
> > - Can I embbed cluter into gtk with the eglx backend?
> > - If yes, what am I doing wrong?
> > - If not, does it mean that clutter-eglx can only work in fullscreen on
> > top of everything? How does it work?
> > 
> > I would definitely appreciate some clarifications or some pointers
> > explaining the backend story and roadmap.
> > 
> > Many thanks in advance,
> > 
> > Grégoire
> > 
> > 
> 

-- 
To unsubscribe send a mail to [email protected]

Reply via email to