ha ok. So are the changes in master now??<div><br></div><div><br>reg,</div><div>Kalyan</div><div><br><div class="gmail_quote">On Fri, Jan 13, 2012 at 1:37 PM, José Fonseca <span dir="ltr">&lt;<a href="mailto:jose.r.fonseca@gmail.com">jose.r.fonseca@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, Jan 12, 2012 at 10:56 AM, José Fonseca &lt;<a href="mailto:jose.r.fonseca@gmail.com">jose.r.fonseca@gmail.com</a>&gt; wrote:<br>

&gt; And this *should* work for EGL:<br>
&gt;<br>
&gt; $ ./apitrace trace  --api egl chromium --temp-profile --user-gl=egl<br>
&gt; --ignore-gpu-blacklist<br>
&gt; <a href="http://webglsamples.googlecode.com/hg/field/field.html" target="_blank">http://webglsamples.googlecode.com/hg/field/field.html</a><br>
&gt;<br>
&gt; But by some reason chrome on my system refuses to use EGL, and always<br>
&gt; uses GL, so it doesn&#39;t. But that&#39;s a chrome issue, and not apitrace&#39;s.<br>
<br>
</div>I found why EGL was not working -- it should be --use-gl=egl and not<br>
--user-gl=egl...<br>
<br>
If one does<br>
<div class="im"><br>
  $ ./apitrace trace  --api egl chromium --temp-profile --user-gl=egl<br>
--ignore-gpu-blacklist<br>
<a href="http://webglsamples.googlecode.com/hg/field/field.html" target="_blank">http://webglsamples.googlecode.com/hg/field/field.html</a><br>
<br>
</div>Chrome will use EGL. However there was a bunch of issues in apitrace:<br>
- there was no support for intercepting dlopen(libEGL) and friends<br>
- there was no support for retracing EGL pbuffers<br>
<br>
Everything is now fixed, so all should work fine.<br>
<br>
Jose<br>
</blockquote></div><br></div>