Skip to content

Conversation

@Hperigo
Copy link
Contributor

@Hperigo Hperigo commented Aug 15, 2018

Currently theres no way to retrieve all the items in the timeline, It would allow for some nice debug visualizations, like so

gist example:
https://gist.github.com/Hperigo/c635975c3a4fd7fbc62c782c99341f59

@andrewfb
Copy link
Collaborator

Would this be better if it returned a const std::multimap<void*,TimelineItemRef>& instead?

@Hperigo
Copy link
Contributor Author

Hperigo commented Sep 16, 2018

cool, thanks for the suggestion.

I've fixed that and also made a sample app that shows how to inspect the items in the timeline

here's a screen recording of the sample app:
link

@andrewfb
Copy link
Collaborator

Looks good, though I'd propose we skip adding the sample to the official distribution (though it looks cool). I can cherry-pick the changes or if you'd rather not do a different PR.

@Hperigo
Copy link
Contributor Author

Hperigo commented Sep 17, 2018

awesome! can you do the cherry pick?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants