qapitrace feedback on additional Call groups

Lawrence Love lawlove at gmail.com
Thu Jan 8 19:49:20 PST 2015


Hi Jose,

Yes it could be implemented as an option. I did in fact do that for Vogl if
you want see an initial implementation and/or if it might be useful or
worthwhile. Although the definition for State/Render groups​ proposed in
apitrace
<https://github.com/lawlove/apitrace/commit/ad84ca057aa3ce007513560a78024bb6202b8375>
was
changed in Vogl <https://github.com/ValveSoftware/vogl/pull/172>. Either
definition could be implemented.

​The option settings there allow different views of the apicall tree
including nested groups, debug marker groups (glPush/PopDebugGroup calls),
state/render groups, combinations, or none (flat view).

​>
​
It might actually hinder comprehension as everything will look the same
when collapsed.​

​Yes, that could be. In Vogl's case the calls/groups are tied to a
color-coded timeline​ so one can visualize where time is being spent.
Additionally, clicking on the apicall tree will mark where in the timeline
it's occurring. That may give it more usefulness.
​
(Vogl uses Qt5 but unfortunately I had problems adding Qt5 to my system and
ended up uninstalling Qt4 although they should work together fine. At the
time I just didn't want to spend any more time on it)

​Thanks for the feedback.
Larry​
​
On Fri, Dec 12, 2014 at 2:13 PM, José Fonseca <jose.r.fonseca at gmail.com>
wrote:

> Lawrence,
>
> I see some value in this when analyzing traces from third-parties (eg,
> when qapitrace being used by OpenGL implementator to debug), but this might
> interfer with the application's glPush/PopDebugGroup calls (ie, qapitrace
> being used by OpenGL application developer).
>
> ​​
> It might acutually hinder comprehension as everything will look the same
> when collapsed.
>
> Could this implemented as an option?
>
> Jose
>
>
> On Fri, Mar 28, 2014 at 1:47 AM, Lawrence Love <lawlove at gmail.com> wrote:
>
>> I'm not sure of the procedure - if a pull request is in order for
>> feedback - but I have a commit I'd like to get feedback on for adding an
>> extra level of branching for grouping calls into Render blocks and State
>> changes blocks in addition to the existing glPush/PopDebugGroup groups.
>> I've put the details in the commit message
>> <https://github.com/lawlove/apitrace/commit/ad84ca057aa3ce007513560a78024bb6202b8375> and
>> here is the repository:
>>
>> https://github.com/lawlove/apitrace/tree/gui-add-render-and-state-groups
>>
>> Also attached is a screen shot.
>>
>> Thanks,
>> Larry
>>
>>
>>
>> _______________________________________________
>> apitrace mailing list
>> apitrace at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/apitrace
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20150108/44ab5ec4/attachment.html>


More information about the apitrace mailing list