[PATCH] retrace: use KHR_debug to emit call no's

José Fonseca jose.r.fonseca at gmail.com
Tue Jan 26 08:16:27 PST 2016


On Tue, Jan 26, 2016 at 4:01 PM, Rob Clark <robdclark at gmail.com> wrote:

> On Fri, Jan 22, 2016 at 6:35 PM, José Fonseca <jose.r.fonseca at gmail.com>
> wrote:
> > Rob,
> >
> > Change looks good in principled, but it required a bit more tweaking.
> >
> > See https://github.com/apitrace/apitrace/commits/call-no-markers  .
> Give it
> > a go and let me know if it still works for you.
>
> oh, sorry for the delayed response.. I overlooked your reply..
>
> thanks for the cleanups and pushing this
>
> > Note in particular:
> > - you need to pass --marker command line option to glretrace
> > - Mesa refused markers between glBegin/End.  Could you check if this is a
> > bug in Mesa or the right behavior?
>
> hmm, I think there are supposed to be some restrictions between
> glBegin/glEnd..
>
> https://www.opengl.org/sdk/docs/man2/xhtml/glBegin.xml
>
> says: "GL_INVALID_OPERATION is generated if a command other than
> glVertex, ... is executed between the execution of glBegin and the
> corresponding execution glEnd."..  I'm not really a spec wiz, but I
> assume that still applies as other extensions add entry points.
>
> BR,
> -R


I see. I hadn't noticed that by default everything is forbidden inside
glBegin/glEnd unless explicitly mentioned.  Makes sense then.

Anyway, glretrace avoids that now.

Jose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20160126/fe698077/attachment.html>


More information about the apitrace mailing list