<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 28, 2015 at 2:32 PM, Divick Kishore <span dir="ltr"><<a href="mailto:divick.kishore@gmail.com" target="_blank">divick.kishore@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
    it isn't clear from the docs that the thumbnail generated by<br>
apitrace is after the selected call in qapitrace or before the call<br>
completion?<br></blockquote><div><br></div><div>After.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
There is another issue that I have w.r.t. the thumbnails generated by<br>
qapitrace at certain call points. I have the following set of calls<br>
show in qapitrace:<br>
<br>
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)<br>
glGetIntegerv(GL_CURRENT_PROGRAM)<br>
<br>
When I generate the thumbnail at the call to glClear, the "Surfaces"<br>
tab shows some output in GL_TEXTURE0, and framebuffers description<br>
show "GL_COLOR_ATTACHMENT0" but when I generate the thumbnail at the<br>
glGetIntegerv call it shows a blank texture (white) and framebuffers<br>
is GL_BACK and is completely black.<br>
<br>
What I don't understand is that how come the framebuffer description<br>
has changed from a bound FBO to a default BACK buffer even without any<br>
call to glBindFramebuffer call? This just doesn't seem right to me.<br>
<br>
I would appreciate any help.<br>
Thanks,<br>
Divick<br></blockquote><div><br></div><div>I don't know the answer offhand.</div><div><br></div><div>Maybe your GL driver is giving bogus values to glGetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING/GL_FRAMEBUFFER_BINDING), as glretrace relies on it to know if a FBO is or not bound.  Maybe there is some bug in apitrace. </div><div><br></div><div>Please provide the actual trace, and the call nos you're referring to.</div><div><br></div><div>If you don't want to post it publicly, just upload to dropmail/gdrive/etc and email the url privately.   But it's inefficient to be talking in general terms, with me trying to guess what could or not be, when we could be talking of a concrete case.</div><div><br></div><div>Jose</div><div><br></div></div></div></div>