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"><<a href="mailto:jose.r.fonseca@gmail.com">jose.r.fonseca@gmail.com</a>></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 <<a href="mailto:jose.r.fonseca@gmail.com">jose.r.fonseca@gmail.com</a>> wrote:<br>
> And this *should* work for EGL:<br>
><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>
> But by some reason chrome on my system refuses to use EGL, and always<br>
> uses GL, so it doesn't. But that's a chrome issue, and not apitrace'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>