<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 26, 2016 at 4:01 PM, Rob Clark <span dir="ltr"><<a href="mailto:robdclark@gmail.com" target="_blank">robdclark@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Jan 22, 2016 at 6:35 PM, José Fonseca <<a href="mailto:jose.r.fonseca@gmail.com">jose.r.fonseca@gmail.com</a>> wrote:<br>
> Rob,<br>
><br>
> Change looks good in principled, but it required a bit more tweaking.<br>
><br>
> See <a href="https://github.com/apitrace/apitrace/commits/call-no-markers" rel="noreferrer" target="_blank">https://github.com/apitrace/apitrace/commits/call-no-markers</a>  . Give it<br>
> a go and let me know if it still works for you.<br>
<br>
</span>oh, sorry for the delayed response.. I overlooked your reply..<br>
<br>
thanks for the cleanups and pushing this<br>
<span class=""><br>
> Note in particular:<br>
> - you need to pass --marker command line option to glretrace<br>
> - Mesa refused markers between glBegin/End.  Could you check if this is a<br>
> bug in Mesa or the right behavior?<br>
<br>
</span>hmm, I think there are supposed to be some restrictions between glBegin/glEnd..<br>
<br>
<a href="https://www.opengl.org/sdk/docs/man2/xhtml/glBegin.xml" rel="noreferrer" target="_blank">https://www.opengl.org/sdk/docs/man2/xhtml/glBegin.xml</a><br>
<br>
says: "GL_INVALID_OPERATION is generated if a command other than<br>
glVertex, ... is executed between the execution of glBegin and the<br>
corresponding execution glEnd."..  I'm not really a spec wiz, but I<br>
assume that still applies as other extensions add entry points.<br>
<br>
BR,<br>
-R</blockquote><div><br></div><div>I see. I hadn't noticed that by default everything is forbidden inside glBegin/glEnd unless explicitly mentioned.  Makes sense then.</div><div><br></div><div>Anyway, glretrace avoids that now.</div><div><br></div><div>Jose  </div></div></div></div>