Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 43654: /trunk/ui/gtk/ /trunk/ui/gtk/: rlc_lte_graph.c

Date: Wed, 11 Jul 2012 02:43:00 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43654

User: martinm
Date: 2012/07/10 07:43 PM

Log:
 Speed up line drawing by no longer creating and destroying a cairo_t
 object for each line - rather create one and use it for the entire list,
 then destroy it.
 
 Simplify the allocation of segments, by no longer messing around with a
 static that may or may not be used.  Also, there was a good chance the
 last one would be leaked (if it was not part of the stream we are
 interested in).
 
 Note that both of these improvements would also apply to tcp_graph.c -
 will wait a couple of days to be sure the changes are good.

Directory: /trunk/ui/gtk/
  Changes    Path               Action
  +43 -27    rlc_lte_graph.c    Modified