<div dir="ltr">Thanks for the quick response Robert, Neil and Tomeu.<div><br></div><div style>I also have an ARM target to which i have ported webkit-clutter. I ran the conformity test inside cogl setup for verifying GLES2 (test-gles2-context). It ran fine. But am facing the same issue with webgl in webkit-clutter on both setups.</div>
<div style><br></div><div style>I have an Nvidia GPU on my x86 setup and a mali-gpu on the ARM setup. </div><div style><br></div><div style>Please let me know if there is anything else i can try.</div><div style><br></div>
<div style><b><u>@Tomeu:</u></b> In Webkit-clutter, do we need to change the gaurds here to accomodate backend=clutter<br></div><div style><br></div><div style><u>Source/WebCore/platform/graphics/clutter/GraphicsContext3DPrivate.h</u><br>
</div><div style><br></div><div style><div><font face="courier new, monospace">#if USE(OPENGL_ES_2) <i>// should we be checking backend==clutter also here ?</i></font></div><div><font face="courier new, monospace"> CoglGLES2Context *m_gl_context;</font></div>
<div><font face="courier new, monospace">#else</font></div><div><font face="courier new, monospace"> CoglContext *m_gl_context;</font></div><div><font face="courier new, monospace">#endif</font></div><div><br></div><div>
<br></div><div style><b><u>for webkit-clutter my config options are: </u></b></div><div style><i><font face="courier new, monospace">./configure --prefix=/home/user/install-webkit --enable-accelerated-compositing=yes --enable-webgl=yes --with-port=clutter --with-acceleration-backend=clutter --enable-animation-api=yes --with-target=x11</font></i></div>
<div style><br></div><div style><br></div><div style>--</div><div style>Mahesh</div><div style><br></div><div style><br></div><div style><br></div></div></div><div class="gmail_extra"><br clear="all"><div><br>- Mahesh</div>
<br><br><div class="gmail_quote">On Wed, Jan 30, 2013 at 10:01 PM, Tomeu Vizoso <span dir="ltr"><<a href="mailto:tomeu@tomeuvizoso.net" target="_blank">tomeu@tomeuvizoso.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">On 30 January 2013 16:03, Neil Roberts <span dir="ltr"><<a href="mailto:neil@linux.intel.com" target="_blank">neil@linux.intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Robert Bragg <<a href="mailto:robert@sixbynine.org" target="_blank">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>
</div>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></blockquote><div><br></div></div><div>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></div><div>Regards,<br><br>Tomeu <br></div></div></div></div>
</blockquote></div><br></div>