ValveSoftware / vogl

OpenGL capture / playback debugger.
MIT License
1.42k stars 126 forks source link

UI: Add helper function to apiCallTreeItem class #189

Closed lawlove closed 9 years ago

lawlove commented 9 years ago

A TODO consideration I had for adding a helper function to retrieve the entrypoint id of an apicall from its apicalltree object instead of drilling down thru multiple access get-functions

In particular, e.g.,

pChildCallTreeItem->apiCallItem()->getTracePacket()->get_entrypoint_id()))

bypasses 3 access get-functions and becomes

pChildCallTreeItem->entrypoint_id())

(Note: this is on top of "UI: Color code timeline for groups", the above example in particular)