<div dir="ltr">I am using Cogl-1.12, Clutter-1.12</div><div class="gmail_extra"><br clear="all"><div><br>- Mahesh</div>
<br><br><div class="gmail_quote">On Thu, Jan 31, 2013 at 8:14 PM, Robert Bragg <span dir="ltr"><<a href="mailto:robert@sixbynine.org" target="_blank">robert@sixbynine.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
oops sorry, I forgot to reply-all to the list too...<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
---------- Forwarded message ----------<br>
From: Robert Bragg <<a href="mailto:robert@sixbynine.org">robert@sixbynine.org</a>><br>
Date: Thu, Jan 31, 2013 at 2:42 PM<br>
Subject: Re: [Cogl] failure using cogl-gles2<br>
To: mahesh gawali <<a href="mailto:maheshgawali@gmail.com">maheshgawali@gmail.com</a>><br>
<br>
<br>
I wonder if you are running with the latest Cogl (using the cogl-1.14<br>
branch) and Clutter (master)? I think if you are at least using the<br>
latest 1.12 release of Cogl you should have the latest fixes for cogl<br>
gles2 context issues we've seen.<br>
<br>
If you haven't already built Cogl with --enable-debug that might help<br>
to since it will enable Cogl to catch GL errors at source.<br>
<br>
kind regards,<br>
- Robert<br>
<br>
On Thu, Jan 31, 2013 at 1:59 PM, mahesh gawali <<a href="mailto:maheshgawali@gmail.com">maheshgawali@gmail.com</a>> wrote:<br>
> Thanks for the quick response Robert, Neil and Tomeu.<br>
><br>
> I also have an ARM target to which i have ported webkit-clutter. I ran the<br>
> conformity test inside cogl setup for verifying GLES2 (test-gles2-context).<br>
> It ran fine. But am facing the same issue with webgl in webkit-clutter on<br>
> both setups.<br>
><br>
> I have an Nvidia GPU on my x86 setup and a mali-gpu on the ARM setup.<br>
><br>
> Please let me know if there is anything else i can try.<br>
><br>
> @Tomeu: In Webkit-clutter, do we need to change the gaurds here to<br>
> accomodate backend=clutter<br>
><br>
> Source/WebCore/platform/graphics/clutter/GraphicsContext3DPrivate.h<br>
><br>
> #if USE(OPENGL_ES_2) // should we be checking backend==clutter also here ?<br>
> CoglGLES2Context *m_gl_context;<br>
> #else<br>
> CoglContext *m_gl_context;<br>
> #endif<br>
><br>
><br>
> for webkit-clutter my config options are:<br>
> ./configure --prefix=/home/user/install-webkit<br>
> --enable-accelerated-compositing=yes --enable-webgl=yes --with-port=clutter<br>
> --with-acceleration-backend=clutter --enable-animation-api=yes<br>
> --with-target=x11<br>
><br>
><br>
> --<br>
> Mahesh<br>
><br>
><br>
><br>
><br>
><br>
> - Mahesh<br>
><br>
><br>
> On Wed, Jan 30, 2013 at 10:01 PM, Tomeu Vizoso <<a href="mailto:tomeu@tomeuvizoso.net">tomeu@tomeuvizoso.net</a>><br>
> wrote:<br>
>><br>
>> On 30 January 2013 16:03, Neil Roberts <<a href="mailto:neil@linux.intel.com">neil@linux.intel.com</a>> wrote:<br>
>>><br>
>>> Robert Bragg <<a href="mailto:robert@sixbynine.org">robert@sixbynine.org</a>> writes:<br>
>>><br>
>>> > In the case of webkit-clutter since the CoglGLES2Context api is<br>
>>> > currently documented to only work with the gles2 driver then<br>
>>> > webkit-clutter should probably be trying to explicitly create a<br>
>>> > context with a native gles2 driver.<br>
>>><br>
>>> There is also a constraint for creating GLES2 contexts which<br>
>>> webkit-clutter could use called<br>
>>> COGL_RENDERER_CONSTRAINT_SUPPORTS_COGL_GLES2. It would be nicer if it<br>
>>> used that so it would automatically switch to using the GL driver if<br>
>>> Cogl was eventually able to support GLES2 contexts there.<br>
>><br>
>><br>
>> Filed it here, patches welcome :)<br>
>><br>
>> <a href="https://webkit-clutter.collabora.co.uk/ticket/76" target="_blank">https://webkit-clutter.collabora.co.uk/ticket/76</a><br>
>><br>
>> Regards,<br>
>><br>
>> Tomeu<br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Cogl mailing list<br>
<a href="mailto:Cogl@lists.freedesktop.org">Cogl@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/cogl" target="_blank">http://lists.freedesktop.org/mailman/listinfo/cogl</a><br>
</div></div></blockquote></div><br></div>